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
cce22a68
Commit
cce22a68
authored
Oct 07, 2013
by
Fabio Pelosin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[Project] Define CocoaPods build settings explicitely
parent
42c113da
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
18 additions
and
2 deletions
+18
-2
Gemfile.lock
Gemfile.lock
+1
-1
project.rb
lib/cocoapods/project.rb
+10
-0
cocoapods-integration-specs
spec/cocoapods-integration-specs
+1
-1
project_spec.rb
spec/unit/project_spec.rb
+6
-0
No files found.
Gemfile.lock
View file @
cce22a68
...
...
@@ -17,7 +17,7 @@ GIT
GIT
remote: https://github.com/CocoaPods/Xcodeproj.git
revision:
0f41aaf98dc8c595561338023caf08ee7f0758be
revision:
c1751f473d90f7dd03c0433c88b6178ec2f13080
branch: master
specs:
xcodeproj (0.11.1)
...
...
lib/cocoapods/project.rb
View file @
cce22a68
...
...
@@ -19,6 +19,16 @@ module Pod
@refs_by_absolute_path
=
{}
@pods
=
new_group
(
'Pods'
)
@development_pods
=
new_group
(
'Development Pods'
)
set_cocoapods_defaults
end
# @return [void] Prepares the project with the build settings used by
# CocoaPods.
#
def
set_cocoapods_defaults
build_configurations
.
each
do
|
configuration
|
configuration
.
build_settings
[
'CLANG_ENABLE_OBJC_ARC'
]
=
'NO'
end
end
# @return [PBXGroup] The group for the support files of the aggregate
...
...
cocoapods-integration-specs
@
35509baa
Subproject commit
2cd7488b0a6c2d8c733b78bce4223a641dc27a1c
Subproject commit
35509baa098c3d210438ca9ff412b1377eb5f994
spec/unit/project_spec.rb
View file @
cce22a68
...
...
@@ -23,6 +23,12 @@ module Pod
@project
.
development_pods
.
name
.
should
==
'Development Pods'
end
it
"sets the default build settings of CocoaPods"
do
@project
.
build_configurations
.
each
do
|
configuration
|
configuration
.
build_settings
[
'CLANG_ENABLE_OBJC_ARC'
].
should
==
'NO'
end
end
end
#-------------------------------------------------------------------------#
...
...
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