解决Xcode 4“xxx does not contain a single–bundle application or contains multiple products” archive
来源:互联网 发布:linux 文件管理系统 编辑:程序博客网 时间:2024/06/03 20:07
采用了cocos2d, three20等第3方库会有这样的问题。
原因是:
Xcode 4 重新编译静态库同时把它做为可部署的产品打包到程序包中, 而一般程序包只能包含一个可部署的产品。
1. 打开静态库项目. 在Build Settings中找到 Deployment Group
在项目导航区选择依赖项目
2. 找到 Skip Install 并修改为YES
Dependent project's settings in Xcode 4
3. 如果有多个依赖项目,重复上面的设置。
注意:
- 主App是需要部署的所以不要将Skip Install设为YES, 只需要改依赖项目。
原因是:
Xcode 4 重新编译静态库同时把它做为可部署的产品打包到程序包中, 而一般程序包只能包含一个可部署的产品。
1. 打开静态库项目. 在Build Settings中找到 Deployment Group
在项目导航区选择依赖项目
2. 找到 Skip Install 并修改为YES
Dependent project's settings in Xcode 4
3. 如果有多个依赖项目,重复上面的设置。
注意:
- 主App是需要部署的所以不要将Skip Install设为YES, 只需要改依赖项目。
- 解决Xcode 4“xxx does not contain a single–bundle application or contains multiple products” archive
- bug:The application bundle does not contain a valid identifier
- XCode编译问题:does not contain a(n) armv7s slice
- Xcode xxxx.a(Native_Sensors_Plugin.o)' does not contain bitcode
- 解决Xcode编译错误:does not contain bitcode
- 错误:'XXX/XXX' does not contain bitcode.
- 解决Editor does not contain a main type错误
- editor does not contain a main type" 错误解决方
- ld: 'XXX' does not contain bitcode. You must rebuild it with bitcode enabled (Xcode setting ENABLE_B
- 上传时报错:The Bundle ID xxx defined in your Xcode Project does not match the Bundle ID that you
- 【Xcode】file is universal (3 slices) but does not contain a(n) armv7s slice
- Xcode升级之后,libWeiboSDK.a(WBSDKNormalWebViewController.o)' does not contain bitcode. You must rebuild
- Xcode 导入voiceConvert /lib/libopencore-amrnb.a(wrapper.o)' does not contain bitcode. You must rebuild
- Bug之解决Xcode 7编译错误:* does not contain bitcode.
- editor does not contain a main type
- variant does not contain a container
- editor does not contain a main type
- selection does not contain a main type
- BUFFALO LinkStation FTP配置
- 深入浅出http请求
- 和菜鸟一起深入学习国嵌实验之脚本编程
- 如何让Eclipse或myeclipse有代码提示功能
- 致30岁的我(转载)
- 解决Xcode 4“xxx does not contain a single–bundle application or contains multiple products” archive
- ubuntu如何切换到root用户
- 字符串全排序问题(String Permutations)
- spring IoC容器构造bean过程简单分析
- Extjs学习总结之23EditGridPanel可编辑表格
- “舒尔特表”训练法:产生1-25随机数,并打印到一个表格中
- 简单排序算法实现——冒泡排序
- 张老师高新技术技术学习日志---Part2
- 怎样在PropertySheet中添加按钮