coinbase / coinbase-ios-sdk

Integrate bitcoin into your iOS application with Coinbase
https://www.coinbase.com/
Apache License 2.0
171 stars 67 forks source link

Carthage Installation Error #48

Closed abrarEpazz closed 2 years ago

abrarEpazz commented 5 years ago

Hi!, Please help me how to fix this. when I trying to install coinbase-ios-SDK in my project this error occur.

*** Skipped building coinbase-ios-SDK due to the error: Dependency "coinbase-ios-SDK" has no shared framework schemes for any of the platforms: iOS

If you believe this to be an error, please file an issue with the maintainers at https://github.com/coinbase/coinbase-ios-sdk/issues/new

StanislavKrishu commented 5 years ago

Hey, Looks like you use Carthage and it relies on GitHub release which seems to be outdated. Try to specify branch or commit in your Cartfile, e.g.

github "coinbase/coinbase-ios-sdk" "master"
abrarEpazz commented 5 years ago

Hey, Looks like you use Carthage and it relies on GitHub release which seems to be outdated. Try to specify branch or commit in your Cartfile, e.g.

github "coinbase/coinbase-ios-sdk" "master"

Hi, Thanks for your reply, I'm trying this as you said, but still 1 thing is Skipped during installation.

Downloading RxSwift.framework binary at "[4,5]" Skipped installing RxSwift.framework binary due to the error: "Incompatible Swift version - framework was built with 5.0 (swiftlang-1001.0.69.5 clang-1001.0.46.3) and the local version is 4.2.1 (swiftlang-1000.11.42 clang-1000.11.45.1)."

StanislavKrishu commented 5 years ago

Could you try to run update command with --no-use-binaries

carthage update --platform iOS --no-use-binaries
abrarEpazz commented 5 years ago

Yes, i use "carthage update --platform iOS" and also trying "carthage update --no-use-binaries"

StanislavKrishu commented 5 years ago

Have you tried removing Carthage folder and re run again carthage update --platform iOS --no-use-binaries?

abrarEpazz commented 5 years ago

No, but i already try to uninstall and reinstall carthage from my system.

StanislavKrishu commented 5 years ago

Also, could you please run swift -version I assume you don't use the latest Xcode for some reason

abrarEpazz commented 5 years ago

i use this swift -version: Apple Swift version 4.2.1 (swiftlang-1000.11.42 clang-1000.11.45.1) Target: x86_64-apple-darwin18.5.0

StanislavKrishu commented 5 years ago

*** Skipped installing RxSwift.framework binary due to the error: "Incompatible Swift version - framework was built with 5.0 (swiftlang-1001.0.69.5 clang-1001.0.46.3) and the local version is 4.2.1 (swiftlang-1000.11.42 clang-1000.11.45.1)."

Was able to reproduce this message by using an older version of Xcode. Though it builds successfully. It just builds from the source

***  Skipped installing RxSwift.framework binary due to the error:
        "Incompatible Swift version - framework was built with 5.0 (swiftlang-1001.0.69.5 clang-1001.0.46.3) and the local version is 4.0.2 (swiftlang-900.0.69.2 clang-900.0.38)."

    Falling back to building from the source
*** Building scheme "RxAtomic" in Rx.xcworkspace

Are you positive that there is a problem?

abrarEpazz commented 5 years ago

positive that there is a problem?

Yes, I have an issue but I think my swift version is older then framework required version, by the way, thanks for helping me. I can update my Xcode and then try to implement if the issue still there after the update then I will post again. Thanks once again :)

abrarEpazz commented 5 years ago

Hi!, @StanislavKrishu I have successfully installed "coinbase-ios-SDK" thanks for your help. I need more help related to Currency Exchange, Currency Convert and Money Transfer in IOS app. Please help me how I do these things in my IOS project? Thanks

StanislavKrishu commented 5 years ago

Hey, @abrarEpazz, glad that you resolved these issues. Have you tried the sample app? It might be a good starting point to see how to use the SDK. Also, there are some instructions and examples that might help You can take a look at API docs to see what this SDK does

Let me know if you have issues running the sample app

abrarEpazz commented 5 years ago

Hi!, @StanislavKrishu Can we use a bank payment method in iOS App like First, we get all bank information through a form in iOS app and then we link this account to Coinbase and after that, we send our money in a bank?

I'm confused about how to integrate bank account in iOS App, and then send money from one bank account to another.

azammuminov commented 3 years ago

Hi!, @StanislavKrishu I have successfully installed "coinbase-ios-SDK" thanks for your help. I need more help related to Currency Exchange, Currency Convert and Money Transfer in IOS app. Please help me how I do these things in my IOS project? Thanks

Hi. How r u doing. May I know your solution? how did u solve that?

jwitcig commented 2 years ago

Hi all, hope we were able to make it past this issue. I'll be closing this out now as we are deprecating the SDK.

I would like to thank you all for your contributions.