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

3.5in simulator not starting #23

Closed
ckoehler opened this issue Mar 13, 2014 · 5 comments
Closed

3.5in simulator not starting #23

ckoehler opened this issue Mar 13, 2014 · 5 comments

Comments

@ckoehler
Copy link

@ckoehler ckoehler commented Mar 13, 2014

For some reason, I get two runs of screenshots using the same 4in 64bit sim, never the 3.5 in one. This is with XCode 5.1 and iOS 7.1.
I've had that happen before, but a restart usually fixed it.

Any ideas?

@jonathanpenn
Copy link
Owner

@jonathanpenn jonathanpenn commented Mar 14, 2014

You're in luck. :) Your issue prompted me to look into recent changes to the instruments command line utility. All that hacking to choose the simulator device and locale isn't needed any more since Xcode 5.1. I just pushed up the latest work to master. Check it out. It's much simpler and more reliable now!

@ckoehler
Copy link
Author

@ckoehler ckoehler commented Mar 14, 2014

That does look awesome! I'm still having trouble though. I get the following. A problem with spaces maybe?
Running automation script "automation/shoot_the_screens.js"
for "iPhone Retina (3.5-inch) - Simulator - iOS 7.1"
in language "nb-NO"...
Instruments Usage Error : Unknown hardware device specified: iPhone
Known Devices:
iPhone - Simulator - iOS 7.1
iPhone Retina (3.5-inch) - Simulator - iOS 7.1
iPhone Retina (4-inch) - Simulator - iOS 7.1
iPhone Retina (4-inch 64-bit) - Simulator - iOS 7.1
iPad - Simulator - iOS 7.1
iPad Retina - Simulator - iOS 7.1
iPad Retina (64-bit) - Simulator - iOS 7.1

@jonathanpenn
Copy link
Owner

@jonathanpenn jonathanpenn commented Mar 15, 2014

Hmm. Are you getting that error when you run the ui-screen-shooter.sh script from the master branch of this repo? Or are you copying the scripts to your own application?

You're right that there is a spaces issue here. I updated the bin/unix_instruments script to make sure it works, so you'll need to copy that over to your application, too. I'm not able to reproduce this problem on my machine. This project works fine for me and properly addresses the spaces.

@ckoehler
Copy link
Author

@ckoehler ckoehler commented Mar 15, 2014

My bad! I missed the bin directory and still had the old files in my project. Apologies, and great job!

@jonathanpenn
Copy link
Owner

@jonathanpenn jonathanpenn commented Mar 15, 2014

Awesome. :)

On Fri, Mar 14, 2014 at 10:54 PM, Christoph Koehler <
notifications@github.com> wrote:

My bad! I missed the bin directory and still had the old files in my
project. Apologies, and great job!

Reply to this email directly or view it on GitHubhttps://github.com//issues/23#issuecomment-37714643
.

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

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.