Skip to content

Commit 7bde2ea

Browse files
committed
less verbose log
1 parent 2ddd655 commit 7bde2ea

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

step.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -191,11 +191,10 @@ if [[ "${xcode_major_version}" == "6" ]] ; then
191191
-exportPath "${ipa_path}" \
192192
-exportProvisioningProfile "${profile_name}"
193193
else
194-
set -x
195-
196194
echo " (i) Using Xcode 7 'exportOptionsPlist' option"
197195

198196
if [ -z "${export_options_path}" ] ; then
197+
set -x
199198
export_options_path="${output_dir}/export_options.plist"
200199
curr_pwd="$(pwd)"
201200
cd "${THIS_SCRIPT_DIR}"
@@ -204,12 +203,12 @@ else
204203
-o "${export_options_path}" \
205204
-a "${archive_path}"
206205
cd "${curr_pwd}"
206+
set +x
207207
fi
208208

209209

210210
#
211211
# Export the IPA
212-
213212
echo "Content of exportOptionsPlist file:"
214213
cat "${export_options_path}"
215214

@@ -225,9 +224,10 @@ else
225224
echo "=> Applying RVM 'fix'"
226225
[[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm"
227226
rvm use system
228-
set -x
229227
fi
230228

229+
set -x
230+
231231
xcodebuild -exportArchive \
232232
-archivePath "${archive_path}" \
233233
-exportPath "${output_dir}" \

0 commit comments

Comments
 (0)