âī¸Build & Install
Build from source
Use the following commands to download and build source code:
Note: Different versions of CocoaPods will lead to compilation errors. Please keep the latest version. Use the following commands to update CocoaPods.
Then use the Apple Xcode to build ElastosHiveSDK target and generate ElastosHiveSDK.framework.
##Tests
Getting started
Open the ElastosHiveSDK.xcworkspace and Select TestHost target to run unit tests. Then press Command-6 to open the Test navigator. There are three ways to run the tests:
1.Product ⸠Test or Command-U. Both of these run all test classes.
2.Click the arrow button in the Test navigator.
3.Click the diamond button in the gutter.
You can alse run an individual test method by clicking its diamond, either in the Test navigator or in the gutter.
When all the tests succeed, the diamonds will turn green and show checkmarks.
CocoaPods
Pod install
The distribution would be published to the CocoaPods platform. So, the simple way to use ElastosHiveSDK.framework is to add the following line to your Podfile:
Then run the command below to install it before open your Xcode workspace:
Last updated