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
07c804de
Commit
07c804de
authored
Aug 29, 2015
by
Samuel E. Giddins
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PodTargetInstaller] Mark all headers with availability levels
parent
5955c55f
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
3 deletions
+1
-3
pod_target_installer.rb
...oapods/installer/target_installer/pod_target_installer.rb
+0
-2
cocoapods-integration-specs
spec/cocoapods-integration-specs
+1
-1
No files found.
lib/cocoapods/installer/target_installer/pod_target_installer.rb
View file @
07c804de
...
@@ -89,7 +89,6 @@ module Pod
...
@@ -89,7 +89,6 @@ module Pod
header_file_refs
=
headers
.
map
{
|
sf
|
project
.
reference_for_path
(
sf
)
}
header_file_refs
=
headers
.
map
{
|
sf
|
project
.
reference_for_path
(
sf
)
}
native_target
.
add_file_references
(
header_file_refs
)
do
|
build_file
|
native_target
.
add_file_references
(
header_file_refs
)
do
|
build_file
|
# Set added headers as public if needed
# Set added headers as public if needed
if
target
.
requires_frameworks?
build_file
.
settings
||=
{}
build_file
.
settings
||=
{}
if
public_headers
.
include?
(
build_file
.
file_ref
.
real_path
)
if
public_headers
.
include?
(
build_file
.
file_ref
.
real_path
)
build_file
.
settings
[
'ATTRIBUTES'
]
=
[
'Public'
]
build_file
.
settings
[
'ATTRIBUTES'
]
=
[
'Public'
]
...
@@ -99,7 +98,6 @@ module Pod
...
@@ -99,7 +98,6 @@ module Pod
build_file
.
settings
[
'ATTRIBUTES'
]
=
[
'Project'
]
build_file
.
settings
[
'ATTRIBUTES'
]
=
[
'Project'
]
end
end
end
end
end
other_file_refs
=
other_source_files
.
map
{
|
sf
|
project
.
reference_for_path
(
sf
)
}
other_file_refs
=
other_source_files
.
map
{
|
sf
|
project
.
reference_for_path
(
sf
)
}
native_target
.
add_file_references
(
other_file_refs
,
nil
)
native_target
.
add_file_references
(
other_file_refs
,
nil
)
...
...
cocoapods-integration-specs
@
b5177d3e
Subproject commit
748ad0dac4f5660eba1d191efa89e0fc8d791b0e
Subproject commit
b5177d3ef2ee0dcc7fdab26f7dcfb9486f2207f1
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