Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is including libCurl in an iPhone app store app allowed? Anyone done this?

I would like to use libCurl in an app for communicating with web services, and unfortunately it is not included int he iPhone SDK. Now I've figured out how to include Curl as a static library in my app, however, I'm wondering if this will get my app rejected with Apple. Has anyone included Curl in an app and had it approved by Apple?

Thankyou.

EDIT: Guess I should have been more clear, I was wondering if anyone had actually done this, because I am unsure whether the Curl SDK contains undocumented functionality.

like image 737
Maniacdev Avatar asked Jan 24 '23 15:01

Maniacdev


2 Answers

It would appear from the curl license (http://curl.haxx.se/docs/copyright.html) that using it within an iPhone application is completely permissible because there are basically no restrictions specified in the license.

There is some debate about whether Apple's distribution restrictions preclude use of GPL software in your app, but curl is not GPL licensed.

I am not a lawyer, you should probably checked with one just to be sure. Isn't software development fun!

like image 160
Jack Cox Avatar answered Jan 31 '23 10:01

Jack Cox


I use the NSURLConnection and the related classes to talk to web services in my application. I have read (but have no first hand experience) that code that uses standard sockets interfaces can have problems with the sockets going away when the phone goes to sleep, and not coming back on wakeup. It might be easier to skip using Curl altogether.

like image 41
Mark Bessey Avatar answered Jan 31 '23 08:01

Mark Bessey