swift - 当我尝试在 Xcode 中导入 VisualRecognitionV3 时,它给出了用 swift 3.0 编译的错误模块无法在 swift 3.0.2 中导入?

标签 swift xcode ibm-cloud ibm-watson visual-recognition

当我尝试在 Xcode 中导入 VisualRecognitionV3 时,出现错误:

module compiled with swift 3.0 cannot be imported in swift 3.0.2

截图如下:

enter image description here

有人知道怎么解决吗?

最佳答案

这类似于 version issue看到这里。基本上,在调用 carthage 时避免使用预编译的二进制文件将解决问题,因此请使用以下 carthage 命令 - “carthage update --platform iOS --no-use-binaries”

关于swift - 当我尝试在 Xcode 中导入 VisualRecognitionV3 时,它给出了用 swift 3.0 编译的错误模块无法在 swift 3.0.2 中导入?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/41532021/

相关文章:

ios - Swift,CollectionView, fatal error : Index out of range

ios - 界面生成器缩放?

docker - 使用 Docker 存储数据的好策略?

android - IBM BLUEMIX - 有人可以在 bluemix 上为使用 cloudant 数据库的 android 应用程序显示服务器端代码吗

java - Bluemix Spark 与 Java

ios - 如何: check for nil on every value before presentation of ViewController

ios - UIActivityIndi​​catorView 在 dispatch_sync 模式下不起作用

swift - podspec 中框架的 CommonCrypto

ios - 非ARC Xcode项目中的编程方法

IOS:恢复 View Controller