Failed to create session. The requested resource could not be found, or a request was received using an HTTP method that is not supported by the mapped resource error is throwing on appium inspector when trying with real iOS device.
software installation: Appium v2.0.1 Appium Inspector v2023.8.4 node v20.5.1 npm v9.8.0 iPhone 14 Pro Max 16.6OS
I need to launch project related application on appium Inspector but facing above mentioned error!!
Thanks for your quick help. but now I am facing below error.
Failed to create session. An unknown server-side error occurred while processing the command. Original error: â16.6â does not exist in the list of simctl SDKs. Only the following Simulator SDK versions are available on your system: 16.2, 16.4!
Hi ido_oserovitz ,
For 16.2 and 16.4 os its working for me.
but I am using real device iPhone 14 Pro Max having 16.6 os. I want to execute automation on real device only.
I donât run my tests on a real device so it may be different but in order to add a new iOS version you need to enter Xcode -> settings -> platforms -> click the add button(left corner) and choose iOS 16.6 version(if you donât see it then update your Xcode version). install the version and then it should work. you will have iOS 16.6 SDK so the driver(which uses simctl) will be able to interact with a 16.6 iOS version simulator.
When I am installing webDriverAgentRunner and project app then I am getting untrusted application pop up in real device for every time due this I am not able to launch application.
while automation I canât handle this pop up and my script get failed. do you have any solution to trust both webDriverAgentRunner and project app permanent in iphone
Thank you so much for help
Finally, my automation is working on real device with 16.6 iOS using below desire capability
âplatformNameâ: âiOSâ,
âappium:platformVersionâ: â16.6â,
âappium:deviceNameâ: â-----â,
âappium:automationNameâ: âXCUITestâ,
âappium:udidâ: â--------â,
âappium:xcodeOrgIdâ: â----â,
âappium:appâ: â----â,
âappium:xcodeSigningIdâ: âApple Distributorâ,
âappium:noResetâ: true,
âappium:fullResetâ: false,
âappium:useNewWDAâ: false,
âappium:usePrebuiltWDAâ: true