App Transport Security does not work any more with iOS 11 Xcode 9

后端 未结 2 1476
挽巷
挽巷 2020-12-07 04:03

I\'ve been working on an app...since the iOS 11 update disabling ATS does not work anymore I\'ve added the below in the info.plist

NSAppTransportS         


        
2条回答
  •  时光取名叫无心
    2020-12-07 04:38

    I had also faced same issue where I was getting following errors -

    Task .<1> finished with error - code: -999
    finished with error - code: -1001
    Task <2C0D248B-1FBE-4DA0-B50A-0421E2509F42>.<2> load failed with error Error Domain=NSURLErrorDomain Code=-1001 "The request timed out.
    

    Earlier I was using Automatically manage signing option under the General tab. When I have created new provisional profiles, I was not having this issue anymore.

    Solution - Don't use Automatically manage signing option and create and add your Provisional Profiles.

提交回复
热议问题