Hi ,
I am testing on real device - iPhone 5s with new iOS version 9.3.4
Appium - 1.5.3v
causing these errors on startup , its only happening in new iOS 9.3.4 version.
can Appium guys fix this ?
[Instruments] Error launching instruments: Instruments crashed on startup
[Instruments] Error launching instruments: Instruments crashed on startup
[Instruments] Error launching instruments: Instruments crashed on startup
[Instruments] Error: We exceeded the number of retries allowed for instruments to successfully start; failing launch
at Object.wrappedLogger.errorAndThrow (lib/logger.js:60:13)
at Instruments.launch$ (lib/instruments.js:220:15)
at tryCatch (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:67:40)
at GeneratorFunctionPrototype.invoke [as _invoke] (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:315:22)
at GeneratorFunctionPrototype.prototype.(anonymous function) [as throw] (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:100:21)
at GeneratorFunctionPrototype.invoke (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:136:37)
Error: We exceeded the number of retries allowed for instruments to successfully start; failing launch
at Object.wrappedLogger.errorAndThrow (lib/logger.js:60:13)
at Instruments.launch$ (lib/instruments.js:220:15)
at tryCatch (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:67:40)
at GeneratorFunctionPrototype.invoke [as _invoke] (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:315:22)
at GeneratorFunctionPrototype.prototype.(anonymous function) [as throw] (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:100:21)
at GeneratorFunctionPrototype.invoke (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:136:37)
[MJSONWP] Encountered internal error running command: Error: We exceeded the number of retries allowed for instruments to successfully start; failing launch
at Object.wrappedLogger.errorAndThrow (lib/logger.js:60:13)
at Instruments.launch$ (lib/instruments.js:220:15)
at tryCatch (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:67:40)
at GeneratorFunctionPrototype.invoke [as _invoke] (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:315:22)
at GeneratorFunctionPrototype.prototype.(anonymous function) [as throw] (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:100:21)
at GeneratorFunctionPrototype.invoke (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:136:37)
Thanks
Shiva
Hi shiva… I think this is not an issue with appium
your version of x code doesn’t have sdk for iPhone 5s IOS vesrion 9.3.4
Download it in xcode.
@shivakumar89
Currently Appium doesn’t support for iOS 9.3 yet.
http://appium.io/slate/en/1.5.3/?java#
Appium Platform Support
Appium supports a variety of platforms and testing modalities (native, hybrid, web, real devices, simulators, etc…). This document is designed to make explicit the level of support and requirements for each of these.
IOS SUPPORT
See Running on OS X: iOS for iOS requirements and setup instructions.
Versions: 7.1, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1 and 9.2
@TuHuynh,
We’re currently testing our application on iOS devices (iPhone 5 and 6) having 9.3.2 version. By using Appium, we can test latest iOS version too…I hope so.
@TuHuynh, may be the documentation need to be updated.
Environment:
Xcode 7.3.1,
iOS 9.3.2,
Appium 1.5.3.
Mac OSX 10.10
Regards,
Vijay Bhaskar.
1 Like
@bhaskar
Not sure the document is outdated or not.
But I think to make sure the issue doesn’t come from something like unsupported, we need to confirm it work with the recommendation first from the same Env setting.
I’ll give a try on latest iOS. I have many iOS version here.
Yeah…sure. Have a try !!
Best of luck
@Mani_Maran_Chandraba :
Same iPhone5S worked with 9.3.3v. when i updated to 9.3.4 its started crash.
as far I know Apple only provides the SDK as a bundled package and updates latest…And we only need to do it for any simulators in your case.
Thanks
Shiva
@TuHuynh:
Appium supports until 9.3.3 for all iOS real devices.
I ran my Appium regression tests on iPhone5s , iPhone6 - worked fine.
Thanks
shiva
I have just created a new provisioning profile for my iphone version 9.3.3 and did a test.
SafariLauncher can launch to the apple.com page as default but it couldn’t go ahead with error:
Could not find any webview.
With 8.2 is ok. So I would follow the Appium’s document for a safe case. Just support to 9.2
I think you need to Enabled UI Automation in setting >developer in real device
Yes, I did, that is pre-requitesite factor.
I encountered this issue both on iOS 9.3.4 and 9.3.5. I had to down-grade my iPhone from 9.3.4 to 9.3.3 due to Appium didn’t work on 9.3.4. It worked again after couple of days when I ran the tests on another iPhone which has been upgraded to 9.3.4. As result, today I tied many times on 9.3.5 and I got the tips: both restarted Mac and iPhone after upgraded to new version iOS.
My iPhone 6s works fine with Appium on 9.3.5 now!
2 Likes
@richard.li
Thank you for updates!
I haven’t tried with new version 9.3.5 yet. I will post if I encountered any issues.
You are welcome!
Unfortunately, it doesn’t work on my personal Mac at home. Last night the Instruments crashed on my Mac even after I tired restarting both iPhone and Mac couple of times. But my tests running well just now in my office. I am going to try to connect iPhone without UI automation switch in developer menu and re-open switch again this evening.
I am sorry for having some issue with this tips even it work on my office Mac.
It worked last night and I did nothing. I think the app has been remove and reinstalled at office then it worked at home. My test works fine on iOS 9.3.5 with 1.5.3 so far.
Yup ! 9.3.5 Works fine to me.