Created
December 25, 2021 15:49
-
-
Save treastrain/07e7f4ab5c32a531e2dc0691c2485fd6 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
trash build | |
# https://help.apple.com/xcode/mac/current/#/dev544efab96 | |
xcodebuild \ | |
'ENABLE_BITCODE=YES' \ | |
'BITCODE_GENERATION_MODE=bitcode' \ | |
'OTHER_CFLAGS=-fembed-bitcode' \ | |
'BUILD_LIBRARY_FOR_DISTRIBUTION=YES' \ | |
'SKIP_INSTALL=NO' \ | |
archive \ | |
-project SwiftPackageDependencies.xcodeproj \ | |
-scheme 'SwiftPackageDependencies' \ | |
-destination 'generic/platform=iOS Simulator' \ | |
-configuration 'Release' \ | |
-archivePath 'build/SwiftPackageDependencies-iphonesimulator.xcarchive' | |
xcodebuild \ | |
'ENABLE_BITCODE=YES' \ | |
'BITCODE_GENERATION_MODE=bitcode' \ | |
'OTHER_CFLAGS=-fembed-bitcode' \ | |
'BUILD_LIBRARY_FOR_DISTRIBUTION=YES' \ | |
'SKIP_INSTALL=NO' \ | |
archive \ | |
-project SwiftPackageDependencies.xcodeproj \ | |
-scheme 'SwiftPackageDependencies' \ | |
-destination 'generic/platform=iOS' \ | |
-configuration 'Release' \ | |
-archivePath 'build/SwiftPackageDependencies-iphoneos.xcarchive' | |
xcodebuild \ | |
-create-xcframework \ | |
-archive 'build/SwiftPackageDependencies-iphoneos.xcarchive' -framework 'SwiftPackageDependencies.framework' \ | |
-archive 'build/SwiftPackageDependencies-iphonesimulator.xcarchive' -framework 'SwiftPackageDependencies.framework' \ | |
-output 'build/SwiftPackageDependencies.xcframework' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment