ITSAppUsesNonExemptEncryption Cordova Build
I had to modify Andrej's answer a bit, this worked for me:
<platform name="ios"> ... <config-file target="*-Info.plist" parent="ITSAppUsesNonExemptEncryption" mode="add"> <false/> </config-file> ... </platform>
I have create a simple empty plugin to set this ITSAppUsesNonExemptEncryption
to false.
Simply add the following to your config.xml
<plugin name="cordova-ios-plugin-no-export-compliance" spec="0.0.5" />
or run
cordova plugin add cordova-ios-plugin-no-export-compliance
If you need to set it to true you can fork the plugin and change the plugin.xml
file accordingly then add the plugin from the forked repository.
See the plugin on NPM for more info.
As of 2/7/2019, the correct way to do this is to add this snippet to your <platform name="ios">
section:
<edit-config file="*-Info.plist" mode="add" target="ITSAppUsesNonExemptEncryption"> <false/></edit-config>