问题描述
我正在尝试根据指令 https://github.com/Paytm-Payments/Paytm_iOS_App_Kit/tree/master/Swift/BitCodeDisabled/PaytmNativeSDK
我在构建中看到以下错误
I see the following error in build
我尝试过工具链 https://medium. com/xcblog/switching-swift-versions-inside-xcode-using-toolchains-755b28831c43 错误更改为原因:库版本不兼容:PaytmNativeSDK需要版本1.0.0或更高版本,但libswiftCore.dylib提供版本0.0.0
I have tried toolchains https://medium.com/xcblog/switching-swift-versions-inside-xcode-using-toolchains-755b28831c43The error changes to Reason: Incompatible library version: PaytmNativeSDK requires version 1.0.0 or later, but libswiftCore.dylib provides version 0.0.0
如何设置XCode或库以使其正常工作.供应商没有机会为Swift 5.0更新该库并使其在POD上可用.
How do i setup XCode or the Library to make it work . There is no chance of the vendor updating the library for Swift 5.0 and make it available on POD.
推荐答案
正确的解决方案是下载Xcode 10.1,然后等待Apple修补此错误.
The correct solution is download Xcode 10.1, and wait for Apple patch the bug fix.
不要在修复第三方错误上浪费时间.
Don't waste time on fix third-party bug.
我的项目的问题是我们使用的Alamofire无法通过迦太基进行更新.
The problem of my project is we are using Alamofire which is failed to update by Carthage.
这篇关于Swift 5.0编译器无法导入使用Swift 4.2.1编译的模块的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!