iOS: Allow change of bundle identifier

This patch allows users to set a bundle identifier,
without opening Xcode (set as env. variable).

If the env. variable is not set (like e.g. on Travis) it defaults
to org....

Signed-off-by: Jan Iversen <jani@apache.org>
This commit is contained in:
jan Iversen 2018-05-10 17:55:09 +02:00 committed by Dirk Hohndel
parent a1e9cce50a
commit ff15d48f69
2 changed files with 15 additions and 11 deletions

View file

@ -13,7 +13,8 @@ Follow the instruction in:
and then continue here:
1) cd <repo>/packaging/ios
2) ./build.sh
2) export IOS_BUNDLE_PRODUCT_IDENTIFIER="<your apple id>.subsurface-divelog.subsurface-mobile"
3) ./build.sh
note: this builds all dependencies and is only needed first time
it currently build for armv7 arm64 and x86_64 (simulator)
@ -42,3 +43,7 @@ the hood) gets updated. Otherwise you will continue to see the old version
number, even though the sources have been recompiled which can be very
confusing.
Do a simply version update by running:
build.sh version
and then rebuilding in Qt Creator