I am trying to run one of the Xamarin iOS samples on my iPhone simulator. I created a build for iPhone simulator and when I drag and drop the app to the simulator everything is working fine. However, when I try to start a new session, the Appium server returns the following error “Bad app: /Users/admin/Documents/bellatrix.demos. App paths need to be absolute, or relative to the Appium server install dir, or a URL to compressed file, or a special app name.
” The path actually points as the absolute path to the .app file from the debug build for the simulator. I tried to zip the same file and set this file for app argument, but the same error occurred.
These are the used capabilities:
[info] [Appium] Creating new XCUITestDriver (v2.94.2) session
[info] [Appium] Capabilities:
[info] [Appium] app: /Users/admin/Documents/bellatrix.demos
[info] [Appium] automationName: XCUITest
[info] [Appium] deviceName: iPhone Simulator
[info] [Appium] platformName: iOS
[info] [Appium] platformVersion: 11.3
[info] [Appium] newCommandTimeout: 0
[info] [Appium] connectHardwareKeyboard: true
“bellatrix.demos” is my app file.
Can you give me hints what I am doing wrong?