How to build iOS simulator and iOS device ?

jani at apache.org jani at apache.org
Wed May 2 09:42:34 PDT 2018


Hi

I am building in total 6 variants of subsurface (iOS-Simulator, iOS-Device, MacOS all in debug/release mode),  and right now there are no “nice” work.

When using an Xcode project, hiding the developer id is easy, it is just to add
export IOS_CODEID="iPhone Developer: <name> (<id>)” to your .bash_profile, and Xcode will automatically pick it up.

While developing I always generate the 3 platforms with debug, and only the final testing is with release.

I have been playing with “upgrading”  ./subsurface/scripts/build.sh to understand the 2 iOS variants (replace -mobile) so I could  change the option “-both” to “-all3” (or something).

However I am thinking of instead making a Xcode project with all paths relative, so it can be used by anyone. Having a Xcode project would also allow me not to build the libraries constantly (calling build.sh without options for some reason builds google maps every time).

How would a Xcode project be received (of course provided it can build the external libraries, with their own configure/make) ?

We would get rid of qmake from iOS, and testing (with Xcode) would be a lot easier.

Looking forward to get comments.
rgds
Jan I.



More information about the subsurface mailing list