Created
November 12, 2019 05:04
-
-
Save TheAlphamerc/642e63da2ff1aefbcc8762a364410547 to your computer and use it in GitHub Desktop.
Create android and ios build using flutter cli command
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
flutter build apk | |
cp build/app/outputs/apk/release/app-release.apk buildOutput/ | |
flutter build ios | |
cd ios | |
xcodebuild -workspace Runner.xcworkspace -scheme Runner -sdk iphoneos -configuration Release archive -archivePath $PWD/build/Runner.xcarchive | |
xcodebuild -exportArchive -archivePath $PWD/build/Runner.xcarchive -exportOptionsPlist exportOptions.plist -exportPath $PWD/build/Runner.ipa | |
cd .. | |
cp ios/build/Runner.ipa/Runner.ipa buildOutput/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment