samedi 18 octobre 2014

Code erroring upon editing, but fine when building


Vote count:

0




All of my code is fine when I build/run the application; whenever I edit it, up comes a lot of error messages with errors such as "Use of undeclared type '-object type-'" as you can see in the picture below. From what I have observed, it happens after "@NSApplicationMain" but if I remove it, the code errors for good. Any insights on why this happens?


enter image description here


It also terminates itself when I run it with the error "an uncaught exception was raised". The app gets terminated on line 29 where the AppDelegate class is defined. I put the error log in a GitHub Gist here.



asked 1 min ago







Code erroring upon editing, but fine when building

Aucun commentaire:

Enregistrer un commentaire