Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在尝试在我的项目中使用 CloudRail,但是当import CloudrailSI我不断收到此错误时:
import CloudrailSI
Module compiled with Swift 3.1 cannot be imported in Swift 3.0.2
任何人都知道为什么这种情况不断发生以及我应该做些什么来解决它?
这通常发生在您的 XCode 不是最新的或者您为项目选择了错误的 Swift 版本时。此版本的 CloudRail 是为 Swift 3.1 编译的。您需要在您的 iOS 项目中匹配相同的版本。