mirror of
https://github.com/flutter/flutter.git
synced 2025-06-03 00:51:18 +00:00
Add -destination generic/platform=iOS to "build ios-framework" xcodebuild (#50140)
This commit is contained in:
parent
103b12fc11
commit
4485a65e60
@ -460,6 +460,7 @@ end
|
||||
'iphoneos',
|
||||
'-configuration',
|
||||
xcodeBuildConfiguration,
|
||||
'-destination generic/platform=iOS',
|
||||
'SYMROOT=${iPhoneBuildOutput.path}',
|
||||
'BITCODE_GENERATION_MODE=$bitcodeGenerationMode',
|
||||
'ONLY_ACTIVE_ARCH=NO' // No device targeted, so build all valid architectures.
|
||||
@ -484,6 +485,7 @@ end
|
||||
'iphonesimulator',
|
||||
'-configuration',
|
||||
xcodeBuildConfiguration,
|
||||
'-destination generic/platform=iOS',
|
||||
'SYMROOT=${simulatorBuildOutput.path}',
|
||||
'ARCHS=x86_64',
|
||||
'ONLY_ACTIVE_ARCH=NO'
|
||||
|
Loading…
Reference in New Issue
Block a user