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
0b2bd1ee
Commit
0b2bd1ee
authored
Apr 27, 2012
by
Angel Garcia
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove the '-all_load' linker flags by default. Issue #234.
parent
ab1f9050
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
target_installer.rb
lib/cocoapods/installer/target_installer.rb
+1
-1
installer_spec.rb
spec/unit/installer_spec.rb
+2
-2
No files found.
lib/cocoapods/installer/target_installer.rb
View file @
0b2bd1ee
...
...
@@ -120,7 +120,7 @@ module Pod
end
def
default_ld_flags
flags
=
%w{-ObjC
-all_load
}
flags
=
%w{-ObjC}
flags
<<
'-fobjc-arc'
if
@podfile
.
set_arc_compatibility_flag?
&&
self
.
requires_arc
flags
.
join
(
" "
)
end
...
...
spec/unit/installer_spec.rb
View file @
0b2bd1ee
...
...
@@ -26,8 +26,8 @@ describe "Pod::Installer" do
@xcconfig
[
'ALWAYS_SEARCH_USER_PATHS'
].
should
==
'YES'
end
it
"configures the project to load categories from the static library"
do
@xcconfig
[
'OTHER_LDFLAGS'
].
should
==
'-ObjC
-all_load
'
it
"configures the project to load
all members that implement Objective-c classes or
categories from the static library"
do
@xcconfig
[
'OTHER_LDFLAGS'
].
should
==
'-ObjC'
end
it
"sets the PODS_ROOT build variable"
do
...
...
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