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
2b6f3906
Commit
2b6f3906
authored
May 21, 2013
by
Fabio Pelosin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[TargetInstaller] Minor clean up
parent
5adc5c74
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
11 deletions
+6
-11
target_installer.rb
lib/cocoapods/installer/target_installer.rb
+6
-11
No files found.
lib/cocoapods/installer/target_installer.rb
View file @
2b6f3906
...
@@ -24,10 +24,10 @@ module Pod
...
@@ -24,10 +24,10 @@ module Pod
@library
=
library
@library
=
library
end
end
#-----------------------------------------------------------------------#
private
private
#-----------------------------------------------------------------------#
# @!group Installation steps
# @!group Installation steps
# Adds the target for the library to the Pods project with the
# Adds the target for the library to the Pods project with the
...
@@ -35,11 +35,6 @@ module Pod
...
@@ -35,11 +35,6 @@ module Pod
#
#
# @note The `PODS_HEADERS_SEARCH_PATHS` overrides the xcconfig.
# @note The `PODS_HEADERS_SEARCH_PATHS` overrides the xcconfig.
#
#
# @todo CocoaPods 0.16 used to add the build configurations to the build
# configuration list of the project (`root object`) as well with
# an empty build settings. This behaviour was changed in 0.17.
# Restore if needed.
#
# @return [void]
# @return [void]
#
#
def
add_target
def
add_target
...
@@ -76,8 +71,6 @@ module Pod
...
@@ -76,8 +71,6 @@ module Pod
@support_files_group
=
project
.
support_files_group
.
new_group
(
library
.
name
)
@support_files_group
=
project
.
support_files_group
.
new_group
(
library
.
name
)
end
end
#--------------------------------------#
# Generates a dummy source file for each target so libraries that contain
# Generates a dummy source file for each target so libraries that contain
# only categories build.
# only categories build.
#
#
...
@@ -93,8 +86,6 @@ module Pod
...
@@ -93,8 +86,6 @@ module Pod
end
end
end
end
#-----------------------------------------------------------------------#
# @return [PBXNativeTarget] the target generated by the installation
# @return [PBXNativeTarget] the target generated by the installation
# process.
# process.
#
#
...
@@ -102,6 +93,10 @@ module Pod
...
@@ -102,6 +93,10 @@ module Pod
#
#
attr_reader
:target
attr_reader
:target
private
#-----------------------------------------------------------------------#
# @!group Private helpers.
# @!group Private helpers.
# @return [Project] the Pods project of the sandbox.
# @return [Project] the Pods project of the sandbox.
...
...
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