Failed to create session. An unknown server-side error occurred while processing the command. Original error: Simulator architecture is unsupported by the ‘/var/folders/qc/qm46gtzd5_bff360tmvm6pq00000gn/T/202233-73528-114a77h.1mk2/stockprice.app’ application. Make sure the correct deployment target has been selected for its compilation in Xcode.
I got this error now:
Failed to create session. An unknown server-side error occurred while processing the command. Original error: Could not install ‘/var/folders/qc/qm46gtzd5_bff360tmvm6pq00000gn/T/202233-89517-taf4mv.jixqp/stockprice.app’: - Could not extract Info.plist from ‘stockprice.app’: Plist file doesn’t exist: ‘/var/folders/qc/qm46gtzd5_bff360tmvm6pq00000gn/T/202233-89517-taf4mv.jixqp/stockprice.app/Info.plist’ - 2022-04-04 13:01:44.808 ios-deploy[57446:7982837] [ !! ] Error 0xe8000051: Could not inspect the application package. AMDeviceSecureInstallApplication(0, device, url, options, install_callback, 0)
here is my updated desired capabilities:
{
“platformName”: “iOS”,
“appium:deviceName”: “iPhone 6s”,
“appium:app”: “/Users/laymui/dev/taiger/react-native-stock-price-app/tests/apps/stockprice.ipa”,
“appium:automationName”: “XCUITest”,
“appium:udid”: “a12510a8c8ec79876d8e10f38da17fb97dc720c3”,
“appium:bundleId”: “com.app.laymui.stockprice”,
“appium:xcodeOrgId”: “LayMui Toh”,
“appium:xcodeSigningId”: “iPhone Developer”
}
Failed to create session. An unknown server-side error occurred while processing the command. Original error: Could not install ‘/var/folders/qc/qm46gtzd5_bff360tmvm6pq00000gn/T/202233-89517-taf4mv.jixqp/stockprice.app’: - Could not extract Info.plist from ‘stockprice.app’: Plist file doesn’t exist: ‘/var/folders/qc/qm46gtzd5_bff360tmvm6pq00000gn/T/202233-89517-taf4mv.jixqp/stockprice.app/Info.plist’ - 2022-04-04 13:35:04.362 ios-deploy[61504:8030284] [ !! ] Error 0xe8000051: Could not inspect the application package. AMDeviceSecureInstallApplication(0, device, url, options, install_callback, 0)
here is my desired capabilties on the iOS Simulator
{
“platformName”: “iOS”,
“appium:deviceName”: “iPhone 13”,
“appium:app”: “/Users/a845751yara.com/poc/react-native-stock-price-app/tests/apps/stockprice.app”,
“appium:automationName”: “XCUITest”,
“appium:platformVersion”: “15.4”
}
cd /usr/local/lib/node_modules/appium/node_modules/appium-webdriveragent
xcodebuild -project WebDriverAgent.xcodeproj -scheme WebDriverAgentRunner -destination 'id=a12510a8c8ec79876d8e10f38da17fb97dc720c3' test
i run on the actual app
it is not working on the iOS simulator
it works for my POC app
i got this error
[WD Proxy] connect ECONNREFUSED 127.0.0.1:8100
[W3C (1abf7d52)] Encountered internal error running command: UnknownError: An unknown server-side error occurred while processing the command. Original error: Could not proxy command to the remote server. Original error: connect ECONNREFUSED