chore: Upgrade CocoaPods to 1.16.2 and Ruby to 3.4.9 #5
Workflow file for this run
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 (Release) | |
| on: | |
| release: | |
| types: [published] | |
| pull_request: | |
| paths: | |
| - '.github/workflows/build-ios-release.yml' | |
| jobs: | |
| build_release: | |
| name: Build iOS Example App (release, new architecture) | |
| runs-on: macos-26 | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - uses: oven-sh/setup-bun@v2 | |
| - name: Install npm dependencies (bun) | |
| run: bun install | |
| - name: Setup Ruby (bundle) | |
| uses: ruby/setup-ruby@v1 | |
| with: | |
| ruby-version: 3.4.9 | |
| bundler-cache: true | |
| working-directory: apps/simple-camera | |
| - name: Select Xcode 26.2 | |
| run: sudo xcode-select -s "/Applications/Xcode_26.2.app/Contents/Developer" | |
| - name: Install Pods | |
| working-directory: apps/simple-camera | |
| run: bun pods | |
| - name: Build App (Release, Simulator) | |
| working-directory: apps/simple-camera/ios | |
| run: | | |
| set -o pipefail | |
| xcodebuild \ | |
| CC=clang CPLUSPLUS=clang++ LD=clang LDPLUSPLUS=clang++ \ | |
| -derivedDataPath build -UseModernBuildSystem=YES \ | |
| -workspace SimpleCamera.xcworkspace \ | |
| -scheme SimpleCamera \ | |
| -sdk iphonesimulator \ | |
| -configuration Release \ | |
| -destination 'generic/platform=iOS Simulator' \ | |
| -showBuildTimingSummary \ | |
| clean \ | |
| build \ | |
| CODE_SIGNING_ALLOWED=NO | xcbeautify --renderer github-actions | |
| - name: Package .app for Simulator | |
| run: | | |
| cd apps/simple-camera/ios/build/Build/Products/Release-iphonesimulator | |
| zip -r ../../../../../../../SimpleCamera-Release-Simulator.zip SimpleCamera.app | |
| - name: Upload .app to Release | |
| uses: actions/upload-release-asset@v1 | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| with: | |
| upload_url: ${{ github.event.release.upload_url }} | |
| asset_path: SimpleCamera-Release-Simulator.zip | |
| asset_name: "SimpleCamera-Simulator-${{ github.event.release.tag_name }}.app.zip" | |
| asset_content_type: application/zip |