Tip: Permissions on project
Tip: Permissions on project
- Subject: Tip: Permissions on project
- From: Phillip Mills <email@hidden>
- Date: Tue, 22 Mar 2011 11:51:36 -0400
I've found an error message in Xcode 4 that doesn't mean what it says.
I created a sample project in Xcode 4 and, after various edits and changes, I got the following message whenever I clicked on the top-level target entry: "The file “HelloArrow.xcodeproj” couldn’t be opened because you don’t have permission to view it."
It told me to fix the permissions in Finder but setting that bundle and everything under it to wide open RW access didn't change the error . The other odd symptom was that any plist file in this project showed up as raw XML rather than using the formatted property editor. Other projects, mostly ones created in earlier Xcode versions, seem to open and edit OK.
The oddest thing was that the problem project opened just fine in Xcode 3.2.5 and displayed plists for editing as expected. Since I wasn't risking anything important, that put me in an experimental mood. I opened the HelloArrow.xcodeproj” bundle and deleted anything that looked new to V4, in particular the workspace bundle. After that, opening the project in Xcode 4 worked fine with the previous symptoms gone.
If it should happen again, I'll try to be a bit more subtle in debugging it but it's nice to know that there *is* a fix.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden