Closed mikhailpractice closed 7 years ago
This looks like the app cannot be run on the simulator. What is the app and how are you trying to invoke it?
@imurchie its a react native app. I can run this app from xcode when building the app on simulator but it does not work from appium
@imurchie Any suggestions?
Try Appium 1.6
I should have been more specific. What are the desired capabilities, etc? This is the reason we request the full server logs (as a gist).
@imurchie I am trying to launch it manually first not from code, to see if its working
@mykola-mokhnach there is no .dmg for 1.6 yet
There is some code being used to launch it. With desired capabilities.
@imurchie I used this caps: [Appium] port: 4724 [Appium] debugLogSpacing: true [Appium] platformName: 'iOS' [Appium] platformVersion: '9.0' [Appium] deviceName: 'iPhone 6' [Appium] showIOSLog: true
@imurchie there is no logs at all when running my code, app launching and in 2 seconds simulator just crashing with no logs (3 attempts). Is it because of Xcode 7? (its React Native app)
There must be logs. If you are running from the app, they will be in the main window. If from the command line, they are whatever is printed out there.
@imurchie Its actually empty, I tried with appium 1.6 version and the same results:
[Appium] Welcome to Appium v1.6.0 (REV e1c84bae37afae282f39b91025435c3717e6d0ab) [Appium] Non-default server args: [Appium] platformName: 'iOS' [Appium] platformVersion: '9.0' [Appium] deviceName: 'iPhone 6' [Appium] Deprecated server args: [Appium] --platform-name => --default-capabilities '{"platformName":"iOS"}' [Appium] --platform-version => --default-capabilities '{"platformVersion":"9.0"}' [Appium] --device-name => --default-capabilities '{"deviceName":"iPhone 6"}' [Appium] Default capabilities, which will be added to each request unless overridden by desired capabilities: [Appium] platformName: 'iOS' [Appium] platformVersion: '9.0' [Appium] deviceName: 'iPhone 6' [Appium] Appium REST http interface listener started on 0.0.0.0:4723
And this is my caps: {"desiredCapabilities":{"javascriptEnabled":true,"locationContextEnabled":true,"handlesAlerts":true,"rotatable":true,"app":"./Practice.app","maxInstances":1,"browserName":"","platformName":"iOS","avdReadyTimeout":"60000","autoWebviewTimeout":"60000","_":"2 more keys: [\"commandTimeout\",\"requestOrigins\"]"}}.
I also tried with .ipa file but its even worser, it just start blinking. I have tried steps from "#6404" but it did not help.
@imurchie The app works fine if I launch it from Xcode simulator. What else could I check? Thanks
@mykola-mokhnach I tried 1.6, the same results
Can you make sure that the log level is set to debug? The logs do not show any indication of a session being started.
@imurchie I resolved that part, but opening a new one about real device. Thanks for help
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
The problem
When appium tries to run application, it shows first screen then simulator crashing and keep trying 2-3 times and same results. I have tried steps from "https://github.com/appium/appium/issues/6404" but it did not help.
Steps
Launching appium through ui and trying to open inspector
Environment
Appium version 1.5.3 Xcode 7 iOS 9 (Simulator)
Logs