calabash-ios physical device test, app starts but crashes

haitham

Running calabash-ios cucumber for simple iPhone app. Simulator is working perfectly. When trying on physical device, app loads, crashes, then loads again, and crashes again, on a loop.

Error message:

Unable to start. Make sure you've set APP_BUNDLE_PATH to a build supported by this simulator version
  Calabash::Cucumber::Launcher::StartError: Time out waiting for UIAutomation run-loop Error while writing to fifo. RunLoop::Fifo::NoReaderConfiguredError. 
   Logfile /var/folders/9s/yttj4cz93m98hqs6bfw2x8xr0000gn/T/run_loop20150522-12657-dr3m49/run_loop.out 

   2015-05-22 19:58:11 +0000 Fail: An error occurred while trying to run the script.
  Instruments Trace Complete (Duration : 2.594758s; Output : /var/folders/9s/yttj4cz93m98hqs6bfw2x8xr0000gn/T/run_loop20150522-12657-dr3m49/trace.trace)
  to run the script.  UIAScriptAgentSignaledException

   (Calabash::Cucumber::Launcher::StartError)
  /Library/Ruby/Gems/2.0.0/gems/calabash-cucumber-0.14.3/lib/calabash-cucumber/launcher.rb:766:in `new_run_loop'
  /Library/Ruby/Gems/2.0.0/gems/calabash-cucumber-0.14.3/lib/calabash-cucumber/launcher.rb:631:in `relaunch'

Steps:

  1. loaded app-cal on device
  2. ran in command-line using:

    $ DEVICE_TARGET=udid BUNDLE_ID=com.company.app DEVICE_ENDPOINT=http://ip:37265

jmoody
Error while writing to fifo. RunLoop::Fifo::NoReaderConfiguredError

The probably cause of this is that the device is not enabled for UIAutomation. The device must be enabled for development. A device is enabled for development if it appears in Xcode's Device's window (Shift + Command +2) and you must enable on-device testing manually by visiting the device's Settings.app > Developer tab.

If you have recently upgraded the iOS version we recommend that you check the UIAutomation settings again and perform a restart. Often, after an upgrade, Xcode cannot download debugging information from the device. Look at Xcode's Device's window. The device must appear without any warnings.

Sometimes devices get into a bad state and Xcode cannot communicate with it. We recommend trying to interact with the device with Apple's Instruments to clear this bad state.

All this information and more can be found on the Calabash iOS Hot Topics page. https://github.com/calabash/calabash-ios/wiki/Hot-Topics#6-errnoeintr-interrupted-system-call

この記事はインターネットから収集されたものであり、転載の際にはソースを示してください。

侵害の場合は、連絡してください[email protected]

編集
0

コメントを追加

0

関連記事

分類Dev

Xamarin IOS app crashes only after putting on itunesconnect and physical device

分類Dev

Xamarin iOS App crashes immediately after startup

分類Dev

Facebook Unity 6.1 SDK crashes on iOS 5.1 device

分類Dev

Release app crashes, debugging on device works fine - android

分類Dev

Latest build of iOS app not running on device

分類Dev

calabash-ios not working with iOS 7.1 Simulators

分類Dev

Crashes on BayTrail device

分類Dev

Flutter app crashes on firebase phone auth in iOS platform

分類Dev

Flutter app crashes on firebase phone auth in iOS platform

分類Dev

iOS 8.0 UIWebView file input crashes my App

分類Dev

iOS UILocalNotification's action button crashes and corrupts app data

分類Dev

Flutter IOS app crashes after few day of installation

分類Dev

Get contacts list in iOS8, crashes the app

分類Dev

AIR SDK 15.0 + iOS8 - Google Analytics crashes app

分類Dev

App only crashes in certain devices ios8

分類Dev

Reporting app crashes and exceptions to a particular Web service in iOS

分類Dev

When I run my app on Android Studio, emulator starts but it says that the test app crashed

分類Dev

How to test iOS app like iTunesConnect?

分類Dev

Error while compiling iOS app with openCV framework on real device

分類Dev

How to run flutter app developed in AndroidStudio on iOS device?

分類Dev

Detect iOS device battery level when app is closed

分類Dev

vkCreateSwapchainKHR(): surface capabilities not retrieved for this physical device

分類Dev

onResume() is not called in physical device instead onCreate() is called

分類Dev

Associating device node with physical disk manually

分類Dev

Converted an Angular app to android using cordova. The apk starts on the emulator but only a blank white screen appears on the actual device

分類Dev

Firebase FCM notification received in iOS simulator but as GCM(?) on real iOS device in flutter app

分類Dev

App crashes on SocketTimeoutException in Android

分類Dev

Android app crashes on startup

分類Dev

onSaveInstanceState crashes my app

Related 関連記事

  1. 1

    Xamarin IOS app crashes only after putting on itunesconnect and physical device

  2. 2

    Xamarin iOS App crashes immediately after startup

  3. 3

    Facebook Unity 6.1 SDK crashes on iOS 5.1 device

  4. 4

    Release app crashes, debugging on device works fine - android

  5. 5

    Latest build of iOS app not running on device

  6. 6

    calabash-ios not working with iOS 7.1 Simulators

  7. 7

    Crashes on BayTrail device

  8. 8

    Flutter app crashes on firebase phone auth in iOS platform

  9. 9

    Flutter app crashes on firebase phone auth in iOS platform

  10. 10

    iOS 8.0 UIWebView file input crashes my App

  11. 11

    iOS UILocalNotification's action button crashes and corrupts app data

  12. 12

    Flutter IOS app crashes after few day of installation

  13. 13

    Get contacts list in iOS8, crashes the app

  14. 14

    AIR SDK 15.0 + iOS8 - Google Analytics crashes app

  15. 15

    App only crashes in certain devices ios8

  16. 16

    Reporting app crashes and exceptions to a particular Web service in iOS

  17. 17

    When I run my app on Android Studio, emulator starts but it says that the test app crashed

  18. 18

    How to test iOS app like iTunesConnect?

  19. 19

    Error while compiling iOS app with openCV framework on real device

  20. 20

    How to run flutter app developed in AndroidStudio on iOS device?

  21. 21

    Detect iOS device battery level when app is closed

  22. 22

    vkCreateSwapchainKHR(): surface capabilities not retrieved for this physical device

  23. 23

    onResume() is not called in physical device instead onCreate() is called

  24. 24

    Associating device node with physical disk manually

  25. 25

    Converted an Angular app to android using cordova. The apk starts on the emulator but only a blank white screen appears on the actual device

  26. 26

    Firebase FCM notification received in iOS simulator but as GCM(?) on real iOS device in flutter app

  27. 27

    App crashes on SocketTimeoutException in Android

  28. 28

    Android app crashes on startup

  29. 29

    onSaveInstanceState crashes my app

ホットタグ

アーカイブ