2015-12-20 16:28:37 +00:00
|
|
|
Tool repo to crosscompile subsurface for iOS
|
|
|
|
--------------------------------------------
|
2015-12-20 14:03:05 +00:00
|
|
|
|
|
|
|
Dependencies:
|
|
|
|
|
2015-12-20 16:28:37 +00:00
|
|
|
0. This only works on a Mac
|
|
|
|
1. XCode with iOS SDK and Qt5.5. See below
|
2015-12-20 14:03:05 +00:00
|
|
|
2. cmake
|
|
|
|
3. ant
|
2015-12-20 16:28:37 +00:00
|
|
|
4. dependencies of libdivecomputer and subsurface -
|
2015-12-20 14:03:05 +00:00
|
|
|
visit http://subsurface.hohndel.org/documentation/building/
|
|
|
|
|
|
|
|
Steps to install:
|
|
|
|
|
|
|
|
Step 1.
|
2015-12-20 16:28:37 +00:00
|
|
|
Install current XCode with the iOS SDK
|
|
|
|
And QT for android from: http://qt-project.org/downloads, including the iOS bits
|
|
|
|
|
|
|
|
Step 2.
|
2015-12-20 14:03:05 +00:00
|
|
|
Extract and install these into known directories.
|
|
|
|
Have a look in the top of build.sh for where the cross build tool expects
|
2015-12-20 16:28:37 +00:00
|
|
|
them. By default thats is: ../../../Qt/5.5
|
2015-12-20 14:03:05 +00:00
|
|
|
|
|
|
|
Step 2.
|
2015-12-20 16:28:37 +00:00
|
|
|
Run bash build.sh in the terminal.
|
2015-12-20 14:03:05 +00:00
|
|
|
The script will download and build the whole dependency chain.
|
|
|
|
|
2015-12-20 16:28:37 +00:00
|
|
|
After this, Subsurface-mobile will be built for iOS.
|
2015-12-20 14:03:05 +00:00
|
|
|
|
2015-12-20 16:28:37 +00:00
|
|
|
The output folder is subsurface-build-ios and your newly created package shows
|
|
|
|
up as:
|
|
|
|
subsurface-build-ios/.... something
|