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

Unsupported attribute: {"outputFilesCompilerFlags"=>["-w", ""]} #362

Closed
silyevsk opened this issue Mar 13, 2016 · 3 comments
Closed

Unsupported attribute: {"outputFilesCompilerFlags"=>["-w", ""]} #362

silyevsk opened this issue Mar 13, 2016 · 3 comments

Comments

@silyevsk
Copy link

A project with a build rule which has an output with compile flag causes the following exception:

/Library/Ruby/Gems/2.0.0/gems/xcodeproj-0.28.2/lib/xcodeproj/project/object.rb:308:in `configure_with_plist': [!] Xcodeproj doesn't know about the following attributes {"outputFilesCompilerFlags"=>["-w", ""]} for the 'PBXBuildRule' isa. (RuntimeError)
If this attribute was generated by Xcode please file an issue: https://github.com/CocoaPods/Xcodeproj/issues/new
    from /Library/Ruby/Gems/2.0.0/gems/xcodeproj-0.28.2/lib/xcodeproj/project.rb:250:in `new_from_plist'
    from /Library/Ruby/Gems/2.0.0/gems/xcodeproj-0.28.2/lib/xcodeproj/project/object.rb:337:in `object_with_uuid'
    from /Library/Ruby/Gems/2.0.0/gems/xcodeproj-0.28.2/lib/xcodeproj/project/object.rb:287:in `block (2 levels) in configure_with_plist'
    from /Library/Ruby/Gems/2.0.0/gems/xcodeproj-0.28.2/lib/xcodeproj/project/object.rb:286:in `each'
    from /Library/Ruby/Gems/2.0.0/gems/xcodeproj-0.28.2/lib/xcodeproj/project/object.rb:286:in `block in configure_with_plist'
    from /Library/Ruby/Gems/2.0.0/gems/xcodeproj-0.28.2/lib/xcodeproj/project/object.rb:283:in `each'
    from /Library/Ruby/Gems/2.0.0/gems/xcodeproj-0.28.2/lib/xcodeproj/project/object.rb:283:in `configure_with_plist'
    from /Library/Ruby/Gems/2.0.0/gems/xcodeproj-0.28.2/lib/xcodeproj/project.rb:250:in `new_from_plist'
    from /Library/Ruby/Gems/2.0.0/gems/xcodeproj-0.28.2/lib/xcodeproj/project/object.rb:337:in `object_with_uuid'
    from /Library/Ruby/Gems/2.0.0/gems/xcodeproj-0.28.2/lib/xcodeproj/project/object.rb:287:in `block (2 levels) in configure_with_plist'
    from /Library/Ruby/Gems/2.0.0/gems/xcodeproj-0.28.2/lib/xcodeproj/project/object.rb:286:in `each'
    from /Library/Ruby/Gems/2.0.0/gems/xcodeproj-0.28.2/lib/xcodeproj/project/object.rb:286:in `block in configure_with_plist'
    from /Library/Ruby/Gems/2.0.0/gems/xcodeproj-0.28.2/lib/xcodeproj/project/object.rb:283:in `each'
    from /Library/Ruby/Gems/2.0.0/gems/xcodeproj-0.28.2/lib/xcodeproj/project/object.rb:283:in `configure_with_plist'
    from /Library/Ruby/Gems/2.0.0/gems/xcodeproj-0.28.2/lib/xcodeproj/project.rb:250:in `new_from_plist'
    from /Library/Ruby/Gems/2.0.0/gems/xcodeproj-0.28.2/lib/xcodeproj/project.rb:195:in `initialize_from_file'
@segiddins
Copy link
Member

Can you please share the project so we can investigate? Thanks!

@silyevsk
Copy link
Author

Sure, here's a sample project:
CustomRuleWithCustomArgument.zip

@segiddins
Copy link
Member

I have this working locally, will try and push up a PR in the next couple of days

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