Search code examples
iosiphonexcodesecuritytransport

Bypassing App tTransport Security


I know i'm supposed to add:

 <key>NSAppTransportSecurity</key>
<dict>
<!--Include to allow all connections (DANGER)-->
<key>NSAllowsArbitraryLoads</key>
   <true/>
</dict>

to my PLIST, but where exactly am I supposed to paste that into?


Solution

  • You need to create key at top level like shown belowenter image description here

    when you will select a row in info.plist file you will see + sign appears you can click on that and it will add a new entry next to it.

    enter image description here

    If you want to add child then expand it from left side (so that you can see the arrow downwards and then click +