使用swift 4.0编译的模块不能导入到swift 3.0.2中 [英] Module compiled with swift 4.0 cannot be imported in swift 3.0.2

查看:72
本文介绍了使用swift 4.0编译的模块不能导入到swift 3.0.2中的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我只是使用Xcode 9 beta版,甚至没有编译我的应用程序.现在,我无法在Xcode 8中运行它.框架导入出现错误.我必须给档案.请帮忙.在所附的快照中,我正在导入一个用swift编写的外部框架MMCardView.现在,这在Xcode 8中引发错误.我该怎么办?

I just used Xcode 9 beta version and did not even compile my app. Now I am not able to run it in Xcode 8. The framework import is giving error. I have to give the archive. Help please. In the snapshot attached , I am importing an external framework MMCardView written in swift. Now that is throwing error in Xcode 8. What should i do?

推荐答案

尝试从Product中清理项目->在Xcode 8中清理并重新构建.

Try cleaning the project from Product -> Clean in Xcode 8 and build again.

这篇关于使用swift 4.0编译的模块不能导入到swift 3.0.2中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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