微信公众号搜"智元新知"关注
微信扫一扫可直接关注哦!

RingCentral Swift编译失败

如何解决RingCentral Swift编译失败

我是RingCentral的新手。我正在尝试使用RingCentral Swift for iOS应用程序。我正在检查参考文献here

我遇到以下编译失败的问题:

*** Fetching Alamofire
*** Fetching ObjectMapper
*** Checking out ObjectMapper at "3.4.2"
*** Checking out Alamofire at "4.8.1"
*** Checking out ringcentral-swift at "1.0.1"
*** Checking out CryptoSwift at "0.14.0"
*** Checking out objective-c at "v4.8.5"
*** xcodebuild output can be found in /var/folders/49/ckkpnf9n6lgbfsfp407twf840000gn/T/carthage-xcodebuild.gTqjHT.log
*** Building scheme "Alamofire iOS" in Alamofire.xcworkspace
*** Building scheme "CryptoSwift" in CryptoSwift.xcworkspace
*** Building scheme "Framework (iOS)" in PubNub.xcworkspace
*** Building scheme "ObjectMapper-iOS" in ObjectMapper.xcworkspace
*** Building scheme "RingCentral_iOS" in RingCentral.xcodeproj
Build Failed
Task Failed with exit code 65:  /usr/bin/xcrun xcodebuild -project /Users/......./Downloads

我在社区中搜索了原因,但不明白为什么是编译问题。

请帮助。

解决方法

我是该SDK的作者。它的优先级较低,因为与其他SDK(例如C#和JS)相比,它没有太多的用户。我们已收到您的反馈,我将在本季度尝试更新SDK。谢谢。

,

Swift SDK多年未更新,如引用here
此处注册了相同的问题:https://github.com/ringcentral/ringcentral-swift/issues/17
也许是迦太基版本引起了问题。您可以下载其存储库并在最新的xcode中打开其Xcode项目,构建该项目并按照此处的步骤解决问题:RingCentral: Build Failed Task failed with exit code 65: Carthage installation

作为一种解决方法,如果要构建GUI应用程序,则可以针对以下相同问题使用此处建议的WebView和JavaScript SDK:https://community.ringcentral.com/questions/89996/couldnt-build-ringcentral-library.html

版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。