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.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

What’s this?

You are currently reading Xcode corrupted? Fragile Yes! at Web Builders.

meta

%d bloggers like this: