问题说明:工程引用了外部类库, 默认生成的archive是 Generic Xcode Archive 格式的 无法发布和生成ipa文件、

解决处理:

1、将Build Settings->Deployment->Skip Install 设置为 YES,但项目的Skip Install却要保持为NO。

2、将Build Phases->Copy Headers中的所有头文件拉到Project下,即Public和Private下不能有文件。

3、清空Build Settings->Deployment->Installation Directory选项的内容。

处理深究:

官方说明:https://developer.apple.com/library/ios/technotes/tn2215/_index.html

1. 说明:

Skip Install : Boolean value. Specifies whether to place the product at the location indicated by DSTROOT or the uninstalled products directory inside the directory indicated by TARGET_TEMP_DIR

把app放置到DSTROOT 或卸载APP目录在TARGET_TEMP_DIR

  • YES: When $DEPLOYMENT_LOCATION = YES, the product is placed in $TARGET_TEMP_DIR/UninstalledProducts.

  • NO: The product is placed in $DSTROOT.

TARGET_TEMP_DIR:Directory path. Identifies the directory containing the target’s intermediate build files.Run Script build phases should place intermediate files at the location indicated by DERIVED_FILE_DIR, not the directory identified by this build setting.

DSTROOT : the distribution root

SRCROOT:the source root

SYMROOT:the build root

猜测:项目生成时,会有相应的位置,只有主target有位置,其他为跳过

2.推测:生成app时,复制文件,需要文件存在project下

3.推测:跳过的target 安装目录清空

最新文章

  1. PHP获取一段时间内的每个周几, 每月几号, 遇到特殊日子就往后延
  2. Centos7 安装codeblock( 转载)
  3. [转]Javascript中的自执行函数表达式
  4. 可以这样去理解group by和聚合函数(转)
  5. hdu4924 Football Manager
  6. HDU-4507 吉哥系列故事——恨7不成妻 数位DP
  7. Codeforces Round #366 (Div. 2) C Thor(模拟+2种stl)
  8. CSS兼容问题大全
  9. 【前端JS】input textarea 默认文字,点击消失
  10. Oracle EBS-SQL (PO-13):检查采购物料无一揽子协议价格.sql
  11. 关于Arduino 步进电机Stepper库的一些想法
  12. 【QT】二进制读取图像文件测试
  13. 剑指offer(46)孩子们的游戏
  14. Lucene全文检索入门使用
  15. linux服务器时间同步失败解决方法
  16. py-day2-2 python 元祖
  17. BZOJ1079或洛谷2476 [SCOI2008]着色方案
  18. Java时间类(转)
  19. 20155306 白皎 《网络攻防》 EXP8 Web基础
  20. 很多人以为 connect 和 disconnect 应该像 new 和 delete 一样成对出现 这是错误的(只要 sender 或 receiver 其中之一不存在了,connect 会自动失效。QObject::connect 函数是线程安全的)

热门文章

  1. Linux tomcat设置ip地址直接访问,tomcat设置ip地址直接访问,tomcat绑定ip地址
  2. 卷积神经网络(CNN)前向传播算法
  3. 关于fibonacci数列用JS写的一点小优化
  4. Laravel分页
  5. 记录一次EF优化
  6. H5微场景宽、高度自适应办法
  7. webpack-react之webpack篇(http://www.jianshu.com/p/794d573d2c53)
  8. Python 模块之 string.py
  9. [.net 面向对象程序设计深入](24)实战设计模式——策略模式(行为型)
  10. 1588: [HNOI2002]营业额统计