缺少项目中Xcode生成的必需模块'SwiftShims'错误 [英] missing required module 'SwiftShims' error generated by Xcode in project

查看:34
本文介绍了缺少项目中Xcode生成的必需模块'SwiftShims'错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在运行状态下复制了我的项目,但是尽管实际项目运行良好,但是复制的项目对我不起作用.当我构建复制的项目时,它给我以下错误:

I copied my project in a running state but the copied project doesn't work for me although the actual project is running fine. When I build my copied project it gives me the following error:

我已经清除了缓存和派生数据,但是构建仍然失败.

I have cleared the cache and the derived data but the build still fails.

有人知道什么可能导致此问题吗?预先感谢.

Does anyone have an idea what might cause this issue? Thanks in advance.

推荐答案

如果使用的是 CocoaPods ,请打开 yourProject.workspace 而不是 yourProject.xcodeproj .

If you are using CocoaPods, open yourProject.workspace instead of yourProject.xcodeproj.

这篇关于缺少项目中Xcode生成的必需模块'SwiftShims'错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆