Lots of warnings when building with Xcode 7 with 3rd party libraries

I am getting a large number of warnings when compiling my project in Xcode 7 GM (bitcode is NOT enabled) in regards to third party static libraries. Xcode is complaining about "No such file or directory" or "Could not resolve external type". All of this used to work perfectly, the only changes made were an updated version of the library and the use of Xcode 7 GM.

 

This seems to be happening with many other people as well, as it can be seen here:http://sensiblecocoa.com/community/topic/2344-warnings-with-stv-500-and-xcode-7-beta-5/

 

Here is a sample list of warnings:

 

(null): warning: /var/folders/p4/z7zy68r92hd3p5ry5g2v3k_8rlwzzr/C/org.llvm.clang.dalmo/ModuleCache/1TXZDLI9N2EMV/Foundation-3DFYNEBRQSXST.pcm: No such file or directory

(null): warning: /var/folders/p4/z7zy68r92hd3p5ry5g2v3k_8rlwzzr/C/org.llvm.clang.dalmo/ModuleCache/1TXZDLI9N2EMV/Foundation-3DFYNEBRQSXST.pcm: No object file for requested architecture

(null): warning: /var/folders/p4/z7zy68r92hd3p5ry5g2v3k_8rlwzzr/C/org.llvm.clang.dalmo/ModuleCache/1TXZDLI9N2EMV/ObjectiveC-1RQA2RIXJIE19.pcm: No such file or directory

(null): warning: 


I had this problem too.  Here's how I fixed it.

 

1)  Go to Build Settings -> Build Options -> Debug Information Format

 

2)  Change the Debug setting from "DWARF with dSYM File" to "DWARF"

 

3)  Leave the Release setting at "DWARF with dSYM File"

 

The problem appears to be that Xcode was trying to create dSYM files for Debug builds.  You don't need dSYM files for Debug builds -- it's release builds where you need them. 

 

I hope this helps. 

 

Sincerely,

 

Michael Patrick Ellard


  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 1
    评论
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值