Xcode shows many errors but program compiles and runs fine (in both simulator and device)

I finally solved this after MANY attempts using the following:

Remove the last #import from my Prefix.pch and build again. Errors would happen (obviously). Put the line back and build again. No errors would show and after 10 seconds or so, errors would come back again.

Repeat the above except instead of the last #import, remove the last TWO imports, then three, four, etc. I did this until I removed five imports and when I put them back and waited, Xcode stopped complaining.

Note that this didn’t occur to me at all. I read this solution on a blog somewhere.

Weird bug…

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)