- Download latest carthage from https://github.com/Carthage/Carthage/releases
- Select proper command line tool from Xcode > Preferences > Locations
- Disable bitecode at build settings.
To use NRLWalletSDK, need to make Cartfile at the root folder of your project.
github "krzyzanowskim/CryptoSwift"
github "attaswift/BigInt" ~> 3.0
github "Boilertalk/Web3.swift"
github "Alamofire/Alamofire" ~> 4.7
github "Hearst-DD/ObjectMapper" ~> 3.2
github "SwiftyJSON/SwiftyJSON" ~> 4.0
github "gedanziger/nrlwallet-ios-sdk"
Once you made cartfile, you can now update carthage.
carthage update --platform iOS
After update carthage, now you can embed frameworks to your target.
- Select target to integrate with NRLWalletSDK.
- General tab and go to Embedded Binaries section.
- Push plus button and import frameworks which was made from carthage.
Now you can use NRLWalletSDK!
- make Cartfile at the root folder of project
github "krzyzanowskim/CryptoSwift"
github "attaswift/BigInt" ~> 3.0
github "Boilertalk/Web3.swift"
github "Alamofire/Alamofire" ~> 4.7
github "Hearst-DD/ObjectMapper" ~> 3.2
github "SwiftyJSON/SwiftyJSON" ~> 4.0
github "gedanziger/nrlwallet-ios-sdk"
- run following command
carthage update --platform iOS --no-use-binaries
https://github.com/O3Labs/neo-utils need setting of bitcode disabled need to manually include from O3Labs to build neo-utils, need to install go and go-mobile
can be downloaded from BitcoinSPV pod. or
https://github.com/bitcoin-core/secp256k1 need to add in Libraries manually
https://github.com/keeshux/BitcoinSPV/ need to add in Libraries manually
can be downloaded from BitcoinSPV pod. or
to libs of libssl and libcrypto should be explicitly included as linked library of NRLWalletSDK
https://github.com/openssl/openssl need to add in Libraries manually
https://github.com/litecoin-foundation/loafwallet-ios only included loafwallet-core
https://github.com/Soneso/stellar-ios-mac-sdk only included part of this sdk, so need to update for each files
carthage update --platform iOS --no-use-binaries
carthage build --no-skip-current carthage archive NRLWalletSDK
git push ---> this carthage can be used as global carthage file
https://github.com/stellar/go/releases/ stellar-hd-wallet
- If there exists carthage errors, try following console commands, which will clear carthage cache.
rm -rf ~/Library/Caches/org.carthage.CarthageKit rm -rf ~/Library/Caches/carthage
- If there exists carthage dependency problem between web3 and promisekit, please refer the dependency version from web3