Skip to main content
The First Step
Aug 28, 2020 5:30 AM UTC
Question

Couldn't build RIngcentral library

*** Downloading objective-c.framework binary at "v4.15.3"

*** Building scheme "Alamofire iOS" in Alamofire.xcworkspace

*** Building scheme "CryptoSwift" in CryptoSwift.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/rbei/Desktop/Learning/RCCall/Carthage/Checkouts/ringcentral-swift/RingCentral.xcodeproj -scheme RingCentral_iOS -configuration Release -derivedDataPath /Users/rbei/Library/Caches/org.carthage.CarthageKit/DerivedData/11.6_11E708/ringcentral-swift/1.0.1 -sdk iphoneos ONLY_ACTIVE_ARCH=NO CODE_SIGNING_REQUIRED=NO CODE_SIGN_IDENTITY= CARTHAGE=YES archive -archivePath /var/folders/t6/4k3j3zss3p3c36lqvm2f6hy40000gp/T/ringcentral-swift SKIP_INSTALL=YES GCC_INSTRUMENT_PROGRAM_FLOW_ARCS=NO CLANG_ENABLE_CODE_COVERAGE=NO STRIP_INSTALLED_PRODUCT=NO (launched in /Users/rbei/Desktop/Learning/RCCall/Carthage/Checkouts/ringcentral-swift)


This usually indicates that project itself failed to compile. Please check the xcodebuild log for more details: /var/folders/t6/4k3j3zss3p3c36lqvm2f6hy40000gp/T/carthage-xcodebuild.J3dxnQ.log

    4 replies

    Employee
    Aug 28, 2020 4:13 PM UTC

    The Swift sdk hasn't been updated for years. It is currently of low priority due to lack of users.


    As a workaround, if you are building a GUI app, you can use WebView and JavaScript SDK.

    The First Step
    Aug 30, 2020 11:47 PM UTC

    Can you try with Javascript SDK suggested by Tyler. It will be updated and easy to use than Swift sdk.

    You can find the ref here: https://github.com/ringcentral/ringcentral-js


    Swift sdk no longer updated. ref: https://community.ringcentral.com/questions/1541/swift-sdk-no-longer-updated.html


    The First Step
    Aug 31, 2020 5:31 AM UTC

    Do you have updated library for native Android support?

    Employee
    Nov 15, 2020 4:57 AM UTC

    I have started working on the Swift SDK. A working version is in the dev branch: https://github.com/ringcentral/ringcentral-swift/tree/dev