Build iOS App via XcodeGen #4
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 App via XcodeGen | |
| on: | |
| workflow_dispatch: | |
| jobs: | |
| build: | |
| runs-on: macos-15 | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Install XcodeGen | |
| run: brew install xcodegen | |
| - name: Generate Xcode Project | |
| run: xcodegen generate | |
| - name: Build Archive (.xcarchive) | |
| run: | | |
| xcodebuild -scheme MyTesla \ | |
| -configuration Release \ | |
| -archivePath MyTesla.xcarchive \ | |
| CODE_SIGN_IDENTITY="" \ | |
| CODE_SIGNING_ALLOWED="NO" \ | |
| archive | |
| - name: Export .ipa (Unsigned) | |
| run: | | |
| xcodebuild -exportArchive \ | |
| -archivePath MyTesla.xcarchive \ | |
| -exportPath . \ | |
| -exportOptionsPlist ExportOptions.plist \ | |
| CODE_SIGNING_ALLOWED="NO" | |
| - name: Upload IPA Artifact | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: MyTesla-unsigned | |
| path: MyTesla.ipa |