macOS Sierra version 10.12(16A323)
Appium v1.6.3
Xcode Version 8.0
I could automate and run script on simulator.
It worked fine on real device when the app was installed manually.
But it gives following error messages when I try to execute tests without install app manually.
1. [BaseDriver] The following capabilities were provided, but are not recognized by appium: appium-version, xcodeConfigfile, xcodeOrgId, xcodeSigningId
2. [MJSONWP] Encountered internal error running command: Error: Could not install app Command āios-deploy --id fe063b2d1eff6064975f9ff7c90a2f590c98198c --uninstall --bundle ā/Users/admin/Library/Developer/Xcode/DerivedData/ā¦/xxx.appāā exited with code 253
3. [XCUITest] Error checking install status: Command āios-deploy --exists --id fe063b2d1eff6064975f9ff7c90a2f590c98198c --bundle_id com.axis.drawingdesklitetest1234ā exited with code 255
4. [debug] [MJSONWP] Bad parameters: BadParametersError: Parameters were incorrect. We wanted {ārequiredā:[ādesiredCapabilitiesā],āoptionalā:[ārequiredCapabilitiesā,ācapabilitiesā,āsessionIdā,āidā,āsessionIdā,āidā,āsessionIdā,āidā]} and you sent [ācapabilitiesā]
The script is as followsā¦
When run this Eclipse says,
org.openqa.selenium.SessionNotCreatedException: Unable to create new remote session. desired capabilities = Capabilities [{app=/Users/admin/Library/Developer/Xcode/DerivedData/xxx-dddbkdvfflvbqrfmgkqvjklwhheo/Build/Products/Debug-iphonesimulator/xxx.app, appium-version=1.0, xcodeConfigfile=/usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent/Config.xcconfig, xcodeOrgId=69PLJFK56W, platformVersion=10.0, bundleId=com.xxx1234, automationName=XCUITest, platformName=iOS, udid=fe063b2d1eff6064975f9ff7c90a2f590c98198c, deviceName=xxxiPad Air, platform=iOS, xcodeSigningId=iPhone Developer}], required capabilities = Capabilities [{}]
Is it associated with capabilities in script?
Any comments are highly appreciated