[英]No Such Module error in objective-c framework inside Swift
I implement a API to my project. 我为我的项目实现了一个API。 However, class doesn't see the library inside a swift class.
但是,类没有在swift类中看到库。 (I was using the same api with same project before but now I created a new project but now It isn't working).
(我以前在同一个项目中使用相同的api,但现在我创建了一个新项目,但现在它无法正常工作)。 First I implement the class in build Phase then create "New copy file phase" but didn't work.
首先,我在构建阶段实现该类,然后创建“新的副本文件阶段”但不起作用。 I also create bridging header file.
我还创建了桥接头文件。
我从构建设置等删除框架..然后将其移动到项目目录,它工作!
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.