sean7512 / RestEssentials

Lightweight REST and JSON library for Swift.
MIT License
37 stars 12 forks source link

Help configuring App Transport Security #23

Closed ricardo-vallejo closed 5 years ago

ricardo-vallejo commented 5 years ago

Hello

I'm new with Swift and I don't know how to configure the App Transport Security. I'm using iOS 9 and when I run the test I don't get any response from the API.

Thanks

sean7512 commented 5 years ago

Is your endpoint not using SSL or does it not conform to the requirements for App Transport Security?

You'll need to edit the app's Info.plist to allow non-ssl connectionist o your host. See https://developer.apple.com/documentation/bundleresources/information_property_list/nsapptransportsecurity?language=objc