Testing cucumber with Frank on Yosemite leads to segmentation error

I am trying to get the Frank / Cucumber Framework to work on Yosemite with Xcode 6.1. I followed the instructions for installing and franking the project:

  • gem set franc cucumber
  • explicit setup (in the project folder)
  • frank system
  • frank start

Only the last part ends with a segmentation error:

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 you need to add accessibility for applications so that the computer can control the applications. In Yosemite, this changed, and I was not able to add / usr / bin / frank to the list, but I added Terminal.app. Is this a problem or am I looking in the wrong place.

This is the first time I'm using Frank / Cucumber.

+5
source share
2 answers

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

+3
source

Just repeat this question and ask for any help. I see the same problem. I also do not understand the steps to add accessibility and everything else under Yosemite.

 sh: line 1: 6180 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: 6184 Segmentation fault: 11 /Library/Ruby/Gems/2.0.0/gems/sim_launcher-0.4.13/lib/sim_launcher/../../native/ios-sim "launch" "/Users/ric 

Hmmm .... Actually it looks like this: a "Ruby" error in the upstream in the Frank Setup program

  create Frank/libShelleyMac.a create Frank/plugins System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:126:in `require': cannot load such file -- xcodeproj/prebuilt/universal.x86_64-darwin14-2.0.0/xcodeproj_ext (LoadError) from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:126:in `require' from /Library/Ruby/Gems/2.0.0/gems/xcodeproj-0.14.1/lib/xcodeproj/ext.rb:6:in `rescue in <top (required)>' 
0
source

Source: https://habr.com/ru/post/1207050/


All Articles