I cannot start on Spy or Run test on my real iOS device, issue as below :
Although I successfully ran the test on terminal
I can go to Xcode>Windows>Devices and Simulator and install the application there just fine.
Some information :
Appium : 1.12.1
Xcode : 10.2
For best compatibility, it’s recommended that you use Appium Server 1.8.2-beta with Katalon 6.x and Xcode 10.x:
npm install -g email@example.com
Here are some other common troubleshooting tips that you can try as well:
Mobile Testing Exception Troubleshooting Tips
Here are some common troubleshooting steps to take when you encounter errors trying to spy, record, or execute a mobile test in Katalon Studio:
If you see one of the following exceptions, you should check your Appium installation:
“java.util.HashMap cannot be cast to org.openqa.selenium.WebElement”
“Unable to parse remote response”
“Support for xcode 0.1 is not supported. please upgrade to version 7.3 or hig…
Hope this helps,
Thanks Chris for your quick response.
However Appium 1.8.2 still does not work for me
When I start test, I get the error unable to start app
When I try to Spy/Record, it is still an old error, “null” cannot be coerced.
This might be a problem with the Coffee Timer ipa file that came as a sample. For the best results of running a test with that app, I would recommend rebuilding it for your machine. Here are some instructions on how to create a file that you can test:
Thanks for sharing the output log - it’s very helpful when troubleshooting!
From your log, I see a part that is probably causing the issue:
[debug] [XCUITest] Verifying application platform
[debug] [XCUITest] CFBundleSupportedPlatforms: ["iPhoneOS"]
[XCUITest] Simulator architecture appears to be unsupported by the '/var/folders/7g/21lzx8w51_n1wh47vz05l_zr0000gp/T/20181029-24155-ygn8wr.w898s/Payload/Coffee Timer.app' application. Make su…
Hope this helps,