I have deployed subsurface to my own device! Yay! Here is what I had to do (and 
of course: Thanks Dirk and Tomaz for paving 99% of the path).

From c55f2e4992c26d4cb8586f5bcf16bd37f6d7f3fc Mon Sep 17 00:00:00 2001
From: "Robert C. Helling" <[email protected]>
Date: Wed, 6 Apr 2016 21:56:18 +0200
Subject: [PATCH] Build instructions to deplay on you own iOS device
To: [email protected]

... so others might have less trouble.
---
 packaging/ios/ios_build_instructions | 32 ++++++++++++++++++++++++++++++++
 1 file changed, 32 insertions(+)
 create mode 100644 packaging/ios/ios_build_instructions

diff --git a/packaging/ios/ios_build_instructions 
b/packaging/ios/ios_build_instructions
new file mode 100644
index 0000000..3754266
--- /dev/null
+++ b/packaging/ios/ios_build_instructions
@@ -0,0 +1,32 @@
+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!
+
-- 
2.6.4 (Apple Git-63)


Best
Robert

Attachment: signature.asc
Description: Message signed with OpenPGP using GPGMail

_______________________________________________
subsurface mailing list
[email protected]
http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface

Reply via email to