mirror of
https://github.com/opencv/opencv.git
synced 2025-06-07 17:44:04 +08:00
Merge pull request #10923 from Preventis:patch-ios
Fixed dynamic build script for iOS (#10923)
* Readded UIDeviceFamily (was removed in beec247
)
* Added correct bitcode flag to python build script for iOS
* Missed the bitcodedisabled check
* Corrected the syntax in my proposed changes
This commit is contained in:
parent
0792ef8789
commit
2f0060e399
@ -24,5 +24,10 @@
|
||||
</array>
|
||||
<key>MinimumOSVersion</key>
|
||||
<string>8.0</string>
|
||||
<key>UIDeviceFamily</key>
|
||||
<array>
|
||||
<integer>1</integer>
|
||||
<integer>2</integer>
|
||||
</array>
|
||||
</dict>
|
||||
</plist>
|
||||
</plist>
|
||||
|
@ -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())
|
||||
|
Loading…
Reference in New Issue
Block a user