From 844944faf0930d6be24ada4ece36cf7d94502b94 Mon Sep 17 00:00:00 2001 From: Rahul Das Date: Mon, 22 Jun 2026 12:23:32 +0530 Subject: [PATCH 1/3] Update iOS build steps in GitHub Actions --- .github/actions/ios/action.yml | 19 ++++++++++++++----- 1 file changed, 14 insertions(+), 5 deletions(-) diff --git a/.github/actions/ios/action.yml b/.github/actions/ios/action.yml index 52deb0e14..9c7463120 100644 --- a/.github/actions/ios/action.yml +++ b/.github/actions/ios/action.yml @@ -16,7 +16,7 @@ runs: - name: Set up Flutter uses: subosito/flutter-action@v2 with: - cache: false # TODO set to after https://github.com/actions/runner/issues/449 is fixed + cache: false flutter-version-file: pubspec.yaml - name: Update Podfile @@ -26,20 +26,29 @@ runs: flutter pub get pod install --repo-update - - name: Build iOS IPA (No code signing for PRs) + - name: Build Unsigned iOS App (For PRs) if: ${{ github.event_name == 'pull_request' }} shell: bash env: VERSION_NAME: ${{ inputs.VERSION_NAME }} VERSION_CODE: ${{ inputs.VERSION_CODE }} run: | - flutter build ipa --no-codesign --build-name $VERSION_NAME --build-number $VERSION_CODE + # 1. Build the raw iOS binary (Note: using 'ios', not 'ipa') + flutter build ios --release --no-codesign --build-name "$VERSION_NAME" --build-number "$VERSION_CODE" - - name: Build iOS IPA (With Code Signing) + # 2. Package it into an unsigned .ipa manually + cd build/ios/iphoneos + mkdir Payload + cp -r Runner.app Payload/ + zip -qr pslab-unsigned.ipa Payload/ + mv pslab-unsigned.ipa ../../../ + + - name: Build Signed iOS IPA (For Production) if: ${{ github.event_name != 'pull_request' }} shell: bash env: VERSION_NAME: ${{ inputs.VERSION_NAME }} VERSION_CODE: ${{ inputs.VERSION_CODE }} run: | - flutter build ipa --build-name $VERSION_NAME --build-number $VERSION_CODE \ No newline at end of file + # This will only succeed if the FOSSASIA repository certificates are present + flutter build ipa --build-name "$VERSION_NAME" --build-number "$VERSION_CODE" From c461186f94328b6aa0083ee9144ef3fd1ec22deb Mon Sep 17 00:00:00 2001 From: Rahul Das Date: Mon, 22 Jun 2026 12:30:05 +0530 Subject: [PATCH 2/3] testing --- lib/providers/tsl2561_provider.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/providers/tsl2561_provider.dart b/lib/providers/tsl2561_provider.dart index ace6f559c..bf48bf756 100644 --- a/lib/providers/tsl2561_provider.dart +++ b/lib/providers/tsl2561_provider.dart @@ -55,7 +55,7 @@ class TSL2561Provider extends ChangeNotifier { try { if (i2c == null || scienceLab == null) { onError(appLocalizations.pslabNotConnected); - logger.w('I2C or ScienceLab not available'); + logger.w('I2C or ScienceLab not ae'); return; } From 3f713726cb462561af3244885fbe8bc34391bb92 Mon Sep 17 00:00:00 2001 From: Rahul Das Date: Mon, 22 Jun 2026 12:52:47 +0530 Subject: [PATCH 3/3] Fix directory path and add IPA storage step --- .github/actions/ios/action.yml | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/.github/actions/ios/action.yml b/.github/actions/ios/action.yml index 9c7463120..f221e5bf3 100644 --- a/.github/actions/ios/action.yml +++ b/.github/actions/ios/action.yml @@ -22,7 +22,7 @@ runs: - name: Update Podfile shell: bash run: | - cd ./iOS + cd ./ios flutter pub get pod install --repo-update @@ -33,7 +33,7 @@ runs: VERSION_NAME: ${{ inputs.VERSION_NAME }} VERSION_CODE: ${{ inputs.VERSION_CODE }} run: | - # 1. Build the raw iOS binary (Note: using 'ios', not 'ipa') + # 1. Build the raw iOS binary flutter build ios --release --no-codesign --build-name "$VERSION_NAME" --build-number "$VERSION_CODE" # 2. Package it into an unsigned .ipa manually @@ -52,3 +52,12 @@ runs: run: | # This will only succeed if the FOSSASIA repository certificates are present flutter build ipa --build-name "$VERSION_NAME" --build-number "$VERSION_CODE" + + - name: Store IPA file + uses: actions/upload-artifact@v7 + with: + name: iOS IPA Generated + path: | + pslab-unsigned.ipa + build/ios/ipa/*.ipa + if-no-files-found: ignore