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: Flutter Build iOS (IPA, unsigned) | |
| on: | |
| push: | |
| branches: [ production ] | |
| pull_request: | |
| paths: | |
| - '**/*.dart' | |
| - 'ios/**' | |
| - 'pubspec.yaml' | |
| workflow_dispatch: | |
| jobs: | |
| build-ios: | |
| runs-on: macos-14 | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Setup Flutter | |
| uses: subosito/flutter-action@v2 | |
| with: | |
| channel: stable | |
| flutter-version: 3.32.0 | |
| - name: Enable iOS | |
| run: flutter config --enable-ios | |
| - name: Install dependencies | |
| run: flutter pub get | |
| - name: Install CocoaPods (if needed) & update specs | |
| run: | | |
| sudo gem install cocoapods -N || true | |
| cd ios | |
| pod install --repo-update | |
| - name: Generate code | |
| run: dart run build_runner build --delete-conflicting-outputs | |
| - name: Build IPA (no codesign) | |
| run: flutter build ipa --release --no-codesign | |
| - name: Upload artifact | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: ios-ipa | |
| path: build/ios/ipa/*.ipa |