Commit 191eff09 authored by Dimitris Koutsogiorgas's avatar Dimitris Koutsogiorgas Committed by GitHub

Merge pull request #6968 from dnkoutso/wrap_with_quotes

Wrap platform warning message with quotes
parents 0dc40ad6 89c8549f
......@@ -18,6 +18,10 @@ To install release candidates run `[sudo] gem install cocoapods --pre`
##### Bug Fixes
* Wrap platform warning message with quotes
[Dimitris Koutsogiorgas](https://github.com/dnkoutso)
[#6968](https://github.com/CocoaPods/CocoaPods/pull/6968)
* Wire dependencies for pod targets not part of any aggregate target
[Dimitris Koutsogiorgas](https://github.com/dnkoutso)
[#6948](https://github.com/CocoaPods/CocoaPods/pull/6948)
......
......@@ -161,8 +161,8 @@ module Pod
"Unable to determine the platform for the `#{target_definition.name}` target."
end
UI.warn "Automatically assigning platform #{name} with version #{deployment_target} " \
"on target #{target_definition.name} because no platform was specified. " \
UI.warn "Automatically assigning platform `#{name}` with version `#{deployment_target}` " \
"on target `#{target_definition.name}` because no platform was specified. " \
"Please specify a platform for this target in your Podfile. See `#{PLATFORM_INFO_URL}`."
target_definition.set_platform(name, deployment_target)
......
Subproject commit 8e2ead35c3933543b2fbf9d554fcd59f9da9be57
Subproject commit 887db925362e22e065a1c410a18d71a670b1ec28
......@@ -232,7 +232,7 @@ module Pod
target_inspector = TargetInspector.new(target_definition, config.installation_root)
platforms = target_inspector.send(:compute_platform, user_targets)
platforms.should == Platform.new(:ios, '4.0')
UI.warnings.should.include 'Automatically assigning platform ios with version 4.0 on target default because no ' \
UI.warnings.should.include 'Automatically assigning platform `ios` with version `4.0` on target `default` because no ' \
'platform was specified. Please specify a platform for this target in your Podfile. ' \
'See `https://guides.cocoapods.org/syntax/podfile.html#platform`.'
end
......
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