diff --git a/lime/tools/platforms/IOSPlatform.hx b/lime/tools/platforms/IOSPlatform.hx
index 731349890..cf3535554 100644
--- a/lime/tools/platforms/IOSPlatform.hx
+++ b/lime/tools/platforms/IOSPlatform.hx
@@ -276,10 +276,7 @@ class IOSPlatform extends PlatformTarget {
}
context.IOS_LINKER_FLAGS = ["-stdlib=libc++"].concat (project.config.getArrayString ("ios.linker-flags"));
-
- if (project.config.exists("ios.non_encryption")) {
- context.NON_ENCRYPTION = project.config.getBool ("ios.non_encryption", false);
- }
+ context.IOS_NON_EXEMPT_ENCRYPTION = project.config.getBool ("ios.non-exempt-encryption", true);
switch (project.window.orientation) {
diff --git a/lime/tools/platforms/TVOSPlatform.hx b/lime/tools/platforms/TVOSPlatform.hx
index 8fb729840..80de3e030 100644
--- a/lime/tools/platforms/TVOSPlatform.hx
+++ b/lime/tools/platforms/TVOSPlatform.hx
@@ -231,10 +231,7 @@ class TVOSPlatform extends PlatformTarget {
}
context.IOS_LINKER_FLAGS = ["-stdlib=libc++"].concat (project.config.getArrayString ("tvos.linker-flags"));
-
- if (project.config.exists("tvos.non_encryption")) {
- context.NON_ENCRYPTION = project.config.getBool ("tvos.non_encryption", false);
- }
+ context.IOS_NON_EXEMPT_ENCRYPTION = project.config.getBool ("tvos.non-exempt-encryption", true);
switch (project.window.orientation) {
diff --git a/templates/iphone/PROJ/PROJ-Info.plist b/templates/iphone/PROJ/PROJ-Info.plist
index e9eca1294..4dfabd8c4 100644
--- a/templates/iphone/PROJ/PROJ-Info.plist
+++ b/templates/iphone/PROJ/PROJ-Info.plist
@@ -53,6 +53,6 @@
::end::::else::NSAllowsArbitraryLoads
::end::
- ::if (NON_ENCRYPTION != null)::ITSAppUsesNonExemptEncryption<::NON_ENCRYPTION:: />::end::
+ ::if (IOS_NON_EXEMPT_ENCRYPTION != null)::ITSAppUsesNonExemptEncryption<::IOS_NON_EXEMPT_ENCRYPTION:: />::end::
\ No newline at end of file
diff --git a/templates/tvos/PROJ/PROJ-Info.plist b/templates/tvos/PROJ/PROJ-Info.plist
index ba5ce47d0..1e8ccd679 100644
--- a/templates/tvos/PROJ/PROJ-Info.plist
+++ b/templates/tvos/PROJ/PROJ-Info.plist
@@ -42,6 +42,6 @@
NSAllowsArbitraryLoads
- ::if (NON_ENCRYPTION != null)::ITSAppUsesNonExemptEncryption<::NON_ENCRYPTION:: />::end::
+ ::if (IOS_NON_EXEMPT_ENCRYPTION != null)::ITSAppUsesNonExemptEncryption<::IOS_NON_EXEMPT_ENCRYPTION:: />::end::