App cannot create folder when needed, needs permissions I'm trying to use Unity to export the app I'm creating. It gets about halfway through the process before showing the message:

"Creating directory. Creating directory Library/ScriptAssemblies failed. Please ensure there is enough disk space and you have permissions setup correctly." 

There's 60GB of free space. I don't understand permissions well enough to know what to do here. I could really use some help, I only know Windows.
This  problem could be solved by deleting the "library" which is generated by Unity. Unity directory is as following:

Unity &gt;
- Assets
- Library &lt;- Delete the directory, and reopen Unity
- Log
- ProjectSettings
- Temp

On the other hand, you can see information about permissions and their errors in the following Apple website: https://support.apple.com/en-au/HT203538