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
a62645d9
Commit
a62645d9
authored
Oct 09, 2013
by
Fabio Pelosin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[Xcodeproj] Bump
parent
caea00de
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
25 deletions
+13
-25
Gemfile.lock
Gemfile.lock
+1
-1
analyzer_spec.rb
spec/unit/installer/analyzer_spec.rb
+12
-24
No files found.
Gemfile.lock
View file @
a62645d9
...
@@ -17,7 +17,7 @@ GIT
...
@@ -17,7 +17,7 @@ GIT
GIT
GIT
remote: https://github.com/CocoaPods/Xcodeproj.git
remote: https://github.com/CocoaPods/Xcodeproj.git
revision:
c080ecf4951cb4df66824dcd384c5082762955ae
revision:
8911fee561255f4f11a29a48e345017aec605081
branch: master
branch: master
specs:
specs:
xcodeproj (0.12.0)
xcodeproj (0.12.0)
...
...
spec/unit/installer/analyzer_spec.rb
View file @
a62645d9
...
@@ -345,11 +345,8 @@ module Pod
...
@@ -345,11 +345,8 @@ module Pod
it
"infers the platform from the user targets"
do
it
"infers the platform from the user targets"
do
user_project
=
Xcodeproj
::
Project
.
new
(
'path'
)
user_project
=
Xcodeproj
::
Project
.
new
(
'path'
)
target
=
user_project
.
new_target
(
:application
,
'Target'
,
:ios
)
target
=
user_project
.
new_target
(
:application
,
'Target'
,
:ios
)
configuration
=
target
.
build_configuration_list
.
build_configurations
.
first
target
.
build_configuration_list
.
set_setting
(
'SDKROOT'
,
'iphoneos'
)
configuration
.
build_settings
=
{
target
.
build_configuration_list
.
set_setting
(
'IPHONEOS_DEPLOYMENT_TARGET'
,
'4.0'
)
'SDKROOT'
=>
'iphoneos'
,
'IPHONEOS_DEPLOYMENT_TARGET'
=>
'4.0'
}
target_definition
=
Podfile
::
TargetDefinition
.
new
(
:default
,
nil
)
target_definition
=
Podfile
::
TargetDefinition
.
new
(
:default
,
nil
)
user_targets
=
[
target
]
user_targets
=
[
target
]
...
@@ -362,16 +359,12 @@ module Pod
...
@@ -362,16 +359,12 @@ module Pod
user_project
=
Xcodeproj
::
Project
.
new
(
'path'
)
user_project
=
Xcodeproj
::
Project
.
new
(
'path'
)
target1
=
user_project
.
new_target
(
:application
,
'Target'
,
:ios
)
target1
=
user_project
.
new_target
(
:application
,
'Target'
,
:ios
)
configuration1
=
target1
.
build_configuration_list
.
build_configurations
.
first
configuration1
=
target1
.
build_configuration_list
.
build_configurations
.
first
configuration1
.
build_settings
=
{
target1
.
build_configuration_list
.
set_setting
(
'SDKROOT'
,
'iphoneos'
)
'SDKROOT'
=>
'iphoneos'
,
target1
.
build_configuration_list
.
set_setting
(
'IPHONEOS_DEPLOYMENT_TARGET'
,
'4.0'
)
'IPHONEOS_DEPLOYMENT_TARGET'
=>
'4.0'
}
target2
=
user_project
.
new_target
(
:application
,
'Target'
,
:ios
)
target2
=
user_project
.
new_target
(
:application
,
'Target'
,
:ios
)
configuration2
=
target2
.
build_configuration_list
.
build_configurations
.
first
target2
.
build_configuration_list
.
set_setting
(
'SDKROOT'
,
'iphoneos'
)
configuration2
.
build_settings
=
{
target2
.
build_configuration_list
.
set_setting
(
'IPHONEOS_DEPLOYMENT_TARGET'
,
'6.0'
)
'SDKROOT'
=>
'iphoneos'
,
'IPHONEOS_DEPLOYMENT_TARGET'
=>
'6.0'
}
target_definition
=
Podfile
::
TargetDefinition
.
new
(
:default
,
nil
)
target_definition
=
Podfile
::
TargetDefinition
.
new
(
:default
,
nil
)
user_targets
=
[
target1
,
target2
]
user_targets
=
[
target1
,
target2
]
...
@@ -383,17 +376,12 @@ module Pod
...
@@ -383,17 +376,12 @@ module Pod
it
"raises if the user targets have a different platform"
do
it
"raises if the user targets have a different platform"
do
user_project
=
Xcodeproj
::
Project
.
new
(
'path'
)
user_project
=
Xcodeproj
::
Project
.
new
(
'path'
)
target1
=
user_project
.
new_target
(
:application
,
'Target'
,
:ios
)
target1
=
user_project
.
new_target
(
:application
,
'Target'
,
:ios
)
configuration1
=
target1
.
build_configuration_list
.
build_configurations
.
first
target1
.
build_configuration_list
.
set_setting
(
'SDKROOT'
,
'iphoneos'
)
configuration1
.
build_settings
=
{
target1
.
build_configuration_list
.
set_setting
(
'IPHONEOS_DEPLOYMENT_TARGET'
,
'4.0'
)
'SDKROOT'
=>
'iphoneos'
,
'IPHONEOS_DEPLOYMENT_TARGET'
=>
'4.0'
}
target2
=
user_project
.
new_target
(
:application
,
'Target'
,
:ios
)
target2
=
user_project
.
new_target
(
:application
,
'Target'
,
:ios
)
configuration2
=
target2
.
build_configuration_list
.
build_configurations
.
first
target2
.
build_configuration_list
.
set_setting
(
'SDKROOT'
,
'macosx'
)
configuration2
.
build_settings
=
{
target2
.
build_configuration_list
.
set_setting
(
'IPHONEOS_DEPLOYMENT_TARGET'
,
'10.6'
)
'SDKROOT'
=>
'macosx'
,
'IPHONEOS_DEPLOYMENT_TARGET'
=>
'10.6'
}
target_definition
=
Podfile
::
TargetDefinition
.
new
(
:default
,
nil
)
target_definition
=
Podfile
::
TargetDefinition
.
new
(
:default
,
nil
)
user_targets
=
[
target1
,
target2
]
user_targets
=
[
target1
,
target2
]
...
...
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