Like the title says, how can I force an iOS simulator test instead of an iOS real device test? What capabilities must change?
Best answer by dylanatsauce
View originalLike the title says, how can I force an iOS simulator test instead of an iOS real device test? What capabilities must change?
Best answer by dylanatsauce
View originalHey Max!
There’s two considerations here. Firstly your app needs to be compatible with the iOS Simulator. Secondly, the capabilities need to be changed from targeting a real device, to targeting the simulator.
You can find instructions on building your app for the simulator in our docs. Of note; you will have to re-build your app for the simulator you’re targeting; you can’t just re-use an existing app. Once you’ve built your app, upload it to Sauce Storage. Our storage docs are here. The easiest way is to use our website, but if you’re integrating with a CI system, you might want to use the REST API instead, to automate things.
This is a step by step guide for transforming your capabilities, and it should work in most cases.
deviceName
to that device, ensuring you keep the “Simulator” part, eg: “iPhone 8 Simulator”tabletOnly
or phoneOnly
privateDevicesOnly
cacheId
carrierConnectivityOnly
noReset
recordDeviceVitals
enableAnimations
webkitResponseTimeout
webkitDebugProxyPort
No account yet? Create an account
Enter your username or e-mail address. We'll send you an e-mail with instructions to reset your password.