Class: CocoaPods::AppGroup::SetupXcconfig
- Inherits:
-
Object
- Object
- CocoaPods::AppGroup::SetupXcconfig
- Defined in:
- lib/cocoapods/app_group/setup_xcconfig.rb
Instance Method Summary collapse
- #call ⇒ Object
-
#initialize(installer) ⇒ SetupXcconfig
constructor
A new instance of SetupXcconfig.
Constructor Details
#initialize(installer) ⇒ SetupXcconfig
Returns a new instance of SetupXcconfig.
4 5 6 |
# File 'lib/cocoapods/app_group/setup_xcconfig.rb', line 4 def initialize(installer) @installer = installer end |
Instance Method Details
#call ⇒ Object
8 9 10 11 12 13 14 |
# File 'lib/cocoapods/app_group/setup_xcconfig.rb', line 8 def call pod_targets.each do |target| if target.name == 'AppGroup' target.spec_consumers.first.spec.attributes_hash['user_target_xcconfig'] = {"APP_IDENTIFIER"=> store.read(:app_group)} end end end |