Commit 793155cb authored by Samuel Giddins's avatar Samuel Giddins Committed by GitHub

Merge pull request #5698 from robtimp/issue-5438

Fix #5438 - Make comments more clear
parents a2be2d30 e08bb07d
...@@ -56,7 +56,7 @@ module Pod ...@@ -56,7 +56,7 @@ module Pod
podfile = '' podfile = ''
podfile << "project '#{@project_path}'\n\n" if @project_path podfile << "project '#{@project_path}'\n\n" if @project_path
podfile << <<-PLATFORM.strip_heredoc podfile << <<-PLATFORM.strip_heredoc
# Uncomment this line to define a global platform for your project # Uncomment the next line to define a global platform for your project
# platform :ios, '9.0' # platform :ios, '9.0'
PLATFORM PLATFORM
...@@ -76,7 +76,7 @@ module Pod ...@@ -76,7 +76,7 @@ module Pod
end end
# @param [[Xcodeproj::PBXTarget]] targets # @param [[Xcodeproj::PBXTarget]] targets
# An array which always has a target as it's first item # An array which always has a target as its first item
# and may optionally contain related test targets # and may optionally contain related test targets
# #
# @return [String] the text for the target module # @return [String] the text for the target module
...@@ -86,13 +86,13 @@ module Pod ...@@ -86,13 +86,13 @@ module Pod
target_module << if app.resolved_build_setting('SWIFT_OPTIMIZATION_LEVEL').values.any? target_module << if app.resolved_build_setting('SWIFT_OPTIMIZATION_LEVEL').values.any?
<<-RUBY <<-RUBY
# Comment this line if you're not using Swift and don't want to use dynamic frameworks # Comment the next line if you're not using Swift and don't want to use dynamic frameworks
use_frameworks! use_frameworks!
RUBY RUBY
else else
<<-RUBY <<-RUBY
# Uncomment this line if you're using Swift or would like to use dynamic frameworks # Uncomment the next line if you're using Swift or would like to use dynamic frameworks
# use_frameworks! # use_frameworks!
RUBY RUBY
...@@ -111,7 +111,7 @@ module Pod ...@@ -111,7 +111,7 @@ module Pod
end end
# @param [[Xcodeproj::PBXTarget]] targets # @param [[Xcodeproj::PBXTarget]] targets
# An array which always has a target as it's first item # An array which always has a target as its first item
# and may optionally contain a second target as its test target # and may optionally contain a second target as its test target
# #
# @return [String] the text for the target module # @return [String] the text for the target module
......
...@@ -98,11 +98,11 @@ module Pod ...@@ -98,11 +98,11 @@ module Pod
run_command('init') run_command('init')
expected_podfile = <<-RUBY.strip_heredoc expected_podfile = <<-RUBY.strip_heredoc
# Uncomment this line to define a global platform for your project # Uncomment the next line to define a global platform for your project
# platform :ios, '9.0' # platform :ios, '9.0'
target 'App' do target 'App' do
# Uncomment this line if you're using Swift or would like to use dynamic frameworks # Uncomment the next line if you're using Swift or would like to use dynamic frameworks
# use_frameworks! # use_frameworks!
# Pods for App # Pods for App
...@@ -120,7 +120,7 @@ module Pod ...@@ -120,7 +120,7 @@ module Pod
end end
target 'Swifty App' do target 'Swifty App' do
# Comment this line if you're not using Swift and don't want to use dynamic frameworks # Comment the next line if you're not using Swift and don't want to use dynamic frameworks
use_frameworks! use_frameworks!
# Pods for Swifty App # Pods for Swifty App
......
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