summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--packaging/ios/ios_build_instructions31
1 files changed, 31 insertions, 0 deletions
diff --git a/packaging/ios/ios_build_instructions b/packaging/ios/ios_build_instructions
new file mode 100644
index 000000000..46eef1ea3
--- /dev/null
+++ b/packaging/ios/ios_build_instructions
@@ -0,0 +1,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!