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

Crash when disabling color output #267

Closed
Whirlwind opened this issue May 6, 2015 · 1 comment
Closed

Crash when disabling color output #267

Whirlwind opened this issue May 6, 2015 · 1 comment

Comments

@Whirlwind
Copy link
Contributor

xcodeproj show test.xcodeproj will show red color for the title, so I parse fail with yaml format.

I try xcodeproj show test.xcodeproj --no-color, I get a crash:

can't modify frozen String
/Users/whirlwind/.rvm/gems/ruby-2.0.0-p481/gems/xcodeproj-0.24.1/lib/xcodeproj/command/show.rb:54:in `block in run'
/Users/whirlwind/.rvm/gems/ruby-2.0.0-p481/gems/xcodeproj-0.24.1/lib/xcodeproj/command/show.rb:49:in `each'
/Users/whirlwind/.rvm/gems/ruby-2.0.0-p481/gems/xcodeproj-0.24.1/lib/xcodeproj/command/show.rb:49:in `run'
/Users/whirlwind/.rvm/gems/ruby-2.0.0-p481/gems/xcodeproj-0.24.1/lib/xcodeproj/command.rb:77:in `run'
/Users/whirlwind/.rvm/gems/ruby-2.0.0-p481/gems/xcodeproj-0.24.1/bin/xcodeproj:13:in `<top (required)>'
/Users/whirlwind/.rvm/gems/ruby-2.0.0-p481/bin/xcodeproj:23:in `load'
/Users/whirlwind/.rvm/gems/ruby-2.0.0-p481/bin/xcodeproj:23:in `<main>'
/Users/whirlwind/.rvm/gems/ruby-2.0.0-p481/bin/ruby_executable_hooks:15:in `eval'
/Users/whirlwind/.rvm/gems/ruby-2.0.0-p481/bin/ruby_executable_hooks:15:in `<main>'

How to disable color?

@AliSoftware
Copy link
Contributor

Confirmed bug with xcodeproj 0.23.1.

@AliSoftware AliSoftware changed the title How to disable color for yaml output? Crash when disabling color output May 6, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants