Building iOS Subsurface-mobile

Dirk Hohndel dirk at hohndel.org
Mon Apr 10 18:48:24 PDT 2017


> On Apr 10, 2017, at 2:52 PM, Robert Helling <helling at atdotde.de> wrote:
> 
> Hi,
> 
> yesterday, after managing to build the mobile app on the desktop again, I decided I should try to also build the iOS version (some months ago, I was able to do that but many things happened since then). But after investing about two hour, I still fail. After fixing a few other things, when I run the build.sh in subsurface/packaging/ios I get a complaint about a missing header file 
> 
> [  0%] Building C object CMakeFiles/git2.dir/src/stransport_stream.c.o
> /Users/Helling/src/ios/subsurface/packaging/ios/libgit2-0.23.4/src/stransport_stream.c:10:10: fatal error: 'CoreFoundation/CoreFoundation.h' file not found
> #include <CoreFoundation/CoreFoundation.h>
> 
> According to locate, I have 16 versions of a file called CoreFoundation.h on my system, but none in a directory of a similar name. Anybody any idea? Could this be due to my Mac running MacOS Sierra? Who else (besides Dirk) is currently being able to build the iOS version? Which OS version are you using? Any further ideas?

I am building on Sierra with Xcode 8.1

I just on Saturday did a complete build from scratch, so I'm reasonably certain that this should work.

The only oddity is that you need to run build.sh to create all of the libs / dependencies, then Qt Creator (and that one needs to be for the same version that the 'Qt' link points to) and build Subsurface-mobile itself, otherwise it doesn't seem to work.

/D

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.subsurface-divelog.org/pipermail/subsurface/attachments/20170410/1268b4bd/attachment.html>


More information about the subsurface mailing list