美文网首页
解决POD集成第三方库出现Unable to determine

解决POD集成第三方库出现Unable to determine

作者: 程浩2016 | 来源:发表于2019-03-01 10:59 被阅读0次

    工作中应甲方要求集成pod 'PolyvCloudClassSDK', '~> 0.6.0' # polyv 云课堂 SDK

    这个SDK是几个其他SDK打包而成,其中包括用到了Socket.IO-Client-Swift,用pod集成报Unable to determine Swift version for the following pods:错误

    网上这个问题有一个解答:https://www.jianshu.com/p/429a2dfb1040

    但这个并没有解决我的问题

    经过多方排查,是指定的SWIFT版本问题,但xcode的tagets中没有指定SWIFT_VERSION版本这一项,点buildSettings中的+号,添加SWIFT_VERSION,指定版本号3.0,再执行pod update --verbose --no-repo-update解决问题。

    相关文章

      网友评论

          本文标题:解决POD集成第三方库出现Unable to determine

          本文链接:https://www.haomeiwen.com/subject/kyiruqtx.html