Skip to main content
Transform your testing process with: Real Device Features, Company-wide Licences, & App Percy
No Result Found
Get your setup working faster. Join our Discord for optimisation tips from elite testers. Join our DiscordJoin our Discord

Disable re-signing of Enterprise distributed apps for XCUI tests

Disable re-signing of Enterprise distributed apps to test features like push notifications and universal links in your XCUI tests on BrowserStack App Automate.

If you upload your app to BrowserStack servers using our REST API, we re-sign the app with our own provisioning profile to be able to install your app on our devices during test execution. This process removes the entitlements from your iOS app.

However, if your app is already signed using the Apple Developer Enterprise Program, you can disable this behavior to test features such as push notifications and universal links on BrowserStack devices. To do so, use the resignApp parameter and set it to false in the REST API request while executing your XCUI test suite. Here is an example cURL request to demonstrate this:

curl -u "YOUR_USERNAME:YOUR_ACCESS_KEY" \
-X POST "https://api-cloud.browserstack.com/app-automate/xcuitest/v2/build" \
-d '{"devices": ["iPhone X-11"], "app": "<app_url>", "testSuite": "<test_suite_url>",
	"resignApp":"false"}' \
-H "Content-Type: application/json"

Webviews do not work with resignApp option set to false.

We're sorry to hear that. Please share your feedback so we can do better

Contact our Support team for immediate help while we work on improving our docs.

We're continuously improving our docs. We'd love to know what you liked





Thank you for your valuable feedback

Is this page helping you?

Yes
No

We're sorry to hear that. Please share your feedback so we can do better

Contact our Support team for immediate help while we work on improving our docs.

We're continuously improving our docs. We'd love to know what you liked





Thank you for your valuable feedback!

Talk to an Expert
Download Copy Check Circle