Skip to content

Commit

Permalink
chore: fix release missing xcodegen command
Browse files Browse the repository at this point in the history
  • Loading branch information
lihao6485 committed Jun 7, 2021
1 parent 65dadb3 commit 8d05ab7
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion scripts/xcframeworks.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
rm -rf RxAlamofire-SPM.xcodeproj

0 comments on commit 8d05ab7

Please sign in to comment.