Bitmark SDK for Swift
The official Bitmark SDK for Swift
- iOS 11.0+
- Xcode 10.0+
- Swift 4.0+
CocoaPods is a dependency manager for Cocoa projects. You can install it with the following command:
$ gem install cocoapods
CocoaPods 1.1+ is required to build BitmarkSDK 2.0+.
To integrate BitmarkSDK into your Xcode project using CocoaPods, specify it in your
source 'https://github.com/CocoaPods/Specs.git' platform :ios, '11.0' use_frameworks! target '<Your Target Name>' do pod 'BitmarkSDK' # or pod 'BitmarkSDK/RxSwift' end
Then, run the following command:
$ pod install
Carthage is a decentralized dependency manager that builds your dependencies and provides you with binary frameworks.
You can install Carthage with Homebrew using the following command:
$ brew update $ brew install carthage
To integrate BitmarkSDK into your Xcode project using Carthage, specify it in your
github "bitmark-inc/bitmark-sdk-swift" ~> 2.2.0
carthage update to build the framework and drag the built
BitmarkSDK.framework into your Xcode project.
Swift Package Manager
Please refer to our SDK Document.
This is a sample project. It shows how to use Bitmark SDK for Swift.
If you encounter a bug with the Bitmark SDK for Swift we would like to hear from you. Search the existing issues and try to make sure your problem doesn’t exist yet before opening a new issue. It’s helpful if you could provide the version of the SDK, Swift and OS you’re using. Please include a stack trace and reproducible case if possible.
Copyright (c) 2014-2019 Bitmark Inc (email@example.com).
Permission to use, copy, modify, and distribute this software for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies.
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.