Xcode (9.x), cmake, docker, git
Native simple wrapper for status-go for iOS and Android.
Used for testing energy efficiency of status-go on a device itself.
- Check-out the latest status-go
- set environment variable
$STATUS_GO_HOME
make statusgo-ios
open ios/status-go-tester/status-go-tester.xcodeproj
- You are ready to measure!
‼️ you should use Wifi debugging to be able to trace energy consumption! Here's how to enable it: Enable Wireless Builds
- Run the app with Xcode
- Go to the Debug Navigator (press
⌘+7
) - Go to the "Energy" tab.
Now it's time to measure battery consumption while performing a test / experiment. To get an idea what kind of test you should perform, check types of experiments
-
Checkout the branch of
status-react
you want to test. -
Update your toolkit with
make setup
-
Build a release version
make release-ios
-
Open the workspace in Xcode
open ios/StatusIm.xcworkspace/
-
Select your device & press "Product->Run".
-
Listen to the music of the fans of your computer.
-
Go to the Debug Navigator (press
⌘+7
) -
Go to the "Energy" tab.