Yosemite and blocked network access (NSAppTransportSecurity)


#1

So it seems that Yosemite by default changes all network access done by http to https, some of our old servers dont have the newest TLS thing they are asking, so even if they have working SSL certificates connections are refused.

The Solution is to add to the info.plist the following declaration

​
<key>NSAppTransportSecurity</key>
    <dict>
        <key>NSAllowsArbitraryLoads</key>
        <true/>
    </dict>

This gets overwritten every time introjucer does its thing, will be cool if you guys could add it or provide a similar workaround.

Thanks in advance


#2

The introjucer does have a plist section where you can add your own XML for it to merge with its own settings, but yes, we may need to add a special case for this one.


#3

It's required for iOS as well. It should be optional, as your app will fail review if you request the permission for no reason.