diff options
author | jan Iversen <jani@libreoffice.org> | 2018-05-06 17:59:57 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2018-05-09 14:40:31 +0200 |
commit | a351393739ee8541abb05ce5fce25e8a6404c55d (patch) | |
tree | 8c40fa72ded7105676c0c7c5d5672a11087a8490 /packaging/ios/README | |
parent | f4a9571da54a2fc2bb95e9e0185c6ef9861f839a (diff) | |
download | subsurface-a351393739ee8541abb05ce5fce25e8a6404c55d.tar.gz |
iOS: update build instractions
Updated INSTALL to point at packaging/ios/README
Updated README to 'facts'
Deleted ios_build_instructions as they are covered in README
[Dirk Hohndel: refactored Jan's original commit in #1241]
Signed-off-by: Jan Iversen <jani@apache.org>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'packaging/ios/README')
-rw-r--r-- | packaging/ios/README | 33 |
1 files changed, 11 insertions, 22 deletions
diff --git a/packaging/ios/README b/packaging/ios/README index a155768f6..d12729d37 100644 --- a/packaging/ios/README +++ b/packaging/ios/README @@ -1,36 +1,25 @@ Tool repo to crosscompile subsurface for iOS -------------------------------------------- -The interaction between the different tools seems quite fragile. - Dependencies: - This only works on a Mac -- XCode with iOS SDK and Qt5.6 or later +- XCode with iOS SDK and Qt5.9 or later - cmake -Steps to install: - -Step 1. -Install current XCode with the iOS SDK -And QT for android from: http://qt-project.org/downloads, including the iOS bits +Follow the instruction in: +<repo>/INSTALL -Step 2. -Extract and install these into known directories. -Have a look in the top of build.sh for where the cross build tool expects -them. Create a symbolic link named Qt in this directory to point to the top -of the Qt installation, e.g. -ln -s ~/Qt5.7.1 Qt +and then continue here: -Step 3. -Run bash build.sh in the terminal. -The script will download and build the whole dependency chain, but not the actual -Subsurface-mobile binary +1) cd <repo>/packaging/ios +2) ./build.sh +note: this builds all dependencies and is only needed first time + it currently build for armv7 arm64 and x86_64 (simulator) -Step 4. -Launch the version of QtCreator that was installed in Step 2 above and open -Subsurface-mobile/Subsurface-mobile.pro -Build Subsurface-mobile in QtCreator - you can build for the simulator and for +1) cd <repo>/.. +2) Launch QtCreator and open subsurface/packaging/ios/Subsurface-mobile/Subsurface-mobile.pro +3) Build Subsurface-mobile in QtCreator - you can build for the simulator and for a device and even deploy to a connected device. Everything up to here you can do without paying for an Apple Developer account. |