3.5in simulator not starting #23

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

Projects

None yet

2 participants

@ckoehler

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
Owner

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

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
Owner

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

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

@jonathanpenn
Owner

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/jonathanpenn/ui-screen-shooter/issues/23#issuecomment-37714643
.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment