Everytime I try and build my iOS project I get the following exception:
Error building Player: UnauthorizedAccessException: Access to the path “/Temp/StagingArea/iPhone-Trampoline/Unity-iPhone.xcodeproj/project.pbxproj” is denied.
It seems like unity is generating read-only temp files, at which point the build breaks when it tries to edit them. I’ve tried deleting the files and ensuring nothing is accessing them but nothing seems to work, any ideas?