XCode problem: You don’t have permission to save the file ‘iOS DeviceSupport’ in the folder ‘XCode’.
Today, without a delay I upgraded my iPhone 3GS to iOS 5. But in the mean time when I plugged in to my Mac and tried to use it for development purpose, I got an an error on my organizer stating “You don’t have permission to save the file ‘iOS DeviceSupport’ in the folder ‘XCode’”. Well the error was kind of new to me, which I never faced before. Not sure Apple folks might have got a chance to look into it.
But of course there is a fix to it, if someone ever encounters it, just like me :)
- Open up the terminal app
- Execute the command: sudo chmod 777 /Users/<Account>/Library/Developer/XCode
- Disconnect your device and connect it back
- XCode should now add your device for development