1

I've reopened an old app I've made two years ago (on XCode 5.X or 6.X, I think, I don't remember), since the end customer is asking me to change some logos in the app. After editing the app, I did the rebuild>run sequence, and then I get the well-known "App Transport Security has blocked a cleartext HTTP blah blah..." error. As explained on this question, I need to add an override on the myAppName-info.plist file, via property editor (or other). Since I already did this override on some other apps, I expected to get the app running without the ATS error, but I kept on getting it. So, after several and various attempts, I've tried to completely remove the "myAppName-info.plist" file from the project, expecting to see some big red exclamation point on the build phase. Nothing. All runs smoothly. Also (before deleting the .plist file), I tried to add some typo error on these fields (eg. writing "App Transport Security Settini") but again I didn't get errors.

So the question is: why this behavior ? What am I doing wrong? Has this thing to do with the fact that now the new apps only have the file "info.plist" and no longer the file "myAppName-info.plist"?

Community
  • 1
  • 1
RikiRiocma
  • 746
  • 12
  • 28
  • 1
    You have to add "myAppName-info.plist" in Build Settings> Prefix Header to inform compiler that you have added an plist file named this and that can be found on that particular path. – Milan Manwar Nov 16 '15 at 12:35
  • The right sequence is "Build Settings > Packaging > Info.plist file" (since Prefix Header is in Apple LLVM settings). Anyway, thank you a lot for aiming me in the right direction, my path was wrong. – RikiRiocma Nov 18 '15 at 07:42

0 Answers0