App Transport Security Xcode 7 beta 6

前端 未结 5 572
臣服心动
臣服心动 2020-12-07 22:41

I\'m currently working on Xcode 7 beta 6. I\'m trying to send a \"DELETE\" request to http://mySubdomain.herokuapp.com

The error I receive is:

5条回答
  •  抹茶落季
    2020-12-07 23:20

    I, too, had trouble overriding App Transport Security after upgrading to xCode 7.0, and tried the same kinds of solutions you have to no avail. After walking away from it for awhile, I noticed that I had made the changes to the Info.plist under Supporting Files of "MyAppName Tests" rather than the one in the project itself. The Supporting Files folder in my project wasn't expanded, so I hadn't even noticed the Info.plist in it.

    Typical amateur mistake, I'm sure, but they're only a couple of lines apart in the Project Navigator and it had me frustrated until I noticed the distinction. Thought I'd mention it in case you're having the same problem.

提交回复
热议问题