Module compiled with Swift 5.1.2 cannot be imported by the Swift 5.2.4 compiler

萝らか妹 提交于 2021-01-28 23:44:41

问题


After updating to Xcode 11.5, I cannot import My Universal framework. Basically, I have created one framework and also generated the universal framework. The framework was compiled in the lower version of Swift (Swift 5.1). It worked fine previously. While importing the same framework in the same project in XCode 11.5 (Swift 5.2), it throws the following error.

Module compiled with Swift 5.1.2 cannot be imported by the Swift 5.2.4 compiler I have already marked the Build Libraries for Distribution to Yes and Skip Install to No.

Please help. Thank you in advance!

来源:https://stackoverflow.com/questions/63409713/module-compiled-with-swift-5-1-2-cannot-be-imported-by-the-swift-5-2-4-compiler

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!