Skip to content

Bump xcode version

Bump xcode version #13

Workflow file for this run

name: Release project
on:
push:
branches:
- release
jobs:
buildForAllSupportedPlatforms:
name: Build for ${{ matrix.targetPlatform }}
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
targetPlatform:
- iOS # Build an iOS player.
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
lfs: true
- uses: actions/cache@v3
with:
path: Library
key: Library-${{ matrix.targetPlatform }}
restore-keys: Library-
- uses: game-ci/[email protected]
env:
UNITY_SERIAL: ${{ secrets.UNITY_SERIAL }}
UNITY_EMAIL: ${{ secrets.UNITY_EMAIL }}
UNITY_PASSWORD: ${{ secrets.UNITY_PASSWORD }}
with:
targetPlatform: ${{ matrix.targetPlatform }}
- uses: actions/upload-artifact@v3
with:
name: Build-${{ matrix.targetPlatform }}
path: build/${{ matrix.targetPlatform }}
generateIPA:
needs: buildForAllSupportedPlatforms
name: Generate IPA
runs-on: macos-13
steps:
- uses: actions/download-artifact@v2
with:
name: Build-iOS
path: build/iOS
- name: Generate IPA File
run: |
cd build/iOS/iOS
mkdir archive
xcversion 14.3.1
xcodebuild -scheme "Unity-iPhone" -target "Unity-iPhone" -sdk iphoneos -archivePath archive/iBMS.xcarchive -configuration Release archive CODE_SIGN_IDENTITY="" CODE_SIGN_ENTITLEMENTS="" CODE_SIGNING_REQUIRED=NO CODE_SIGNING_ALLOWED=NO
cp -r archive/iBMS.xcarchive/Products/Applications/iBMS.app/ ./Payload/iBMS.app
rm -f ./Payload/.DS_Store
zip -r iBMS.ipa ./Payload
- uses: actions/upload-artifact@v3
with:
name: IPA
path: build/iOS/iOS/iBMS.ipa