Is there a way for me to enable Allow Arbitrary Loads with Xcode 8? There no longer seems to be a info.plist option that makes this possible. Plus with the removal of the NSData types its all a little confusing.
Asked
Active
Viewed 3,225 times
1
-
How is the Info.plist related to the programming language or the (NS)Data types? – Martin R Nov 25 '16 at 22:24
-
I am trying to enable http requests – bmacrevolution Nov 25 '16 at 23:04
-
In Swift 2 you could just change the plist to allow for arbitrary loads – bmacrevolution Nov 25 '16 at 23:06
-
You have to edit the Info.plist, see e.g. http://stackoverflow.com/questions/31216758/how-can-i-add-nsapptransportsecurity-to-my-info-plist-file. That is completely unrelated to used programming language. – Martin R Nov 25 '16 at 23:16
-
That trick doesn't work in xcode 8 the property you named is NSAppTransportSecurity and NS datatypes are no longer present in Swift 3 which is used with xcode 8 – bmacrevolution Nov 25 '16 at 23:23
-
There are two different views of the info.plist. The view you are seeing, which is essentially translating the "NS" prefixed keys to more user friendly ones, and the raw data one, which will show you the "NS" keys. See the note labeled "Important" in this section of Apple's documentation: https://developer.apple.com/library/content/documentation/General/Reference/InfoPlistKeyReference/Articles/AboutInformationPropertyListFiles.html#//apple_ref/doc/uid/TP40009254-SW3 – wottle Nov 27 '16 at 23:18
1 Answers
5
Don't worry buddy.
When you pass the mouse in the plist you will see a plus symbol
-
How do you find this in Xcode 8? It isnt in the same place as Xcode 7 – bmacrevolution Nov 25 '16 at 23:34
-