Skip to content

Commit

Permalink
Merge pull request #202 from RxSwiftCommunity/chore/fix-release
Browse files Browse the repository at this point in the history
chore: fix release missing xcodegen command
  • Loading branch information
lihao6485 authored Jun 7, 2021
2 parents 65dadb3 + 8d05ab7 commit 9535b58
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 9535b58

Please sign in to comment.