Skip to content

Commit

Permalink
Merge pull request #12170 from sxn/fix-typo
Browse files Browse the repository at this point in the history
chore: Fix typo in `pod_target_installer`
  • Loading branch information
amorde committed Dec 24, 2023
2 parents 85fb443 + 577a68b commit d3fe96e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ def info_plist_bundle_id
@plist_bundle_id = target.info_plist_entries['CFBundleIdentifier']
unless @plist_bundle_id.nil?
message = "The `#{target.name}` target " \
"sets a Bundle Identifier of `#{@plist_bundle_id}` in it's info.plist file. " \
"sets a Bundle Identifier of `#{@plist_bundle_id}` in its info.plist file. " \
'The Bundle Identifier should be set using pod_target_xcconfig: ' \
"s.pod_target_xcconfig = { 'PRODUCT_BUNDLE_IDENTIFIER': '#{@plist_bundle_id}' }`."
UI.warn message
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ class PodsProjectGenerator
@installer.target.root_spec.info_plist = { 'CFBundleIdentifier' => 'CocoaPods.test.id' }
@installer.send(:info_plist_bundle_id)
UI.warnings.should.include 'The `BananaLib` target ' \
'sets a Bundle Identifier of `CocoaPods.test.id` in it\'s info.plist file. ' \
'sets a Bundle Identifier of `CocoaPods.test.id` in its info.plist file. ' \
'The Bundle Identifier should be set using pod_target_xcconfig: ' \
's.pod_target_xcconfig = { \'PRODUCT_BUNDLE_IDENTIFIER\': \'CocoaPods.test.id\' }`.'
end
Expand All @@ -153,7 +153,7 @@ class PodsProjectGenerator
@installer.send(:info_plist_bundle_id).should.nil?
@installer.instance_variable_get(:@plist_bundle_id).should.nil?
UI.warnings.should.not.include 'The `BananaLib` target ' \
'sets a Bundle Identifier of `CocoaPods.test.id` in it\'s info.plist file. ' \
'sets a Bundle Identifier of `CocoaPods.test.id` in its info.plist file. ' \
'The Bundle Identifier should be set using pod_target_xcconfig: ' \
's.pod_target_xcconfig = { \'PRODUCT_BUNDLE_IDENTIFIER\': \'CocoaPods.test.id\' }`.'
end
Expand Down

0 comments on commit d3fe96e

Please sign in to comment.