diff --git a/.gitea/workflows/test-flight-cd.yaml b/.gitea/workflows/test-flight-cd.yaml index 9557d2b5..67822cf3 100644 --- a/.gitea/workflows/test-flight-cd.yaml +++ b/.gitea/workflows/test-flight-cd.yaml @@ -35,6 +35,14 @@ jobs: api-key-id: ${{ vars.APPSTORE_KEY_ID }} api-private-key: ${{ vars.APPSTORE_PRIVATE_KEY }} + - name: Sign Flutter framework manually + run: | + find build/ios/archive/Runner.xcarchive/Products/Applications/Runner.app/Frameworks \ + -type d -name "*.framework" \ + -exec codesign --force --sign "Apple Distribution: ITVIO, OOO (VL68C36HYS)" \ + --timestamp=none \ + --preserve-metadata=identifier,entitlements {} \; + - name: Build with Flutter run: | flutter clean @@ -43,14 +51,6 @@ jobs: flutter pub run build_runner build --delete-conflicting-outputs flutter build ipa --export-options-plist=Support/ExportOptions.plist --release - - name: Sign Flutter framework manually (if needed) - run: | - find build/ios/archive/Runner.xcarchive/Products/Applications/Runner.app/Frameworks \ - -type d -name "*.framework" \ - -exec codesign --force --sign "Apple Distribution: ITVIO, OOO (VL68C36HYS)" \ - --timestamp=none \ - --preserve-metadata=identifier,entitlements {} \; - - name: Upload to TestFlight uses: mso7nueh/upload-testflight-build@master with: