You need to sign in to do that
Don't have an account?
Jun Ke
Trailhead Native iOS Module, Salesforce Error
I followed the tutorial in Getting Started with Native iOS Development.
When I run the app, the simulator popped up:
Salesforce Error
Cannot connect to salesforce: An ssl error has occured and a secure connection to the server cannot be made.
When I run the app, the simulator popped up:
Salesforce Error
Cannot connect to salesforce: An ssl error has occured and a secure connection to the server cannot be made.
Found some references suggesting the issue could be work around by setting NSAllowsArbitraryLoads to True in the app .plist file - which seems to be the default already. Still doesn't work for me.
I have no proxy in my environment.
<key>NSAppTransportSecurity</key>
<dict>
<key>NSExceptionDomains</key>
<dict>
<key>salesforce.com</key>
<dict>
<key>NSIncludesSubdomains</key>
<true/>
<key>NSExceptionRequiresForwardSecrecy</key>
<false/>
</dict>
<key>force.com</key>
<dict>
<key>NSIncludesSubdomains</key>
<true/>
<key>NSExceptionRequiresForwardSecrecy</key>
<false/>
</dict>