Frank icon indicating copy to clipboard operation
Frank copied to clipboard

Unable to execute 'frank launch' command

Open sonir6 opened this issue 10 years ago • 2 comments

I am trying to launch frank on 2012 Olympics code build however getting the following error:-

➜ 2012 Olympics git:(master) ✗ frank launch
WARN: Unresolved specs during Gem::Specification.reset: rake (>= 0) WARN: Clearing out unresolved specs. Please report a bug if this causes problems. LAUNCHING APP... /Library/Ruby/Gems/2.0.0/gems/sim_launcher-0.4.13/lib/sim_launcher/simulator.rb:104: warning: Insecure world writable dir /usr/share/node/js in PATH, mode 040777 sh: line 1: 6110 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: 6114 Segmentation fault: 11 /Library/Ruby/Gems/2.0.0/gems/sim_launcher-0.4.13/lib/sim_launcher/../../native/ios-sim "launch" "/Users/rohit/Documents/MEA/mauto/2012-Olympics-iOS--iPad-and-iPhone--source-code/2012 Olympics/Frank/frankified_build/Frankified.app" "--tall" "--retina" "--sdk" "--family" "iphone" "--exit" 2>&1

I also tried updating file simulator.rb with run_synchronous_command() as suggested in frank issue 272 however no luck:- https://github.com/moredip/Frank/issues/272

PS: I am successfully able to complete steps before frank launch using steps at the following url:- http://blog.thepete.net/blog/2012/06/24/writing-your-first-frank-test/

Appreciate any help so that I can execute launch and inspect frank commands please.

Regards Rohit

sonir6 avatar May 05 '15 14:05 sonir6

Tried couple of things, no luck. Still running into same issue.

  • Updated the sim_launcher (0.5.0) but later it conflicts with frank build

/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/dependency.rb:296:in `to_specs': Could not find 'sim_launcher' (~> 0.4.6) - did find: sim_launcher-0.5.0

  • Updated frank to latest, thinking it will refer latest sim_launcher. But it doesn't seem to be the case.

Would be great if someone can look at it and fix the issue at the earliest.

Regards, Vijay

veswaran avatar Mar 02 '16 12:03 veswaran

Looks like with brew install ios-sim, above issue is fixed. Able to launch the app using frank now.

brew install ios-sim

@sonir6 - Perhaps you can give it a try.

veswaran avatar Mar 02 '16 12:03 veswaran