xcodeproj 1.0.0.beta.2 → 1.0.0.beta.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/xcodeproj/command/config_dump.rb +1 -0
- data/lib/xcodeproj/gem_version.rb +1 -1
- data/lib/xcodeproj/plist/ffi/dev_tools_core.rb +2 -0
- data/lib/xcodeproj/project/object/build_configuration.rb +15 -0
- data/lib/xcodeproj/project/object_list.rb +4 -4
- data/lib/xcodeproj/project/project_helper.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cf70f4fc8e04d6af3a40180f46b7f5ace1cfa3ad
|
4
|
+
data.tar.gz: b5f8718dde0f983d624b6533f535e3b424ef91da
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1f37da28af86418f4b9cf4d3d7667b8cb17daa021541f116fa4049c269465d7469ff44cdd4b2097d8252885767aea80714a1ad5eab758249839474a62293bd4e
|
7
|
+
data.tar.gz: 5e707785dd45fdea7886a2ccce890f6f4d2c982eaa438c4917c0ae37899beb5a221a5941a4f4ac1c913d2a4cf92834742a2656f0d98677a25791e0df61030b9c
|
@@ -72,6 +72,8 @@ module Xcodeproj
|
|
72
72
|
def self.load_xcode_frameworks
|
73
73
|
DevToolsCore.silence_stderr do
|
74
74
|
load_xcode_framework('SharedFrameworks/DVTFoundation.framework/DVTFoundation')
|
75
|
+
load_xcode_framework('SharedFrameworks/DVTServices.framework/DVTServices')
|
76
|
+
load_xcode_framework('SharedFrameworks/DVTPortal.framework/DVTPortal')
|
75
77
|
load_xcode_framework('SharedFrameworks/DVTSourceControl.framework/DVTSourceControl')
|
76
78
|
load_xcode_framework('SharedFrameworks/CSServiceClient.framework/CSServiceClient')
|
77
79
|
load_xcode_framework('Frameworks/IBFoundation.framework/IBFoundation')
|
@@ -47,6 +47,21 @@ module Xcodeproj
|
|
47
47
|
self.build_settings = sorted_build_settings
|
48
48
|
end
|
49
49
|
|
50
|
+
# @return [Boolean] Whether this configuration is configured for
|
51
|
+
# debugging.
|
52
|
+
#
|
53
|
+
def debug?
|
54
|
+
gcc_preprocessor_definitions = build_settings['GCC_PREPROCESSOR_DEFINITIONS']
|
55
|
+
gcc_preprocessor_definitions && gcc_preprocessor_definitions.include?('DEBUG=1')
|
56
|
+
end
|
57
|
+
|
58
|
+
# @return [Symbol] The symbolic type of this configuration, either
|
59
|
+
# `:debug` or `:release`.
|
60
|
+
#
|
61
|
+
def type
|
62
|
+
debug? ? :debug : :release
|
63
|
+
end
|
64
|
+
|
50
65
|
#---------------------------------------------------------------------#
|
51
66
|
|
52
67
|
private
|
@@ -140,10 +140,10 @@ module Xcodeproj
|
|
140
140
|
super
|
141
141
|
end
|
142
142
|
|
143
|
-
# Moves the
|
143
|
+
# Moves the given object to the given index.
|
144
144
|
#
|
145
|
-
# @param [
|
146
|
-
# The
|
145
|
+
# @param [AbstractObject, ObjectDictionary] object
|
146
|
+
# The object to move.
|
147
147
|
#
|
148
148
|
# @param [Fixnum] to
|
149
149
|
# The new index for the object.
|
@@ -159,7 +159,7 @@ module Xcodeproj
|
|
159
159
|
end
|
160
160
|
end
|
161
161
|
|
162
|
-
# Moves the object at the given
|
162
|
+
# Moves the object at the given index to the given position.
|
163
163
|
#
|
164
164
|
# @param [Fixnum] from
|
165
165
|
# The current index of the object.
|
@@ -189,7 +189,7 @@ module Xcodeproj
|
|
189
189
|
|
190
190
|
new_config = project.new(XCBuildConfiguration)
|
191
191
|
new_config.name = configuration.name
|
192
|
-
new_config.build_settings = common_build_settings(
|
192
|
+
new_config.build_settings = common_build_settings(configuration.type, platform, deployment_target, target_product_type, language)
|
193
193
|
cl.build_configurations << new_config
|
194
194
|
end
|
195
195
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: xcodeproj
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.0.beta.
|
4
|
+
version: 1.0.0.beta.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Eloy Duran
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2016-02-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|
@@ -148,7 +148,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
148
148
|
version: '0'
|
149
149
|
requirements: []
|
150
150
|
rubyforge_project:
|
151
|
-
rubygems_version: 2.5.
|
151
|
+
rubygems_version: 2.5.2
|
152
152
|
signing_key:
|
153
153
|
specification_version: 3
|
154
154
|
summary: Create and modify Xcode projects from Ruby.
|