Skip to content

Commit

Permalink
fix(build): add check on exported ipa
Browse files Browse the repository at this point in the history
  • Loading branch information
gfanton committed Nov 6, 2018
1 parent f38b054 commit 935b636
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion client/react-native/Makefile
Expand Up @@ -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
Expand Down

0 comments on commit 935b636

Please sign in to comment.