My cocos2d iOS game code compiles and runs without error in Xcode 4.2.1 but Xcode 4.3 beta 2 stops with "No newline at end of file" error. the error is in many coco2d files.
What should I do?
My cocos2d iOS game code compiles and runs without error in Xcode 4.2.1 but Xcode 4.3 beta 2 stops with "No newline at end of file" error. the error is in many coco2d files.
What should I do?
You can disable this in the Project Settings > Build Settings, under the "Apple LLVM compiler 3.1 warnings" set "Missing Newline At End Of File" to "No".
How about adding in a new line at the end of those files? :-)
It shouldn't be an error but a warning. Do you have a compiler setting set to not compile on any warnings?