App Transport Security turn off on device

Hi! I had some problems with App Transport Security running on my app, so I had to turn it off. In simulator it helped me, but when I test on device the problem stays althought nothing is shown in debuger console. What can be a problem?

Accepted Reply

The techniques described in App Transport Security Technote work the same way on both the simulator and the device. My best guess is that you’re running a stale build on the device. Try deleting the app from the device, doing a clean build, and see what you get.

If that doesn’t help, try creating a small test app to see if the problem occurs there as well.

Share and Enjoy

Quinn "The Eskimo!"
Apple Developer Relations, Developer Technical Support, Core OS/Hardware

let myEmail = "eskimo" + "1" + "@apple.com"

Replies

The techniques described in App Transport Security Technote work the same way on both the simulator and the device. My best guess is that you’re running a stale build on the device. Try deleting the app from the device, doing a clean build, and see what you get.

If that doesn’t help, try creating a small test app to see if the problem occurs there as well.

Share and Enjoy

Quinn "The Eskimo!"
Apple Developer Relations, Developer Technical Support, Core OS/Hardware

let myEmail = "eskimo" + "1" + "@apple.com"