Xcode corrupted? Fragile Yes!
March 28, 2009 § Leave a comment
I encounter a strange yet unexplained error on Xcode and it is not related to the syntax. The code is exactly the same. The only difference is 1) I copy and paste the code from the blog 2) I enter the code from scratch.
error:syntax error before ‘@’ token
error:syntax error at ‘OTHER’ token
…repeat the same error line many times…
It is not easy to spot the issue. When you copy and paste the code outside Xcode, you doube quote may be in formatted curly quote, not the keyboard doube straight quote. Xcode will see this as error.