-
-
Save Ian-FR/a9c745c909b3a0525a3a22940097a54a to your computer and use it in GitHub Desktop.
generate ios from command line
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
# download this file to your project folder and excute | |
# chmod +x generate-ios.sh | |
# then run using | |
# ./generate-ios.sh | |
# flutter build defaults to --release | |
flutter build ios | |
# make folder, add .app then zip it and rename it to .ipa | |
mkdir -p Payload | |
mv ./build/ios/iphoneos/Runner.app Payload | |
zip -r -y Payload.zip Payload/Runner.app | |
mv Payload.zip Payload.ipa | |
# the following are options, remove Payload folder | |
rm -Rf Payload | |
# open finder and manually find the .ipa and upload to diawi using chrome | |
open . | |
open -a "Google Chrome" https://www.diawi.com/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment