Only thing I found to make it work is manually specifying provisioning profile as custom xcodebuild arguments:

1. Add Execute shell step before Xcode and place this:

echo "PROVISIONING_ID=`/usr/libexec/PlistBuddy -c 'Print UUID' /dev/stdin <<< $(security cms -D -i ${WORKSPACE}/Resources/profile.mobileprovision)`" > env.properties

(fix the path to provisioning file)

2. Add Inject environment variables step after Execute shell step and set Properties File Path to env.properties

3. In Xcode step, click Settings, then Advanced build settings... and fill Custom xcodebuild arguments with:

PROVISIONING_PROFILE=${PROVISIONING_ID}

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira

--
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to