Compilation stops at a certain file.

I am trying porting an iOS game to TV, but the compliation stops at the middle way,

with the status message being "Building TestProject: TestProject | Compiling at 31 of 180 source files".


Both beta and beta-2 of XCode failed!


Any help? Thank you in advance.

Please file a bug report at https://bugreport.apple.com with an example project.

This project is too big to report a bug as a sample. Other several projects which are relatively small have no such issue!

Is the failure consistently at the same file?

Yes, it is consitstently at the same file. It seems to be stucking at large .m files. After divided a big file to two sub-small files, the compilation managed to continue. However, the issue persisted as the compilation stopped again somewhere. After doing several division operations again, compilation went on by a little each time. Finally, the compilation sticked to the last file, reading "Complilation 120 of 120 files". In fact, in addtion to dividing files, I had also simply unchecked many .m files from compilation list to check which files were stoppoing the compilation.

Definitely not expected behavior, nor something I've come across. Please follow mhuss suggestion of filing a bug. You could also open a support ticket via your developer portal to have some more focused support beyond what we can provide here.

Compilation stops at a certain file.
 
 
Q