简体   繁体   English

导入模块'Swift'的文件:权限被拒绝

[英]Import file for module 'Swift': Permission denied

I'm getting a Swift compiler error as: 我得到一个Swift编译器错误:

Opening import file for module 'Swift': Permission denied. 

I have re-installed my Xcode, still the issue exists and in another user account, Xcode builds the project without any compilation error. 我已经重新安装了我的Xcode,仍然存在问题,在另一个用户帐户中,Xcode构建项目时没有任何编译错误。

这可能与您的框架有关,尝试再次添加它们,或者如果您使用的是Carthage,请确保不要使用sudo进行Carthage update

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM