如何在Xcode10上使用centrifuge-ios

时间:2019-01-16 02:58:04

标签: ios

我在XCode 10中使用centrifuge-ios时遇到问题。当我导入centrifuge-ios的头文件时,出现错误:

Module compiled with Swift 4.1.2 cannot be imported by the Swift 4.2.1 compiler:

我通过安装工具链并成功运行程序解决了此问题。

但是有一个新问题。该程序在闪回后立即运行。控制台输出为:

  dyld: Library not loaded: @rpath/libswiftCore.dylib
  Referenced from: /Users/liex/Library/Developer/CoreSimulator/Devices/380A7A0C-7C2F-46F0-8BA3-C4FBEC6219DF/data/Containers/Bundle/Application/70DDACE8-BE2A-4E88-9D43-468583F4AD95/LieXiang.app/Frameworks/IDZSwiftCommonCrypto.framework/IDZSwiftCommonCrypto
  Reason: Incompatible library version: IDZSwiftCommonCrypto requires version 1.0.0 or later, but libswiftCore.dylib provides version 0.0.0"

0 个答案:

没有答案