其他分享
首页 > 其他分享> > FLUTTER ARCHIVE

FLUTTER ARCHIVE

作者:互联网

 1 # flutter pub get
 2 cd Intel-SRD-Flutter
 3 flutter clean
 4 flutter pub get
 5 
 6 # build app,里面的primary是前面的target
 7 flutter build ios --release
 8 
 9 cd ..
10 # 进入原生项目 archive和export
11 cd Intel-SRDAPP-IOS_flutter
12 
13 pod install
14 
15 # 导出achive,里面的primary是前面的target
16 xcodebuild archive -workspace HikVisionSRD.xcworkspace -scheme HikVisionSRD.xcworkspace -configuration release -sdk iphoneos 
17 
18 # 导出ipa
19 #xcodebuild -exportArchive -archivePath ${ArchivePath}runner.xcarchive -exportPath ${EXPORTIPA}runner -exportOptionsPlist ¥{EXPORT_OPTIONS}
20 xcodebuild -exportArchive -archivePath HikVisionSRD.xcarchive -exportOptionsPlist /Users/liuzhu/Downloads/thirdLibrary/exportOptions.plist -allowProvisioningUpdates -exportPath ./

 

标签:xcodebuild,FLUTTER,runner,ARCHIVE,archivePath,cd,HikVisionSRD,flutter
来源: https://www.cnblogs.com/lz465350/p/15812063.html