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
a4742576
Commit
a4742576
authored
Nov 08, 2014
by
Marius Rackwitz
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Don't use #product_basename for the different product type getters
As it breaks the migration
parent
48422ac3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
4 deletions
+10
-4
target.rb
lib/cocoapods/target.rb
+10
-4
No files found.
lib/cocoapods/target.rb
View file @
a4742576
...
...
@@ -49,16 +49,22 @@ module Pod
end
end
# @return [String] the name of the framework, depends on #product_basename.
# @return [String] the name of the framework, depends on #label.
#
# @note This may not depend on #requires_framework? indirectly as it is
# used for migration.
#
def
framework_name
"
#{
product_
base
name
}
.framework"
"
#{
product_
module_
name
}
.framework"
end
# @return [String] the name of the library, depends on #product_basename.
# @return [String] the name of the library, depends on #label.
#
# @note This may not depend on #requires_framework? indirectly as it is
# used for migration.
#
def
static_library_name
"lib
#{
product_basename
}
.a"
"lib
#{
label
}
.a"
end
# @return [Symbol] either :framework or :static_library, depends on
...
...
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