Open peileenf opened 5 years ago
IOS simulator is supported. Have you started iOS-Tagent and connected to Airtest IDE with IP address? What does browser show when you open URL http://127.0.0.1:8100/inspector on your Mac? Proxy is no required for the iOS simulator.
And what's the version of your xcode?
my xcode is 10.1 the ios-target is running successfully. I can open the url : http://127.0.0.1:8100/status and inspector { "value" : { "state" : "success", "os" : { "name" : "iOS", "version" : "12.0" }, "ios" : { "simulatorVersion" : "12.0", "ip" : "10.128.60.107" }, "build" : { "time" : "Sep 28 2018 15:37:41" } }, "sessionId" : "477630B4-680C-4F28-8C24-A73ECD93B92E", "status" : 0 }
my sample code is: poco = UnityPoco() button = poco('submit')
button.exists() // the error pops when run any function of the poco object. the same scripts can run successfully in really device.
Can you see the iOS simulator screen projected on the IDE device window? Have you opened proxy? What's the IP address you use on Airtest IDE?
http://127.0.0.1:8100 this is the ip address Yes, I can see the simulator screen in Airtest IDE
Not this one.
It should be the IP showing in the xcode log viewer after you start Test
http://10.128.60.107:8100 this is the ip after I run the ios-target test in xcode. how should I open the proxy?
No need for proxy. IDE can connect to your iPhone with ip http://10.128.60.107:8100 directly.
I tried. but the issue is not fixed. seems it issue related socket send message: https://stackoverflow.com/questions/12591760/flask-broken-pipe-with-requests :(. but I still don't know how to fix....
it might be related the unity app build is not correct.
Please show screenshots instead of text
Remove any following parts if does not have details about
Describe the bug the air test case is failed when the device is IOS simulator
Screenshots A screenshot is strongly recommended. Please include both AirtestIDE window and the black console window.
To Reproduce Steps to reproduce the behaviour:
Expected behaviour air test can open the app by poco setup
Platform:
Mac
Smartphone (please complete the following information):
Additional context