Hi,
I have automation with appium for Android and iOS, also have devices farm. I can locally run and it works, but when run with grid on remote machine it fails and not able to create session.
System info: os.name: ‘Mac OS X’, os.arch: ‘aarch64’, os.version: ‘15.5’, java.version: ‘21.0.6’, xcode: 16.4, iOS w18.3, appium 2.x+.
this is part of my connection_start.sh file
cat <<EOF > "$appiumConfig"
server:
port: $appiumPort
default-capabilities:
"appium:udid": "$device"
"appium:deviceName": "$deviceName"
"platformVersion" : "$version"
"appium:automationName": "XCUITest"
"appium:wdaLocalPort": $wdaLocalPort
"appium:derivedDataPath": "/Users/$(id -un)/dev/WebDriverAgent/wdaBuild$((deriveDataPath))"
EOF
echo " Starting Appium server using $appiumConfig ..."
appium --config "$appiumConfig" &> "/tmp/appium_${device}.log"```
this is my xcuioptions
app = new File(APP_PATH, iosIpaName);
System.out.println("app" + app.getAbsolutePath());
iosOptions = new XCUITestOptions();
iosOptions.setApp(app.getAbsolutePath());
iosOptions.setBundleId(bundleId);
iosOptions.setAppPushTimeout(Duration.ofMillis(300000));
iosOptions.setIncludeDeviceCapsToSessionInfo(false);
iosOptions.setShouldUseSingletonTestManager(false);
iosOptions.setNoReset(true);
iosOptions.setFullReset(false);
iosOptions.setAppInstallStrategy("parallel");
iosOptions.setUsePrebuiltWda(true);
iosOptions.setNewCommandTimeout(Duration.ofSeconds(200));
iosOptions.setAutoDismissAlerts(true);
iosOptions.setAutoAcceptAlerts(false);
serverLocation = appiumServerURL;
Installed new webDriveAgent and updated all corresponding applications but getting same