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
aa294a77
Commit
aa294a77
authored
Aug 15, 2013
by
Cédric Luthi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add test for STRIP_INSTALLED_PRODUCT = NO at project level
parent
cf59f66c
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
1 deletion
+10
-1
installer_spec.rb
spec/unit/installer_spec.rb
+10
-1
No files found.
spec/unit/installer_spec.rb
View file @
aa294a77
...
...
@@ -16,7 +16,7 @@ end
def
generate_podfile
(
pods
=
[
'JSONKit'
])
podfile
=
Pod
::
Podfile
.
new
do
platform
:ios
xcodeproj
'SampleProject/SampleProject'
xcodeproj
'SampleProject/SampleProject'
,
'Debug'
=>
:debug
,
'Test'
=>
:debug
,
'Release'
=>
:release
,
'App Store'
=>
:release
pods
.
each
{
|
name
|
pod
name
}
end
end
...
...
@@ -243,6 +243,15 @@ module Pod
build_setting
[
"IPHONEOS_DEPLOYMENT_TARGET"
].
should
==
'6.0'
end
end
it
"sets STRIP_INSTALLED_PRODUCT to NO for all configurations for the whole project"
do
@installer
.
stubs
(
:aggregate_targets
).
returns
([])
@installer
.
send
(
:prepare_pods_project
)
@installer
.
pods_project
.
build_settings
(
'Debug'
)[
"STRIP_INSTALLED_PRODUCT"
].
should
==
"NO"
@installer
.
pods_project
.
build_settings
(
'Test'
)[
"STRIP_INSTALLED_PRODUCT"
].
should
==
"NO"
@installer
.
pods_project
.
build_settings
(
'Release'
)[
"STRIP_INSTALLED_PRODUCT"
].
should
==
"NO"
@installer
.
pods_project
.
build_settings
(
'App Store'
)[
"STRIP_INSTALLED_PRODUCT"
].
should
==
"NO"
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