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 ./

 

posted on 2022-01-17 08:33  活最好的自己  阅读(229)  评论(0编辑  收藏  举报

导航