Created
January 11, 2020 21:10
-
-
Save lukaselmer/2a2ac2e9be77a0fd66168610242c5ed0 to your computer and use it in GitHub Desktop.
Revisions
-
lukaselmer revised this gist
Jan 11, 2020 . 1 changed file with 2 additions and 2 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -1,3 +1,3 @@ * Put `build.sh` in `./your-flutter-project-directory/build.sh` * Put `ExportOptions.plist` in `./your-flutter-project-directory/ios/ExportOptions.plist` * Run `./build.sh` -
lukaselmer created this gist
Jan 11, 2020 .There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,12 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> <plist version="1.0"> <dict> <key>method</key> <string>ad-hoc</string> <key>uploadBitcode</key> <false/> <key>uploadSymbols</key> <true/> </dict> </plist> This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,3 @@ * Put `build.sh` in ./your-flutter-project-directory/build.sh * Put `ExportOptions.plist` in ./your-flutter-project-directory/ios/ExportOptions.plist * Run `./build.sh` This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,11 @@ flutter build apk flutter build ios rm -rf build/export mkdir -p build/export cp build/app/outputs/apk/release/app-release.apk build/export 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 -allowProvisioningUpdates cd .. cp ios/build/Runner.ipa/Runner.ipa build/export open build/export