From 935b636512b1fc68a82ab548f5f9f849b5837eff Mon Sep 17 00:00:00 2001 From: Guilhem Fanton Date: Tue, 6 Nov 2018 12:42:05 +0100 Subject: [PATCH] fix(build): add check on exported ipa --- client/react-native/Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/client/react-native/Makefile b/client/react-native/Makefile index 1e8990517b..f14d5f61c8 100644 --- a/client/react-native/Makefile +++ b/client/react-native/Makefile @@ -257,8 +257,11 @@ fastlane.ios.build: GYM_INCLUDE_SYMBOLS=false \ time bundle exec fastlane ios build --verbose + # test if ipa has been correctly exported + test -f $(BUILD_IOS)/$(NAME).ipa + # extract build informations - unzip -p $(BUILD_IOS)/$(NAME).ipa Payload/Berty.app/embedded.mobileprovision | security cms -D > $(BUILD_IOS)/$(NAME).embedded.mobileprovision.txt || true + unzip -p $(BUILD_IOS)/$(NAME).ipa Payload/Berty.app/embedded.mobileprovision | security cms -D > $(BUILD_IOS)/$(NAME).embedded.mobileprovision.txt fastlane.ios.release: time bundle exec fastlane run pilot upload --verbose ipa:$(BUILD_IOS)/Berty.ipa skip_waiting_for_build_processing:true