Launching app to test on iOS platform

I’m trying to tests an app on a iOS device but I recibe the same issue with all the aps:

An unknown server-side error occurred while processing the command. Original error: Simulator architecture is unsupported by the ‘/Users/davidlopez/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Build/Products/Debug-iphoneos/’ application. Make sure the correct deployment target has been selected for its compilation in Xcode.

Can somone help me?

iOS Devices use ARM processors, but the Mac has an X86 processor so the app needs to be recompiled for that architecture. You’ll need to rebuild the app with a simulator as the build target:

Okey, so thanks! That helps me