Open Source & Free  

iOS Http URL's

iOS Http URL's

Header Image

We’ll be migrating to the new iOS build servers
this Sunday & this does entail one major thing you need to be aware of. With the new version of xcode http
URL’s are blocked by Apple. We
blogged about this a while back but this bares repeating as it’s something a lot of you will start running into.

To get an overview of the issue check out
this article or
the actual document from Apple.
In a nutshell http URL’s are no longer supported by Apple to facilitate proper security.

You can disable this block by using the build hint
ios.plistInject=<key>NSAppTransportSecurity</key><dict><key>NSAllowsArbitraryLoads</key><true/></dict>
but if you don’t have a good reason to do this Apple will reject your app and won’t let you ship your app
thru the appstore.

Be sure to update your apps!

Starting with this update our simulator will print out a warning every time you try to connect to an HTTP URL
to help you detect the cases where you do so. Hopefully this will make the migration to the new servers smoother.

3 Comments

Leave a Reply