From 2b34d4a16fc87edec2b98cff4e59b98ba3776043 Mon Sep 17 00:00:00 2001 From: nicolas Date: Tue, 15 Sep 2026 22:42:39 +0200 Subject: [PATCH] ci: add GitHub Actions iOS IPA build workflow on macos-14 --- .github/workflows/build-ios.yaml | 57 ++++++++++++++++++++++++++++++++ 1 file changed, 57 insertions(+) create mode 100644 .github/workflows/build-ios.yaml diff --git a/.github/workflows/build-ios.yaml b/.github/workflows/build-ios.yaml new file mode 100644 index 0000000..e66ad02 --- /dev/null +++ b/.github/workflows/build-ios.yaml @@ -0,0 +1,57 @@ +name: Build iOS IPA + +on: + push: + branches: + - main + - master + tags: + - 'v*' + - 'latest' + workflow_dispatch: + +jobs: + build-ios: + name: Build iOS IPA + runs-on: macos-14 + + steps: + - name: Checkout Repository + uses: actions/checkout@v4 + + - name: Set up Flutter + uses: subosito/flutter-action@v2 + with: + flutter-version: '3.19.3' + channel: 'stable' + cache: true + + - name: Inspect Environment + run: | + flutter --version + xcodebuild -version + pod --version + + - name: Fetch Dependencies + run: flutter pub get + + - name: Install CocoaPods Pods + run: | + cd ios + pod install --repo-update + cd .. + + - name: Build iOS (Unsigned IPA) + run: | + flutter build ios --release --no-codesign + mkdir -p build/ios/iphoneos/Payload + cp -r build/ios/iphoneos/Runner.app build/ios/iphoneos/Payload/ + cd build/ios/iphoneos + zip -r oggauer-gemeindetrommler.ipa Payload + + - name: Upload IPA Artifact + uses: actions/upload-artifact@v4 + with: + name: oggauer-gemeindetrommler-ios + path: build/ios/iphoneos/oggauer-gemeindetrommler.ipa + retention-days: 7