I\'m a newbie at working in Xcode and swift. I was working on a iOS project on my macbook (while on holiday), and i\'ve been using github version control, i\'ve now returned
For anyone who still has problems, here's my solution:
I tried everything recommended, from removing any user data to setting up the project from scratch to reinstalling Xcode - nothing worked for me.
In the end, it turned out that the frameworks I was using were depending on the library mentioned in the error message (Opening import file for module 'FRAMEWORK' Permission denied, in my case this was CoreLocation). I built several ones of them and the project built just fine on another Mac. When pulling this version from Github, the built frameworks threw the above mentioned errors. So I built each framework from scratch, and embedded these frameworks in my final project. This time everything worked, just like on the other Mac.
Just my two cents, since everything I've seen until now could be resolved in a different way than this one.