diff --git a/.github/workflows/flutter_ios_build.yml b/.github/workflows/flutter_ios_build.yml index ffc04a71..549e1ac4 100644 --- a/.github/workflows/flutter_ios_build.yml +++ b/.github/workflows/flutter_ios_build.yml @@ -74,3 +74,16 @@ jobs: - run: flutter build ios --flavor dev -t lib/main_dev.dart --release - run: flutter build ios --flavor inte -t lib/main_inte.dart --release - run: flutter build ios --flavor prod -t lib/main_prod.dart --release + - run: xcodebuild -exportArchive -archivePath "build/ios/iphoneos/DAS Dev.app" -exportPath "build/ios/ipa/" -exportOptionsPlist ios/exportOptionsRelease.plist + - name: Archive Apps + uses: actions/upload-artifact@v4 + with: + name: App + path: build/ios/iphoneos/** + retention-days: 1 + - name: Archive IPA + uses: actions/upload-artifact@v4 + with: + name: IPA + path: build/ios/ipa/** + retention-days: 1 diff --git a/das_client/ios/exportOptionsRelease.plist b/das_client/ios/exportOptionsRelease.plist new file mode 100644 index 00000000..84d9f7e2 --- /dev/null +++ b/das_client/ios/exportOptionsRelease.plist @@ -0,0 +1,8 @@ + + + + + method + app-store + + \ No newline at end of file