Fuse Community

Support ITSAppUsesNonExemptEncryption PList key for iOS

Hi,

ITunes Connect requires this boolean value to be set whenever a new build is to be activated.
Right now it cannot be added to .unoproj, so it has to be manually added to the Info tab in XCode or we need to mess with the plist file generation.
It would be nice to have support for the boolean key ITSAppUsesNonExemptEncryption in .unoproj. Even better if arbitrary keys could be added to that config object.

Thanks!

This particular challenge can be solved by putting a few lines in a .uno file somewhere in your project. Pretty much any uno file will do, and you put them after all the using * statements, before the rest of the code:

[Require("Xcode.Plist.Element", "<key>ITSAppUsesNonExemptEncryption</key><true/>")]
[Require("Xcode.Plist.Element", "<key>ITSEncryptionExportComplianceCode</key><string>yourkeygoeshere</string>")]

Same applies if you need other things added to PList.

Sexy enough! Thank you.