4

I recently upgraded to Xcode 4.0.1 from the last version of Xcode 3x (not sure which). Install went fine and I can open and view all my old .xcodeproj files without problems. All except one!

The error I get inside Xcode is

"The file "GCSCalculator.xcodeproj" couldn't be opened because you don't have permission to view it. To view or change permissions, select the item in the Finder and choose File > Get info."

Obviously I've checked that and the permissions are exactly the same for all files as the ones in the projects that do open in Xcode. I changed permissions for everyone to ReadWrite just in case, to no avail. I feel I've tried everything obvious and can't seem to find anybody else with the same problem.

Anyone got any ideas about a fix or workaround? Typically it was one of the only projects that was actually completed so its very frustrating!

Thanks.

Jon
  • 41
  • 1
  • 2

2 Answers2

4

I ran into the same problem and found that clicking on the project in xcode and then switching the view to standard editor view will let you change all of the project settings. After editing the summary, info, and build settings areas it started working

user527506
  • 41
  • 2
  • Hi!! It worked for me. Now I ve got a crash on a working project in previous xcode version but at least the **permission** message does not appear any more! – M Penades Jun 30 '11 at 08:17
  • Worked for me too! Started seeing this error after a system crash (out of memory, I turned off swap :-) ) – w00t Aug 02 '11 at 08:32
1

Click to project-> Build Settings -> Compiler for C/C++/Objective-C -> Default Compiler. Hope it useful :D

Huy Hóm Hỉnh
  • 597
  • 7
  • 18