TestProject Forum

Can't get tests to run from TestProject app to SauceLabs

I’ve created an IPA file based on an APP file and uploaded it to TestProject. I have a bunch of virtual emulators in SauceLabs and have some tests setup. I’ve gotten the tests to work perfectly fine on my physical phone using the agent. However, when I try to run the test on virtual devices on SauceLabs, it always fails with this error:

Sauce Labs Error:
message": "An unknown server-side error occurred while processing the command. Original error: Simulator architecture is unsupported by the '/var/folders/..../Develop.app' application. Make sure the correct deployment target has been selected for its compilation in Xcode.", "error": "unknown error"

TestProject Error:
Infrastructure Error – The Sauce VMs failed to start the browser or device.
For more information, please check: Common Error Messages - The Sauce Labs Cookbook - Sauce Labs Documentation Wiki

Please make sure that:

1. Your application file (apk/ipa) is compatible with emulators/simulators
Android: https://developer.android.com/ndk/guides/abis
iOS: https://help.apple.com/xcode/mac/current/#/dev544efab96

2. Your application is not a system app that cannot be uninstalled

More information can be found in the log files on Sauce Labs

If I upload the exact same IPA file to SauceLabs, I can run manual tests just fine without any problem. It’s only when I upload the IPA file to TestProject and try and run the project to SauceLabs does it fail.

Any thoughts? Thanks!

The current integration of TestProject with Sauce Labs support iOS simulators only, you need to build the same IPA but for simulator, then upload it to TestProject under different app name or just replace it within the existing app, then use the simulator version to Run you tests on Sauce from TestProject (you can change the app name in the test edit option you you create a new app for it)

Ah, thanks. I will ask my dev to build an IPA file for simulators.