I recently upgraded to Xcode 8 on el-cap.
Today I did "xcode-select -install" and also ran brew to install a couple of commands. I also updated the Podfile and then skewed Xcode 8, which I haven't done for the specific project I'm still working on.
When I compile the sim, I do not receive any warnings. When I Archive (in order to prepare for download to the App Store), I get several of the following:
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
Now this only happens when I archive the iOS project. I do not see this for the tvOS project.
Any idea what is going on here? I saw other issues that indicate this error (see: "warning: section" ___ const_coal "" is deprecated "with an error message after upgrading Xcode to the latest version on Mac OS ), but they all seem to want to work exclusively on command line. I want this to work through Xcode. I reset everything, reinstalled Xcode 8 and still have this problem. Here, where my command lines currently indicate:
$ xcode-select -p /Applications/Xcode.app/Contents/Developer
Any ideas?
PS (I tried pointing to the CommandTools directory indicated in the answer in the above URL, but that didn't help).
EDIT:
Those who suggested that I install the command line tool and -s for these utilities, I already tried this (see the original post). I did it again to be sure, and it didn't work.
It is established that the files already existed, going to / Library / Developer / CommandLineTools, rebooting and starting Xcode have the same results. The command line path in Xcode still shows this as exporting PATH = "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/ bin: / usr / local / bin: / USR / bin: / bin: / USR / SBIN: / SBIN "
The Xcode preferences in the Locations section appear on the Command Line Tools command line when I switched to / Library / Developer / CommandLineTools on the command line, but still showed the PATH above when I tried to return. It seems like Xcode 8 is simply ignoring it.