Appium flutter driver

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.

Environment:
Appium v2.0.0-beta.48
node v18.12.1
xcode 14

Details
const opts = {
port: 4723,
capabilities: {
‘platformName’: ‘iOS’,
‘appium:platformVersion’: ‘15.4.1’,
‘appium:deviceName’: ‘iPhone 6s Plus’,
‘appium:noReset’: true,
‘appium:automationName’: ‘Flutter’,
‘appium:bundleId’:‘com.example.hello_world.MainActivity’,
‘appium:retryBackoffTime’: 500
}
}

Hard to say much without a log, however, this doesn’t look like an iOS bundleId.

Maybe a tutorial will help:

thanks for the reply and Sorry I have provided wrong configuration,but I used this only

const wdio = require(‘webdriverio’);
const assert = require(‘assert’);
const { byValueKey } = require(‘appium-flutter-finder’);

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.

Could you try removing the space between appium and the colon (’:’)?

Also try changing bundleID to bundleId.

You also might add the app capability.

More here:
https://appium.io/docs/en/writing-running-appium/caps/