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

set_simulator_device only quotes the device type if necessary. #79

Merged
merged 1 commit into from
Sep 10, 2013

Conversation

wearhere
Copy link
Contributor

@wearhere wearhere commented Sep 3, 2013

Both the Xcode 4 and 5 Simulators reject e.g. "'iPhone'" . It went unnoticed
that set_simulator_device wasn't working for "iPhone" and "iPad" because
subliminal_test forces the project to build using particular device families
and "iPhone" and "iPad" are the default device types for their respective families.

Investigation reveals that it's not whitespace but rather punctuation in plist values
that requires quoting so that's updated too--now set_simulator_device will
be able to set the Xcode 5 Simulator to "iPad Retina".

Both the Xcode 4 and 5 Simulators reject e.g. "'iPhone'" . It went unnoticed
that `set_simulator_device` wasn't working for "iPhone" and "iPad" because
`subliminal_test` forces the project to build using particular device families
and "iPhone" and "iPad" are the default device types for their respective families.

Investigation reveals that it's not whitespace but rather punctuation in plist values
that requires quoting so that's updated too--now `set_simulator_device` will
be able to set the Xcode 5 Simulator to "iPad Retina".
aegolden added a commit that referenced this pull request Sep 10, 2013
`set_simulator_device` only quotes the device type if necessary.
@aegolden aegolden merged commit 8036c58 into master Sep 10, 2013
@wearhere wearhere deleted the jeff/escape_simulator_device_type branch September 10, 2013 05:19
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

Successfully merging this pull request may close these issues.

None yet

2 participants