AppGuy30
Code is Art
Profile
Posts: 737
Reg: Oct 29, 2011
location unknow...
14,070
09/20/14 10:51 AM (9 years ago)

Weird Error when compiling in Xcode

I keep on getting this weird message in Xcode when I try to compile my apps. The error is, Command /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang failed with exit code 1 Can any one help me fix this? Thanks
 
GoNorthWest
buzztouch Evangelist
Profile
Posts: 8197
Reg: Jun 24, 2011
Oro Valley, AZ
1,000,000
like
09/20/14 11:54 AM (9 years ago)
I did some research and it seems like there can be many reasons for this error. I'd first try doing a Project > Clean, and see if that solves the problem. If it doesn't, try reloading the project into Xcode. If that doesn't work, try exiting Xcode, rebooting, and trying again. Are you doing anything other than just trying to load a standard BT project? Mark
 
MadRod
Aspiring developer
Profile
Posts: 1853
Reg: Apr 12, 2012
Lisbon
27,930
like
09/21/14 04:04 PM (9 years ago)
Does the log file say anything?
 
AppGuy30
Code is Art
Profile
Posts: 737
Reg: Oct 29, 2011
location unknow...
14,070
like
09/21/14 06:29 PM (9 years ago)
So I tried all of your options GoNorthWest, I had to turn Build Active Architecture Only to No though. Other than that I did nothing to the project besides set the Development Target to iOS 8. Any other ideas? Thanks
 
AppGuy30
Code is Art
Profile
Posts: 737
Reg: Oct 29, 2011
location unknow...
14,070
like
09/21/14 07:56 PM (9 years ago)
It also gives me these errors: clang: error: no such file or directory: '/Users/Jackhos1/Desktop/mods8_iOS/mods8/mods8-Prefix.pch' clang: error: no input files Command /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang failed with exit code 1 Anyway to fix this? Thanks
 

Login + Screen Name Required to Post

pointerLogin to participate so you can start earning points. Once you're logged in (and have a screen name entered in your profile), you can subscribe to topics, follow users, and start learning how to make apps like the pros.