Skip to content

Commit

Permalink
update export options
Browse files Browse the repository at this point in the history
  • Loading branch information
Grodien committed Aug 5, 2024
1 parent 158656c commit f035b82
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/flutter_ios_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,18 +71,19 @@ jobs:
flutter pub get
flutter pub run build_runner build --delete-conflicting-outputs
- run: flutter test
- run: flutter build ipa --flavor dev -t lib/main_dev.dart --release --export-options-plist=ios/exportOptionsRelease.plist
- run: xcodebuild -exportArchive -archivePath "build/ios/archive/DAS Dev.xcarchive" -exportPath "build/ios/ipa/" -exportOptionsPlist ios/exportOptionsRelease.plist
# - run: flutter build ipa --flavor dev -t lib/main_dev.dart --release --export-options-plist=ios/exportOptionsRelease.plist
- run: flutter build ios --flavor dev -t lib/main_dev.dart --release
- run: xcodebuild -exportArchive -archivePath "build/ios/iphoneos/DAS Dev.app" -exportPath "build/ios/ipa/" -exportOptionsPlist ios/exportOptionsRelease.plist
# - 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
- name: Archive Apps
uses: actions/upload-artifact@v4
with:
name: Build
# path: das_client/build/ios/iphoneos/**
path: |
das_client/build/ios/archive/**
das_client/build/ios/ipa/**
das_client/build/ios/iphoneos/**
retention-days: 1

2 changes: 1 addition & 1 deletion das_client/ios/exportOptionsRelease.plist
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<plist version="1.0">
<dict>
<key>destination</key>
<string>export</string>
<string>upload</string>
<key>generateAppStoreInformation</key>
<false/>
<key>manageAppVersionAndBuildNumber</key>
Expand Down

0 comments on commit f035b82

Please sign in to comment.