Skip to content
This repository has been archived by the owner on Oct 19, 2022. It is now read-only.

Commit

Permalink
HOTFIX: Removes the command 'flutter clean' on building for iOS
Browse files Browse the repository at this point in the history
The command got an update a earlier this year. It now deletes the file `Generated.xcconfig` which is needed by Xcode during archive.
  • Loading branch information
Frank Gregor committed May 18, 2020
1 parent ec84a39 commit 4b99d21
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion tools/build.triggerBuild.sh
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,6 @@ function iosReleaseBuild {
echo "iOS release build for ${flavor} started"
rm -rf ../ios/Flutter/Flutter.framework
flutter build ios --release --build-name=${buildName} --build-number=${buildNumber} --flavor ${flavor}
flutter clean

xcodebuild -workspace ios/Runner.xcworkspace -scheme ${flavor} -sdk iphoneos -configuration Release-${flavor} archive -archivePath "${IOS_BUILD_FOLDER}/Runner.xcarchive" -allowProvisioningUpdates | xcpretty
xcodebuild -exportArchive -archivePath "${IOS_BUILD_FOLDER}/Runner.xcarchive" -exportOptionsPlist ios/exportOptions${flavor}.plist -exportPath "${IOS_BUILD_FOLDER}/Runner.ipa" -allowProvisioningUpdates | xcpretty
Expand Down

0 comments on commit 4b99d21

Please sign in to comment.