-
Notifications
You must be signed in to change notification settings - Fork 237
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
frank could not launch simulator after update xcode to 5.1 #272
Comments
+1 |
I just released a new version of the sim_launcher gem. Can you update to the latest of that gem (0.4.9) and then try again? |
I updated, but same result. I'm using RubyMotion, if that helps. Gem Versions: frank-cucumber (1.2.2)
motion-frank (1.2.2.0)
sim_launcher (0.4.9) |
We have tried 0.4.9 locally to and it gives me following:
I have following setup
Basically you can see Simulator window for a second and than it's crashing. |
thanks @moredip, after upgrading gem_launcher to 0.4.9, I am able to launch the simulator and my tests start to run. There is an error msg: xcode-select: Error: unknown command option '-p'. Besides this, the simulator was launched at 3.5 inch screen every time and I am unable to switch to 4 inch. Any idea I could solve this on my side? My test requires 4 inch screen. |
Since @zijunt mentioned the screen size, I'm trying to run on the iPad simulator. Not sure if that makes a difference. |
Any updates, @moredip? |
I finally got it to work. After a lot of digging, I discovered that I had a few versions of ios-sim installed via npm, and nvm. If anyone else is still having issues, try Thanks for the great stuff, @moredip, I love testing with frank! |
Contrary to the comment above, the problem for me is that I actually needed to get ios-sim into my bundle in order to get the simulator to launch. For multiple tests, I quit and restart the simulator every time. However, I cannot seem to get it running on a 4 inch simulator (7.1). Anyone else faced this problem? |
Just FYI, I had the same thing happen to me today after a fresh install of Frank and the sample app. A
Fixed my issue (the gem wasn't installed previously). May want to add that to the installation instructions. |
Any update to launch 4 inch simulator? Thx |
Updating the sim_launcher worked for me. There are a set of parameters that sim_launcher requires. Hardcoding them to your environment should get you past any problems. |
But I still am not able to get Simulator Version 7.1 running. |
same, still have an issue
with latest setup of Frank and Sim Launcher on completely new System install. |
@moredip, can you please update the |
Can someone tell me where and which are the parameters I need to change so that frank launch opens the 4 inch simulator by default? |
+1 Still having this issue. Can someone please post the solution? |
+1 It will be great to drive a command like this: -device "iPhone (Retina 4-inch)". |
I might be mistaken but I believe it will just frankify your last build, so if you want to run frank for a specific configuration build the app in that way. Thanks Sent from my Apple Lisa.
|
This is still an issue for me. I am unable to launch the simulator in 4-inch. It always launches in 3.5-inch. Can we get this fixed please? |
Here we are in August, is there still no way to launch the simulator with the 4 inch screen? |
In case this helps anyone else, here is a work around if you're primarily interested in running with larger devices. Open /gems/ruby-2.1.2/gems/sim_launcher-0.4.11/lib/sim_launcher/simulator.rb and find the line 'def launch_ios_app(app_path, sdk_version, device_family, app_args = nil)' (line 48 in v0.4.11). Scroll down a few lines (line 55 in v0.4.11) to find the line:
Change this to (insert the --tall and --retina):
The --tall and --retina will get you the iphone 5.0 simulator. If you want other device types, see https://github.com/phonegap/ios-sim/blob/master/README.md for other options you could use. HTH. |
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 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, |
Looks like with brew install ios-sim, above issue is fixed. Able to launch the app using frank now. brew install ios-sim |
Still seeing this issue in a fresh RubyMotion app
I've updated |
Just update xcode to 5.1, after that unable to launch the simulator.
Details:
Frank Launch.
LAUNCHING APP...
sh: line 1: 44406 Trace/BPT trap: 5 /Library/Ruby/Gems/1.8/gems/sim_launcher-0.4.6/lib/sim_launcher/../../native/ios-sim "showsdks" 2>&1
sh: line 1: 44409 Trace/BPT trap: 5 /Library/Ruby/Gems/1.8/gems/sim_launcher-0.4.6/lib/sim_launcher/../../native/ios-sim "launch" "/Users/royt/practice/temp/Frank/frankified_build/Frankified.app" "--sdk" "" "--family" "iphone" "--exit" 2>&1
I believe this was caused by xcode 5.1, any change I could make on the Frank side to solve this problem? Thanks
The text was updated successfully, but these errors were encountered: