Commit 9ee4b9b5 authored by Eloy Duran's avatar Eloy Duran

Make assigning the PBXProject#products= method work.

parent ffbb3b95
......@@ -88,6 +88,7 @@ module Pod
'SDKROOT' => 'macosx'
}
}
def self.build_settings(platform, scheme)
settings = COMMON_BUILD_SETTINGS[:all].merge(COMMON_BUILD_SETTINGS[platform])
settings['COPY_PHASE_STRIP'] = scheme == :debug ? 'NO' : 'YES'
......
......@@ -32,7 +32,7 @@ module Pod
end
def singular_name
@name.singularize
@options[:singular_name] || @name.singularize
end
def singular_getter
......@@ -459,7 +459,7 @@ module Pod
class PBXProject < PBXObject
has_many :targets, :class => PBXNativeTarget
has_one :products, :uuid => :productRefGroup, :class => PBXGroup
has_one :products, :singular_name => :products, :uuid => :productRefGroup, :class => PBXGroup
end
class PBXObjectList
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment