Skip to content

Installation iOS

Jianzhu Huai edited this page Dec 4, 2021 · 4 revisions

Build and install from source

Requirement: Xcode IDE (e.g., 10.1, 10.3), and an iOS device with iOS 8.0+.

You may need to enable the Developer mode of the iOS device, please refer to here.

Open the MarsLogger project in Xcode.

Connect the iOS device to the computer, and select the device in Xcode to run the app.

If you encounter issues about certificates, please refer to the excellent explanations by Chris Ching at here.

Install from App Store

To be added.

Troubleshooting

"Failed to create provisioning profile"

Referring to here and the hint within the error message, you may "change your bundle identifier to a unique string to try again".

"Permission failure: Your account does not have permission to create iOS Distribution certificates"

You do not need iOS Distribution certificates. An iOS Development certificate suffices.

In building MarsLoggerOpenCV: 'opencv2/opencv.hpp' file not found.

MarsLoggerOpenCV depends on the opencv framework which can be installed as below.

Download opencv2.framework from here to a local directory, e.g., marslogger_ios/Thirdparty.

Then include the framework in the configuration for the MarsLoggerOpenCV target by choosing tab Build Phases, and then the drop list Link Binary With Libraries > + > Add Other... > Add Files..., and final select the OpenCV framework under Thirdparty folder.

For visual guidance, see here.