Instantly share code, notes, and snippets.

Embed
What would you like to do?
xcrun PackageApplication
/usr/bin/xcrun -sdk iphoneos PackageApplication -v "${RELEASE_BUILDDIR}/${APPLICATION_NAME}.app" -o "${BUILD_HISTORY_DIR}/${APPLICATION_NAME}.ipa" --sign "${DEVELOPER_NAME}" --embed "${PROVISONING_PROFILE}
@alexlee002

This comment has been minimized.

alexlee002 commented Jan 15, 2015

how to use it to export IPA with app and an extension?

@nicwise

This comment has been minimized.

nicwise commented Feb 12, 2015

@alexlee002 same issue here. I'm trying to use codesign to do it:

cp "${PROVISIONING_PROFILE_PLUGIN}" "${APP}/PlugIns/todayWidget.appex/embedded.mobileprovision"
codesign -v -f -s "${SIGNING_IDENTITY}" "${APP}/PlugIns/todayWidget.appex"

But so far, no luck (it'll sign, but it resulting app doesn't work)

@dovd

This comment has been minimized.

dovd commented May 15, 2015

Embed the provisioning profiles before signing
Sign the extension first, then sign the app with the extension in it's PlugIns folder. Afterwards, PackageApplication without signing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment