manifest / xcodeproject

The Ruby API working with Xcode project files
MIT License
69 stars 9 forks source link

Adding group to the existing group #11

Open tuxtard opened 6 years ago

tuxtard commented 6 years ago

Hi,

I am unable to add group to the existing group, but creating a new group works:

/Library/Ruby/Gems/2.3.0/gems/xcodeproject-0.3.13/lib/xcodeproject/root_node.rb:58:in 'object': uninitialized constant XcodeProject::PBXVariantGroup (NameError) from /Library/Ruby/Gems/2.3.0/gems/xcodeproject-0.3.13/lib/xcodeproject/root_node.rb:62:in 'object!' from /Library/Ruby/Gems/2.3.0/gems/xcodeproject-0.3.13/lib/xcodeproject/pbx_group.rb:37:in 'block in children' from /Library/Ruby/Gems/2.3.0/gems/xcodeproject-0.3.13/lib/xcodeproject/pbx_group.rb:37:in 'map' from /Library/Ruby/Gems/2.3.0/gems/xcodeproject-0.3.13/lib/xcodeproject/pbx_group.rb:37:in 'children' from /Library/Ruby/Gems/2.3.0/gems/xcodeproject-0.3.13/lib/xcodeproject/pbx_group.rb:59:in 'child' from /Library/Ruby/Gems/2.3.0/gems/xcodeproject-0.3.13/lib/xcodeproject/pbx_group.rb:84:in 'group' from /Library/Ruby/Gems/2.3.0/gems/xcodeproject-0.3.13/lib/xcodeproject/pbx_group.rb:117:in 'create_group' from /Library/Ruby/Gems/2.3.0/gems/xcodeproject-0.3.13/lib/xcodeproject/pbx_group.rb:127:in 'create_group' from /Library/Ruby/Gems/2.3.0/gems/xcodeproject-0.3.13/lib/xcodeproject/pbx_group.rb:89:in 'add_group' from test.rb:37:in 'block in <main>' from test.rb:34:in 'each' from test.rb:34:in '<main>'

manifest commented 6 years ago

Sorry. I can't check it out in the near future, busy on another projects.