Does libCurl include iPhone app store app? Has anyone done this?

I would like to use libCurl in an application to communicate with web services, and, unfortunately, it is not included in the iPhone SDK. Now I have figured out how to enable Curl as a static library in my application, however I am wondering if this application can be rejected with Apple. Has anyone included Curl in the app and approved it by Apple?

Thankyou.

EDIT: I think I should have been more clear, I was wondering if anyone really did this because I'm not sure if the Curl SDK contains undocumented functionality.

+4
source share
6 answers

I am using NSURLConnection and related classes to communicate with web services in my application. I read (but do not have first-hand experience) that code that uses the standard socket interfaces can have problems with leaving the sockets when the phone has slept, and not return after waking up. It may be easier to skip using Curl in general.

+1
source

From the twist license ( http://curl.haxx.se/docs/copyright.html ) it will be seen that using it in the iPhone application is quite acceptable, because in principle there are no restrictions specified in the license.

There is some debate about whether Apple’s distribution restrictions prohibit the use of GPL software in your application, but Curl is not licensed by the GPL.

I am not a lawyer, you should probably check it to be sure. Isn't that software development!

+6
source

As a libcurl MIT license I do not foresee any problems with the license when it is statically linked.

Edit: If your application is licensed under the GPL, some libcurl configurations cannot be linked and distributed legally .

+1
source

I think you can. If you need to cross compile libcurl, check out my tutorial: http://sites.google.com/site/olipion/cross-compilation/libcurl

I will show how to cross compile it with libssh2 support.

Regards, Olipion.

+1
source

I don’t think Apple cares about which libraries you use in your application, if they are statically linked. I mean, why would they be interested if you violate the license agreement (which I believe you are not) on a different IP address?

0
source

I think this is more a question of what you do with it, since curl can be used to do a lot of things that can “push the line” towards legality (for example, bots), some things made with curl are the best ones that do not fit into applications that are distributed / sold to third parties, but if you just do what is explicitly allowed, for example, connecting to the API, I don’t understand why this will be a problem, and I don’t think Apple will participate in any case other than rejecting your application, eu whether they will think that you have crossed the lines, but they will not be directly affected by this, so they are unlikely to do anything more.

0
source

All Articles