Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to execute 'frank launch' command #280

Open
sonir6 opened this issue May 5, 2015 · 2 comments
Open

Unable to execute 'frank launch' command #280

sonir6 opened this issue May 5, 2015 · 2 comments

Comments

@sonir6
Copy link

sonir6 commented May 5, 2015

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:-
#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 sonir6 changed the title Unable to successfully execute 'frank launch' command Unable to execute 'frank launch' command May 5, 2015
@veswaran
Copy link

veswaran commented Mar 2, 2016

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
Copy link

veswaran commented Mar 2, 2016

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants