title: How to downgrade Xcode 5.0.1 project to Xcode 4.6.3
body: <p>I have upgraded to Xcode 5 but it has a debugging <a href="https://stackoverflow.com/questions/19582957/exc-bad-access-code-1-address-0x0-when-stepping-in-debugger/19732109#19732109">bug</a> that makes it impossible to work.
  My project was created in Xcode 4 but then I worked with it in Xcode 5</p>
  
  <p>I installed Xcode 4.6.3
  I opened my project in Xcode 4.6.3. 
  I did:
   - Clean
   - Run</p>
  
  <p>App compiled and apps runs on iPhone.</p>
  
  <p>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.</p>
  
  <p>Maybe the project has some cache that I much clean.</p>
  
  <p>Here is screenshot I made. I am still able to compile it without errors.
  <img src="https://i.stack.imgur.com/2YtOK.png" alt="enter image description here"></p>
  
  <p><strong>PS</strong>
  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.</p>
  
  <p>When I opened it in Xcode it looks corrupted.</p>
  
  <p>If I open that new file in jEdit then it looks Ok.</p>
  
  <p>I also tried fold/unfold.
  I used folding with that file when was coding in Xcode 5</p>
  
  <p><strong>PS2</strong></p>
  
  <p>I have deleted <code>DerivedData</code> directory that I found in Xcode - Preference - Locations
  Restarted Xcode and it does not help.</p>
  
  <p><strong>PS3</strong></p>
  
  <p>I can edit that file in jEdit and Xcode reloads file
  I can edit file in Xcode and jEdit reloads it.</p>
  
  <p>I added following 2 lines of code</p>
  
  <p>// jedit line
  // xcode line</p>
  
  <p>jEdit shows correct CPP file
  Xcode shows corrupted CPP file</p>
  
  <p>It is still possible to compile and run it</p>
  
  <p><strong>PS4</strong></p>
  
  <p>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.</p>