File tree Expand file tree Collapse file tree 3 files changed +5
-7
lines changed Expand file tree Collapse file tree 3 files changed +5
-7
lines changed Original file line number Diff line number Diff line change @@ -118,7 +118,6 @@ module Constants
118
118
'GCC_SYMBOLS_PRIVATE_EXTERN' => 'NO' ,
119
119
'GCC_OPTIMIZATION_LEVEL' => '0' ,
120
120
'COPY_PHASE_STRIP' => 'NO' ,
121
- 'ONLY_ACTIVE_ARCH' => 'YES' ,
122
121
} . freeze ,
123
122
:release => {
124
123
'OTHER_CFLAGS' => [ '-DNS_BLOCK_ASSERTIONS=1' , "$(inherited)" ] ,
@@ -156,8 +155,7 @@ module Constants
156
155
:release => {
157
156
} . freeze ,
158
157
:debug => {
159
- # TODO: enable after Xcode 4
160
- # 'ONLY_ACTIVE_ARCH' => 'YES',
158
+ 'ONLY_ACTIVE_ARCH' => 'YES' ,
161
159
} . freeze ,
162
160
} . freeze
163
161
Original file line number Diff line number Diff line change 1
1
module Xcodeproj
2
2
# The version of the xcodeproj gem.
3
3
#
4
- VERSION = '0.10.1 ' unless defined? Xcodeproj ::VERSION
4
+ VERSION = '0.11.0 ' unless defined? Xcodeproj ::VERSION
5
5
end
6
6
Original file line number Diff line number Diff line change @@ -60,7 +60,7 @@ module ProjectSpecs
60
60
61
61
configurations = list . build_configurations
62
62
configurations . map ( &:name ) . sort . should == %w| Debug Release |
63
- list . build_settings ( 'Debug' ) . should == { }
63
+ list . build_settings ( 'Debug' ) . should == { 'ONLY_ACTIVE_ARCH' => 'YES' }
64
64
list . build_settings ( 'Release' ) . should == { }
65
65
end
66
66
@@ -327,7 +327,7 @@ module ProjectSpecs
327
327
list . default_configuration_name . should == 'Release'
328
328
list . default_configuration_is_visible . should == '0'
329
329
330
- @project . build_settings ( 'Debug' ) . should == { }
330
+ @project . build_settings ( 'Debug' ) . should == { 'ONLY_ACTIVE_ARCH' => 'YES' }
331
331
@project . build_settings ( 'Release' ) . should == { }
332
332
end
333
333
@@ -354,7 +354,7 @@ module ProjectSpecs
354
354
] ,
355
355
"Targets" => [ ] ,
356
356
"Build Configurations" => [
357
- { "Debug" => { "Build Settings" => { } } } ,
357
+ { "Debug" => { "Build Settings" => { 'ONLY_ACTIVE_ARCH' => 'YES' } } } ,
358
358
{ "Release" => { "Build Settings" => { } } }
359
359
]
360
360
}
You can’t perform that action at this time.
0 commit comments