Module compiled with swift 4.0 cannot be imported

2020-07-11 07:32发布

问题:

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?

回答1:

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