We are currently facing a challenge with automated testing of enterprise applications on iOS 18 using Appium. The issue arises during the approval process of unsigned enterprise apps, which involves navigating to Settings → General → VPN & Device Management → Approve. Post-approval, iOS 18 requires a device reboot, which disrupts our automated test flow.
We expect that the approval of the enterprise application should not require a device reboot, or that there should be an automated method to handle this approval, allowing us to continuously execute tests including app install and uninstall cycles.
Steps to Reproduce:
- Install an unsigned enterprise application on a device running iOS 18.
- Navigate to Settings → General → VPN & Device Management → Approve to approve the application.
- After approval, iOS requests a device reboot.
- The automated testing flow is interrupted after the reboot, making it impossible to install and uninstall the app repeatedly as part of the test cycle.
Environment:
- iOS 18
- Appium version: [email protected]
- Device: Iphone 14 Plus
Is there any known workaround or upcoming fix in Appium that could address the issue of managing enterprise app approvals without requiring a device reboot? Alternatively, do you have recommendations for handling this within our automated test flow?
Note: I am aware that this problem stems from changes introduced in iOS 18. However, I am curious to know if anyone has found a viable or smart solution to mitigate this issue.
Thank you for your support !