From 8d05ab70461604d4eb85d8a4d3c798167be3164c Mon Sep 17 00:00:00 2001 From: Li Hao Date: Mon, 7 Jun 2021 16:53:48 +0800 Subject: [PATCH] chore: fix release missing xcodegen command --- scripts/xcframeworks.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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