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 characters
| ios_folder="/Users/tuchan/Desktop/Dev/flutter_app/ios" # ios folder path | |
| output_path="/Users/tuchan/Downloads" # output path | |
| ipa_name="flutter_app" # your desired ipa name | |
| runner="/Users/tuchan/Library/Developer/Xcode/DerivedData/Runner-vnxpqzfkeytwslgbfuzsxhgkvhsa/Build" # open ios/Runner.xcworkspace in xcode, go to Product -> Copy Build Folder Path | |
| localsend=true # should send via localsend | |
| # make sure to build a release version (--release), not a debug | |
| cd $ios_folder | |
| xcodebuild -workspace Runner.xcworkspace -scheme Runner CODE_SIGNING_REQUIRED=NO CODE_SIGN_IDENTITY="" build |