I have upgraded to Xcode 5 but it has a debugging bug that makes it impossible to work. My project was created in Xcode 4 but then I worked with it in Xcode 5
I installed Xcode 4.6.3 I opened my project in Xcode 4.6.3. I did: - Clean - Run
App compiled and apps runs on iPhone.
The problem is that at least one CPP file looks corrupted in Xcode 4 If I open it in another editor then it looks Ok.
Maybe the project has some cache that I much clean.
Here is screenshot I made. I am still able to compile it without errors.
PS I did the following trick. I removed the reference to the file from the project. I then created a copy of the file under a different name and added that new file to the project.
When I opened it in Xcode it looks corrupted.
If I open that new file in jEdit then it looks Ok.
I also tried fold/unfold. I used folding with that file when was coding in Xcode 5
PS2
I have deleted DerivedData
directory that I found in Xcode - Preference - Locations
Restarted Xcode and it does not help.
PS3
I can edit that file in jEdit and Xcode reloads file I can edit file in Xcode and jEdit reloads it.
I added following 2 lines of code
// jedit line // xcode line
jEdit shows correct CPP file Xcode shows corrupted CPP file
It is still possible to compile and run it
PS4
Just got email from Apple that Xcode 5.0.2 GM seed is released. It is not available in AppStore. I am downloading it now.