From fd775d05bf65d09fd655360407a8f707eb5b2737 Mon Sep 17 00:00:00 2001 From: Viktor Benei Date: Fri, 20 May 2016 17:32:29 +0200 Subject: [PATCH] gem_home fix --- step.sh | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/step.sh b/step.sh index d9e17738..4bfa237e 100644 --- a/step.sh +++ b/step.sh @@ -237,6 +237,14 @@ eval $archive_cmd # # Exporting the ipa with Xcode Command Line tools + +# You'll get a "Error Domain=IDEDistributionErrorDomain Code=14 "No applicable devices found."" error +# if $GEM_HOME is set and the project's directory includes a Gemfile - to fix this +# we'll unset GEM_HOME as that's not required for xcodebuild anyway. +# This probably fixes the RVM issue too, but that still should be tested. +unset GEM_HOME + +# export_command="xcodebuild -exportArchive" if [[ "${xcode_major_version}" == "6" ]] ; then