fix: enhance view #82
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
| name: Build iOS Artifact | |
| on: | |
| push: | |
| branches: [ "main" ] | |
| jobs: | |
| build: | |
| runs-on: macos-latest | |
| steps: | |
| - name: Checkout Repository | |
| uses: actions/checkout@v4 | |
| - name: Set up Xcode | |
| run: sudo xcode-select --switch /Applications/Xcode.app/Contents/Developer | |
| - name: Build Xcode Archive (Without Signing) | |
| run: | | |
| xcodebuild -workspace Outspire.swiftpm \ | |
| -scheme "Outspire" \ | |
| PRODUCT_BUNDLE_IDENTIFIER="dev.wrye.Outspire" \ | |
| -sdk iphoneos \ | |
| -destination 'platform=iOS' \ | |
| -configuration Release \ | |
| archive \ | |
| -archivePath ./build/Outspire.xcarchive \ | |
| CODE_SIGN_IDENTITY="" \ | |
| CODE_SIGNING_REQUIRED=NO \ | |
| CODE_SIGNING_ALLOWED=NO | |
| - name: Pack iOS App Package | |
| run: | | |
| mkdir Payload | |
| cp -R ./build/Outspire.xcarchive/Products/Applications/*.app Payload/ | |
| zip -0 -y -r Outspire.ipa Payload | |
| # Reference: https://en.wikipedia.org/wiki/.ipa#Unsigned_.ipa_executables | |
| - name: Upload Artifact | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: Outspire-unsigned.ipa | |
| path: Outspire.ipa |