Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Cucumber Test with Frank on Yosemite result in Segmentation Fault

I am trying to get Frank/Cucumber Framework to run on Yosemite with XCode 6.1. I have followed the instructions on how to install and frankify a project by:

  • gem install frank-cucumber
  • frank setup (in the project folder)
  • frank build
  • frank launch

Only the last part fails with a segmentation fault:

LAUNCHING APP...
sh: line 1: 15828 Trace/BPT trap: 5       /Library/Ruby/Gems/2.0.0/gems/sim_launcher-0.4.13/lib/sim_launcher/../../native/ios-sim "showsdks" 2>&1
sh: line 1: 15832 Segmentation fault: 11  /Library/Ruby/Gems/2.0.0/gems/sim_launcher-0.4.13/lib/sim_launcher/../../native/ios-sim "launch" "/Volumes/Project/CucuTest/Frank/frankified_build/Frankified.app" "--sdk" "--family" "iphone" "--exit" 2>&1

I know, that it is required to add the accessibility for Apps, so that the computer can be controlled by Apps. In Yosemite this has changed and I could not add /usr/bin/frank to the list, but I added the Terminal.app. Is this the problem or am I looking in the wrong place.

This is the first time I am using Frank/Cucumber.

like image 815
mjrehder Avatar asked Oct 20 '22 22:10

mjrehder


1 Answers

For me installing ios-sim version 3 using brew install ios-sim as noted here did the trick.

like image 186
Lysann Schlegel Avatar answered Oct 30 '22 16:10

Lysann Schlegel