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"
resignApp
option set to false.
Related topics
-
Manage your uploaded app or test suite using our upload app REST API and upload test suite REST API.
-
Use the get app API endpoint and list test suites API endpoint to list your recently uploaded apps and test suites.
-
Delete your uploaded app or test suite using the delete app API endpoint and delete test suite API endpoint.
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
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!