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

call to strings in gem/server compatibility should work on paths with spaces #384

Merged
merged 1 commit into from May 29, 2014

Conversation

Sqeaky
Copy link
Contributor

@Sqeaky Sqeaky commented May 29, 2014

The app I test has a space in the name so the resulting APP_BUNDLE_PATH looks like "/users/sqeaky/wherever/xcode/leaves/app/App Name.app". The space causes strings to see this as two filenames "/users/sqeaky/wherever/xcode/leaves/app/App" and "Name.app". Wrapping that in quotes makes strings interpret this as one argument and allows it to work correctly.

This was tested on Mac OS X 10.8 with XCode 5.1.1 and produced no warnings or error messages.

@jmoody
Copy link
Member

jmoody commented May 29, 2014

@Sqeaky

ACK! -1 to me.

Thanks for the fix.

What was happening? Was there a crash?

@Sqeaky
Copy link
Contributor Author

Sqeaky commented May 29, 2014

There was no crash, but on my system strings emitted around 200 lines of
errors about not finding files. Then a warning saying that the server
version could not be identified.
On May 29, 2014 5:19 AM, "Joshua Moody" notifications@github.com wrote:

@Sqeaky https://github.com/Sqeaky

ACK! -1 to me.

Thanks for the fix.

What was happening? Was there a crash?


Reply to this email directly or view it on GitHub
#384 (comment).

@jmoody jmoody changed the title Fixed reading the binary strings table for apps with spaces in the package name. call to strings in gem/server compatibility should work on paths with spaces May 29, 2014
jmoody added a commit that referenced this pull request May 29, 2014
call to `strings` in gem/server compatibility should work on paths with spaces
@jmoody jmoody merged commit 5713d1b into calabash:master May 29, 2014
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