Skip to content

Commit

Permalink
Merge pull request #8 from bitrise-io/multiple-embedded-profiles
Browse files Browse the repository at this point in the history
Multiple embedded profiles
  • Loading branch information
viktorbenei committed Aug 30, 2015
2 parents f779bf2 + 121243a commit 5acc7fc
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion step.sh
Original file line number Diff line number Diff line change
Expand Up @@ -414,7 +414,9 @@ if [[ "${XCODE_BUILDER_ACTION}" == "archive" ]] ; then
# Get the name of the profile
IFS=$'\n'
embedded_mobile_prov_path=""
for a_emb_path in $(find "${ARCHIVE_PATH}/Products/Applications" -type f -ipath '*.app/embedded.mobileprovision')

# We need -maxdepth 2 because of the `*.app` directory
for a_emb_path in $(find "${ARCHIVE_PATH}/Products/Applications" -type f -maxdepth 2 -ipath '*.app/embedded.mobileprovision')
do
echo " * embedded.mobileprovision: ${a_emb_path}"
if [ ! -z "${embedded_mobile_prov_path}" ] ; then
Expand Down

0 comments on commit 5acc7fc

Please sign in to comment.