In your info.plist file do you have an App Transport Security Settings entry with an Allow Arbitrary Loads key set to YES within it?
I had encountered an error like this and had to update my info.plist file to get the app to run successfully.
Topic:
App & System Services
SubTopic:
General
Tags: