Proyect Blocked

I develop an App that works fine, but when I add the platform IOS and Build to release, apparently is build correct, but when I try to open in Xcode, it sends me a message saying that the files are Lock for write and read. the Xcode cant unlocks.
I check the folders and file of the platform and yes they are readonly, I begin to unlock directly, but are a lot of files and folders
Why is creating the platform with read-only? there any way to create and build the platform IOS with read and write allowed?
Any Idea?