Search code examples
xcodebuildprojectworkspace

Xcode fails without specifying and errors


All of a sudden my project fails to build in Xcode. If I look at the log I see all the needed dependencies being built, and then I get a strange error:

Verify final result code for the complete build operation
Build operation failed without specifying any errors. 
Individual build tasks may have failed for unknown reasons.

I removed my code directory and replaced it with a backup, did a clean, tried building all the other components separately (they succeed) - nothing works. I tried a command line build, same issue.

There were only a few hits on google for this error, none offered any useful advice.

Can anyone please help?

Update: When I run the command line build, I see the following error:

2012-05-25 08:55:53.830 xcodebuild[3358:4203] No recorder, buildTask: <Xcode3BuildTask: 0x400f35e60:'ProcessPCH MyProject-Prefix.pch':REfc(32370056113422336):deps=0:phaseNum=4>

I checked the output of xcodebuild and it is returning '65'.

I thought there might be a problem with the MyProject-Previx.pch file, so I shut off "Precompile Prefix Header", and now I get the same error with a different file:

2012-05-25 09:15:11.784 xcodebuild[3882:3703] No recorder, buildTask: <Xcode3BuildTask: 0x40048ab60:'CompileC HelperRoutines.m':REfc(33777199068741632):deps=0:phaseNum=4>

Solution

  • I also encountered same error. I was edited .pch (Prefix Header) file. Then I started getting this strange error. Then I removed all editions which I made in .PCH. Then I quit my Xcode. When I restarted Xcode this strange error was gone.

    Hope this will work for you also. Best luck Buddy (y)