美文网首页
Could not build module 'UIKit'

Could not build module 'UIKit'

作者: 倒着游的鱼 | 来源:发表于2019-08-28 19:42 被阅读0次

导入第三库后出现无法构建模块UIKit
尝试了很多,但无法解决它。
由于某种原因,您的UIKit.framework已损坏,要么将工作的UIKit.framework从其他地方复制到

/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks

从此文件(具有相同的XCode版本)复制框架并粘贴到这个目录下替换。
(Foundation.framework也可能一并出现)
重启Xcode 后重新编译解决了我的问题

二:
或重新安装Xcode解决问题。

相关文章

网友评论

      本文标题:Could not build module 'UIKit'

      本文链接:https://www.haomeiwen.com/subject/gzamectx.html