Skip to content

Commit 3f641bd

Browse files
committed
Merge branch 'master' of github.com:bitrise-io/steps-xcode-archive
2 parents 7c48a3b + ab91731 commit 3f641bd

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

step.sh

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -237,6 +237,14 @@ eval $archive_cmd
237237

238238
#
239239
# Exporting the ipa with Xcode Command Line tools
240+
241+
# You'll get a "Error Domain=IDEDistributionErrorDomain Code=14 "No applicable devices found."" error
242+
# if $GEM_HOME is set and the project's directory includes a Gemfile - to fix this
243+
# we'll unset GEM_HOME as that's not required for xcodebuild anyway.
244+
# This probably fixes the RVM issue too, but that still should be tested.
245+
unset GEM_HOME
246+
247+
#
240248
export_command="xcodebuild -exportArchive"
241249

242250
if [[ "${xcode_major_version}" == "6" ]] ; then

0 commit comments

Comments
 (0)