fix #3
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 IPA | |
| on: [push] | |
| jobs: | |
| build: | |
| runs-on: macos-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Install XcodeGen | |
| run: brew install xcodegen | |
| - name: Generate and Build | |
| run: | | |
| xcodegen generate | |
| xcodebuild archive \ | |
| -project SimpleCalc.xcodeproj \ | |
| -scheme SimpleCalc \ | |
| -archivePath build/SimpleCalc.xcarchive \ | |
| -sdk iphoneos \ | |
| CODE_SIGNING_ALLOWED=NO CODE_SIGNING_REQUIRED=NO | |
| mkdir -p Payload | |
| cp -r build/SimpleCalc.xcarchive/Products/Applications/SimpleCalc.app Payload/ | |
| zip -r SimpleCalc.ipa Payload | |
| - name: Upload Artifact | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: SimpleCalc-IPA | |
| path: SimpleCalc.ipa |