diff --git a/scripts/xcframeworks.sh b/scripts/xcframeworks.sh index 22a225f..a1fc116 100644 --- a/scripts/xcframeworks.sh +++ b/scripts/xcframeworks.sh @@ -6,6 +6,8 @@ rm -rf xcarchives/* rm -rf RxAlamofire.xcframework.zip rm -rf RxAlamofire.xcframework +brew bundle + xcodegen --spec project-spm.yml xcodebuild archive -quiet -project RxAlamofire-SPM.xcodeproj -configuration Release -scheme "RxAlamofire iOS" -destination "generic/platform=iOS" -archivePath "xcarchives/RxAlamofire-iOS" SKIP_INSTALL=NO SKIP_INSTALL=NO BUILD_LIBRARY_FOR_DISTRIBUTION=YES OTHER_CFLAGS="-fembed-bitcode" BITCODE_GENERATION_MODE="bitcode" ENABLE_BITCODE=YES | xcpretty --color --simple @@ -36,4 +38,4 @@ xcodebuild -create-xcframework \ zip -r RxAlamofire.xcframework.zip RxAlamofire.xcframework rm -rf xcarchives/* rm -rf RxAlamofire.xcframework -rm -rf RxAlamofire-SPM.xcodeproj \ No newline at end of file +rm -rf RxAlamofire-SPM.xcodeproj