0

I see this issue for Carthage has been asked a few times but I haven't been able to find a working solution. I've tried all of the suggestions in these threads that have similar issues but none of them works.

XCode Server: Opening import file for module 'MobileCoreServices': Permission denied

Opening import file for module 'Swift': Permission denied

Opening import file for module 'Swift' Permission denied

Is there a particular reason why I get a "Permission denied" error from xcode?

Community
  • 1
  • 1
MVZ
  • 2,220
  • 5
  • 27
  • 57

1 Answers1

0

I'm fairly new with Carthage so perhaps someone with more experience can elaborate further. In my case, all I had to do was clone the project again, and run:

carthage bootstrap --platform iOS

Without sudo

By using --platform iOS I was making sure nothing was being installed for macOS or tvOS which was causing issues. Also, using sudo was getting all the dependencie but for some reason I was getting the error I posted on this question.

MVZ
  • 2,220
  • 5
  • 27
  • 57