IOS命令行打包 問題整理(1)


打包命令:在項目根目錄執行

xcodebuild archive -workspace ${project_path}/${project_name}.xcworkspace -scheme ${scheme_name}  -configuration ${development_mode}  -archivePath ${build_path}/${project_name}.xcarchive


提示錯誤信息如下:

xcodebuild: error: The project named “xxx” does not contain a scheme named “xxxx”. The “-list” option can be used to find the names of the schemes in the project.


解決方法:

Product --> Scheme -->Manage Schemes

勾選指定的scheme

發佈了99 篇原創文章 · 獲贊 119 · 訪問量 37萬+
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章