IOS命令行打包 问题整理(1)

来源:互联网 发布:在淘宝上买了二手钢琴 编辑:程序博客网 时间:2024/05/18 19:41


打包命令:在项目根目录执行

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

原创粉丝点击