Copy link to clipboard
Copied
So I've done some reading and it seems that I need to add this:
<key>NSAppTransportSecurity</key>
<dict>
<key>NSAllowsArbitraryLoads</key><true/>
</dict>
to my InfoAdditions. The only problem is I'm getting, "An attribute or elements contains an invalid value in the application descriptor file."
This is what I have:
<iPhone>
<InfoAdditions><![CDATA[
<key>NSAppTransportSecurity</key>
<dict>
<key>NSAllowsArbitraryLoads</key>
<true/>
</dict>
<key>UIDeviceFamily</key>
<Array>
<string>1</string>
</Array>
]]>
</InfoAdditions>
<requestedDisplayResolution>high</requestedDisplayResolution>
</iPhone>
Any ideas what might be wrong here? I'm using Air 22. I don't know if it's bugged or no longer supported.
Copy link to clipboard
Copied
Hi Korni,
The error is not coming because of NSAppTransportSecurity tag. The error is occurring because of <Array> tag. Please use <array> instead of <Array>. Refer below lines of code :
<key>NSAppTransportSecurity</key>
<dict>
<key>NSAllowsArbitraryLoads</key><true/>
</dict>
<key>UIDeviceFamily</key>
<array>
<string>1</string>
<string>2</string>
</array>
Thanks,
Adobe AIR Team