出现错误“没有这样的模块"使用 Xcode,但框架在那里 [英] Getting error "No such module" using Xcode, but the framework is there

查看:21
本文介绍了出现错误“没有这样的模块"使用 Xcode,但框架在那里的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我目前正在使用 Swift 进行编码,但出现错误:

I'm currently coding in Swift, and I've got an error:

没有这样的模块社交

但我不明白,因为该模块在我的项目中,在链接框架和库"和嵌入式二进制文件"中声明.

But I don't understand, because the module is in my project, declared in "Linked frameworks and Libraries" and in "Embedded Binaries".

框架是在 Objective-C 中的,所以我为它写了一个桥头.

The frameworks is in Objective-C, so I wrote a Bridge Header for it.

请问,如何让 Xcode 识别框架?

Please, how can I make Xcode recognize the framework?

推荐答案

我不太清楚为什么 Martin R在问题评论中的回答被如此无视:

I am not quite sure why Martin R's answer in the comments for the question is so disregarded:

确保您尝试简单地跳过框架的导入,因为它已经添加了桥接头.

希望能帮到你

这篇关于出现错误“没有这样的模块"使用 Xcode,但框架在那里的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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