summaryrefslogtreecommitdiffstats
path: root/packaging/ios/ios_build_instructions
blob: 46eef1ea3cad6125caa595e9b311db7d04a47df0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
Build instructions for iOS

[since you have this file, you have already cloned subsurface. Great]

Make sure, you have iOS packages for Qt installed (in my case 5.5 was sufficient).

Get a developper account on developer.apple.com .

Connect your phone, make sure XCode is seeing it in the Devices window. Open one of the
sample iOS apps in XCode click the play button and follow the steps there to create a
provisioning profile. Make sure the bundle Identifier is something like

YOURNAME.subsurface-mobile

Back in the shell

> cd subsurface/packaging/ios
> bash build.sh

In Info.plist.In locate the key CFBundleIdentifier and change its value to

YOURNAME.subsurface-mobile

open QtCreator and there open Subsurface-mobile/Subsurface-mobile.pro

select the Kit iphoneos-clang

and press the play button. Have patience (you can watch the progress in the Compile Output
window).

Make sure the phone is unlocked. Tata!