Xcode 8警告:不build议使用“__textcoal_nt”部分

我最近更新到el cap的Xcode 8。

我今天早些时候做了一个“xcode-select –install”,还运行brew来安装一些命令。 我也更新了一个Podfile,然后启动了Xcode 8,这个工作我还没有做,直到现在我正在做的这个特定的项目。

当我为模拟器编译时,我没有收到警告。 当我存档时(准备上传到App Store),我得到以下几个方面:

warning: section "__textcoal_nt" is deprecated .section __TEXT, __textcoal_nt, coalesced, pure_instructions ^ ~~~~~~~~~~~~~~ note: change section name to "__text" .section __TEXT, __textcoal_nt, coalesced, pure_instructions ^ ~~~~~~~~~~~~~~ warning: section "__const_coal" is deprecated .section __TEXT, __const_coal, coalesced ^ ~~~~~~~~~~~~~ note: change section name to "__const" .section __TEXT, __const_coal, coalesced 

现在,这只发生在我与一个iOS项目存档。 我不认为这是一个tvOS项目。

任何想法发生了什么? 我已经看到了其他的问题,指出这个错误( 在Mac OS上更新Xcode到最新版本后,请参阅: “warning:section”__const_coal“已被弃用” ),但是它们似乎只想在命令行上工作。 我希望这个工作通过Xcode。 我重置一切,重新安装Xcode 8,仍然有这个问题。 这是我的命令行当前指向的地方:

 $ xcode-select -p /Applications/Xcode.app/Contents/Developer 

有任何想法吗?

PS(我曾尝试指出在上面的URL答案中列出的CommandTools目录,但这并没有帮助)。

编辑:

那些build议我做的命令行工具安装和-s的这些实用程序,我已经尝试过(见原来的post)。 我做了一遍,只是为了确定,它没有工作。

安装说,文件已经存在,切换到/ Library / Developer / CommandLineTools,重新启动,并启动Xcode具有相同的结果。 Xcode中的命令行path仍然显示为export PATH =“/ Applications / Xcode.app / Contents / Developer / Platforms / iPhoneOS.platform / Developer / usr / bin:/Applications/Xcode.app/Contents/Developer/usr/斌:在/ usr / local / bin目录:在/ usr / bin中:/ bin中:/ usr / sbin目录:/ sbin目录”

当我在命令行切换到“/ Library / Developer / CommandLineTools”时,在“位置”下的Xcode中的首选项显示“命令行工具”为空,但是当我尝试重新链接时仍显示上面的PATH。 看来Xcode 8只是忽略它。