Hello, I’m attempting to automate flutter using the appium flutter driver. I’m able to connect to real Android devices, but I was unable to do so with real iOS devices.
const opts = {
//path :’/wd/hub/’,
port: 4723,
capabilities: {
‘platformName’: ‘iOS’,
‘appium:platformVersion’: ‘15.4’,
‘appium:deviceName’: ‘RXTTiPhone’,
‘appium :udid’:‘bab36a9fa8f5c03e3ae1c9dc396feeb397f88535’,
‘appium:automationName’: ‘Flutter’,
‘appium:bundleID’:‘net.redeemx.patron.testApp’,
‘appium:retryBackoffTime’: 500
}
};
I am attempting to connect with a real device, but Appium keeps searching in the simulator. I have attached a screenshot of the error I encountered.
I tried it, when i run the code i received the below error message
WARN webdriver: Request failed with status 500 due to An unknown server-side error occurred while processing the command. Original error: Unable to launch WebDriverAgent because of xcodebuild failure: xcodebuild failed with code 65
Thanks for the reply, I tried this but still face the issues, is this for native app or common to flutter app also, if not could you please provide the real device iOS capabilities for flutter app By using the appium flutter driver
I put a tutorial in the first reply to this thread that has all this information. It includes capabilities for both Android and iOS. Can you not follow the tutorial?