Special thanks to Michael G. Kazakov.
iOS port of the XMR-STAK-CPU mining software. The port allows to mine Monero cryptocurrency on iPhones and iPads.
Workability of this solution was tested on iOS11 and Xcode9.
Some details about the port are given here: https://kazakov.life/2017/11/01/cryptocurrency-mining-on-ios-devices/
- Prerequisites: Xcode and CocoaPods are installed.
- Get the source code and its dependencies:
git clone --recursive https://github.com/mikekazakov/xmr-stak-cpu-ios
cd xmr-stak-cpu-ios
pod install
- Open xmr-stak-cpu-ios.xcworkspace and set the proper signing certificate.
- Adjust config.txt settings according to your pool and wallet information.
- Build the app and run it on the device.
Ensure you're using the Release configuration, not the Debug!
To check it, open in Xcode: Product->Scheme->Edit Scheme...->Run->Info->Build Configuration.