diff --git a/platforms/ios/Info.Dynamic.plist.in b/platforms/ios/Info.Dynamic.plist.in
index 4ff68cca04..00c9277659 100644
--- a/platforms/ios/Info.Dynamic.plist.in
+++ b/platforms/ios/Info.Dynamic.plist.in
@@ -24,5 +24,10 @@
MinimumOSVersion
8.0
+ UIDeviceFamily
+
+ 1
+ 2
+
-
\ No newline at end of file
+
diff --git a/platforms/ios/build_framework.py b/platforms/ios/build_framework.py
index 7428ddc179..32305f9a08 100644
--- a/platforms/ios/build_framework.py
+++ b/platforms/ios/build_framework.py
@@ -152,6 +152,9 @@ class Builder:
"ONLY_ACTIVE_ARCH=NO",
]
+ if not self.bitcodedisabled:
+ buildcmd.append("BITCODE_GENERATION_MODE=bitcode")
+
for arch in archs:
buildcmd.append("-arch")
buildcmd.append(arch.lower())