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
7a313a8a
Commit
7a313a8a
authored
Oct 27, 2015
by
Samuel Giddins
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PodTarget] Infer umbrella header
parent
290eca16
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
3 deletions
+4
-3
pod_target_installer.rb
...oapods/installer/target_installer/pod_target_installer.rb
+2
-1
target.rb
lib/cocoapods/target.rb
+2
-2
No files found.
lib/cocoapods/installer/target_installer/pod_target_installer.rb
View file @
7a313a8a
...
...
@@ -270,7 +270,8 @@ module Pod
end
def
create_umbrella_header
return
super
unless
custom_module_map
inferred_umbrella_header
=
target
.
build_headers
.
root
+
"
#{
target
.
product_module_name
}
/
#{
target
.
product_module_name
}
.h"
return
super
unless
custom_module_map
||
inferred_umbrella_header
.
file?
end
def
custom_module_map
...
...
lib/cocoapods/target.rb
View file @
7a313a8a
...
...
@@ -140,14 +140,14 @@ module Pod
# module map.
#
def
umbrella_header_path
support_files_dir
+
"
#{
label
}
-umbrella
.h"
support_files_dir
+
"
#{
product_module_name
}
.h"
end
# @return [Pathname] the absolute path of the LLVM module map file that
# defines the module structure for the compiler.
#
def
module_map_path
support_files_dir
+
"
#{
label
}
.modulemap"
support_files_dir
+
"
#{
product_module_name
}
.modulemap"
end
# @return [Pathname] the absolute path of the prefix header file.
...
...
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