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
4c27a975
Commit
4c27a975
authored
Nov 24, 2011
by
Dieter Komendera
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Correctly configure POD_SRCROOT for Pods and target project.
parent
82a6c8fb
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
installer.rb
lib/cocoapods/installer.rb
+3
-1
xcodeproj_ext.rb
lib/cocoapods/xcodeproj_ext.rb
+0
-1
No files found.
lib/cocoapods/installer.rb
View file @
4c27a975
...
...
@@ -29,7 +29,8 @@ module Pod
def
xcconfig
@xcconfig
||=
Xcodeproj
::
Config
.
new
({
# In a workspace this is where the static library headers should be found.
'HEADER_SEARCH_PATHS'
=>
'"Pods/Headers"'
,
'POD_SRCROOT'
=>
'$(SRCROOT)/Pods'
,
'HEADER_SEARCH_PATHS'
=>
'"$(POD_SRCROOT)/Headers"'
,
'ALWAYS_SEARCH_USER_PATHS'
=>
'YES'
,
# This makes categories from static libraries work, which many libraries
# require, so we add these by default.
...
...
@@ -131,6 +132,7 @@ module Pod
config
.
baseConfiguration
=
xcconfig_file
config
.
buildSettings
[
'OTHER_LDFLAGS'
]
=
''
config
.
buildSettings
[
'GCC_PREFIX_HEADER'
]
=
prefix_header_filename
config
.
buildSettings
[
'POD_SRCROOT'
]
=
'$(SRCROOT)'
end
end
...
...
lib/cocoapods/xcodeproj_ext.rb
View file @
4c27a975
...
...
@@ -99,7 +99,6 @@ module Xcodeproj
def
self
.
build_settings
(
platform
,
scheme
)
settings
=
COMMON_BUILD_SETTINGS
[
:all
].
merge
(
COMMON_BUILD_SETTINGS
[
platform
])
settings
[
'COPY_PHASE_STRIP'
]
=
scheme
==
:debug
?
'NO'
:
'YES'
settings
[
'POD_SRCROOT'
]
=
'$(SRCROOT)'
if
scheme
==
:debug
settings
.
merge!
(
COMMON_BUILD_SETTINGS
[
:debug
])
settings
[
'ONLY_ACTIVE_ARCH'
]
=
'YES'
if
platform
==
:osx
...
...
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