Disable re-signing of app

If you upload your app to BrowserStack servers using our REST API, we will re-sign the app with our own provisioning profile to be able to install your app on our devices during test execution. This process will result in removal of entitlements from your iOS app. However, if your app is already signed using Apple Developer Enterprise Program, you can disable this behaviour to test features such as push notifications and universal links on BrowserStack devices. In order 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": "bs://f7c874f21852ba57957a3fdc33f47514288c4ba4", "testSuite": "bs://e994db8333e32a5863938666c3c3491e778352ff"
	"resignApp":"false"}' \
-H "Content-Type: application/json"
Note: Webviews will 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
Talk to an Expert