没有这样的模块'####'

问题描述 投票:0回答:1

我是Swift / xcode的新手,并被Import重击。

enter image description here

但是,它似乎确实在拿起文件。注意最后一行的“AnimationType”。这是FoldingCell中定义的枚举。看下面如果我注释掉导入会发生什么。

enter image description here

我究竟做错了什么?

swift xcode import
1个回答
1
投票
  1. 尝试清理项目并再次构建它。
  2. 单击您的项目名称。在右侧,向下滚动到“Linked Frameworks&Libraries”。在该部分,有一个“+”按钮,单击它。您将看到一个框架列表。你会发现你的“FoldingCell”框架可能位于顶部。添加它。然后清理并构建项目。
© www.soinside.com 2019 - 2024. All rights reserved.