Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
C
cocoapods
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
gengmeiios
cocoapods
Commits
e06a13be
Commit
e06a13be
authored
Jul 29, 2016
by
Rob Hudson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make comments more clear
parent
a2be2d30
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
init.rb
lib/cocoapods/command/init.rb
+3
-3
No files found.
lib/cocoapods/command/init.rb
View file @
e06a13be
...
@@ -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 th
is
line to define a global platform for your project
# Uncomment th
e next
line to define a global platform for your project
# platform :ios, '9.0'
# platform :ios, '9.0'
PLATFORM
PLATFORM
...
@@ -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 th
is
line if you're not using Swift and don't want to use dynamic frameworks
# Comment th
e 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 th
is
line if you're using Swift or would like to use dynamic frameworks
# Uncomment th
e next
line if you're using Swift or would like to use dynamic frameworks
# use_frameworks!
# use_frameworks!
RUBY
RUBY
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment