Adding a project build script that replaces the CFBundleVersion in the plist with...
[macgdbp.git] / MacGDBp.xcodeproj / project.pbxproj
1 // !$*UTF8*$!
2 {
3 archiveVersion = 1;
4 classes = {
5 };
6 objectVersion = 42;
7 objects = {
8
9 /* Begin PBXBuildFile section */
10 1E02C3D00C60E857006F1752 /* Connect.nib in Resources */ = {isa = PBXBuildFile; fileRef = 1E02C3CE0C60E857006F1752 /* Connect.nib */; };
11 1E02C3D50C60EC2C006F1752 /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 1E02C3D40C60EC2C006F1752 /* AppDelegate.m */; };
12 1E02C3F00C60ED56006F1752 /* Debugger.nib in Resources */ = {isa = PBXBuildFile; fileRef = 1E02C3EE0C60ED56006F1752 /* Debugger.nib */; };
13 1E02C4080C60EF3F006F1752 /* ConnectWindowController.m in Sources */ = {isa = PBXBuildFile; fileRef = 1E02C4070C60EF3F006F1752 /* ConnectWindowController.m */; };
14 1E02C5710C610158006F1752 /* DebuggerConnection.m in Sources */ = {isa = PBXBuildFile; fileRef = 1E02C5700C610158006F1752 /* DebuggerConnection.m */; };
15 1E02C5F60C610724006F1752 /* DebuggerWindowController.m in Sources */ = {isa = PBXBuildFile; fileRef = 1E02C5F50C610724006F1752 /* DebuggerWindowController.m */; };
16 8D11072A0486CEB800E47090 /* MainMenu.nib in Resources */ = {isa = PBXBuildFile; fileRef = 29B97318FDCFA39411CA2CEA /* MainMenu.nib */; };
17 8D11072B0486CEB800E47090 /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = 089C165CFE840E0CC02AAC07 /* InfoPlist.strings */; };
18 8D11072D0486CEB800E47090 /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 29B97316FDCFA39411CA2CEA /* main.m */; settings = {ATTRIBUTES = (); }; };
19 8D11072F0486CEB800E47090 /* Cocoa.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 1058C7A1FEA54F0111CA2CBB /* Cocoa.framework */; };
20 /* End PBXBuildFile section */
21
22 /* Begin PBXFileReference section */
23 089C165DFE840E0CC02AAC07 /* English */ = {isa = PBXFileReference; fileEncoding = 10; lastKnownFileType = text.plist.strings; name = English; path = English.lproj/InfoPlist.strings; sourceTree = "<group>"; };
24 1058C7A1FEA54F0111CA2CBB /* Cocoa.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Cocoa.framework; path = /System/Library/Frameworks/Cocoa.framework; sourceTree = "<absolute>"; };
25 13E42FB307B3F0F600E4EEF1 /* CoreData.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreData.framework; path = /System/Library/Frameworks/CoreData.framework; sourceTree = "<absolute>"; };
26 1E02C3CF0C60E857006F1752 /* English */ = {isa = PBXFileReference; lastKnownFileType = wrapper.nib; name = English; path = English.lproj/Connect.nib; sourceTree = "<group>"; };
27 1E02C3D30C60EC2C006F1752 /* AppDelegate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = AppDelegate.h; path = Source/AppDelegate.h; sourceTree = "<group>"; };
28 1E02C3D40C60EC2C006F1752 /* AppDelegate.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = AppDelegate.m; path = Source/AppDelegate.m; sourceTree = "<group>"; };
29 1E02C3EF0C60ED56006F1752 /* English */ = {isa = PBXFileReference; lastKnownFileType = wrapper.nib; name = English; path = English.lproj/Debugger.nib; sourceTree = "<group>"; };
30 1E02C4060C60EF3F006F1752 /* ConnectWindowController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = ConnectWindowController.h; path = Source/ConnectWindowController.h; sourceTree = "<group>"; };
31 1E02C4070C60EF3F006F1752 /* ConnectWindowController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = ConnectWindowController.m; path = Source/ConnectWindowController.m; sourceTree = "<group>"; };
32 1E02C56F0C610158006F1752 /* DebuggerConnection.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = DebuggerConnection.h; path = Source/DebuggerConnection.h; sourceTree = "<group>"; };
33 1E02C5700C610158006F1752 /* DebuggerConnection.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = DebuggerConnection.m; path = Source/DebuggerConnection.m; sourceTree = "<group>"; };
34 1E02C5F40C610724006F1752 /* DebuggerWindowController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = DebuggerWindowController.h; path = Source/DebuggerWindowController.h; sourceTree = "<group>"; };
35 1E02C5F50C610724006F1752 /* DebuggerWindowController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = DebuggerWindowController.m; path = Source/DebuggerWindowController.m; sourceTree = "<group>"; };
36 29B97316FDCFA39411CA2CEA /* main.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = "<group>"; };
37 29B97319FDCFA39411CA2CEA /* English */ = {isa = PBXFileReference; lastKnownFileType = wrapper.nib; name = English; path = English.lproj/MainMenu.nib; sourceTree = "<group>"; };
38 29B97324FDCFA39411CA2CEA /* AppKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = AppKit.framework; path = /System/Library/Frameworks/AppKit.framework; sourceTree = "<absolute>"; };
39 29B97325FDCFA39411CA2CEA /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = /System/Library/Frameworks/Foundation.framework; sourceTree = "<absolute>"; };
40 32CA4F630368D1EE00C91783 /* MacGDBp_Prefix.pch */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MacGDBp_Prefix.pch; sourceTree = "<group>"; };
41 8D1107310486CEB800E47090 /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist; path = Info.plist; sourceTree = "<group>"; };
42 8D1107320486CEB800E47090 /* MacGDBp.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = MacGDBp.app; sourceTree = BUILT_PRODUCTS_DIR; };
43 /* End PBXFileReference section */
44
45 /* Begin PBXFrameworksBuildPhase section */
46 8D11072E0486CEB800E47090 /* Frameworks */ = {
47 isa = PBXFrameworksBuildPhase;
48 buildActionMask = 2147483647;
49 files = (
50 8D11072F0486CEB800E47090 /* Cocoa.framework in Frameworks */,
51 );
52 runOnlyForDeploymentPostprocessing = 0;
53 };
54 /* End PBXFrameworksBuildPhase section */
55
56 /* Begin PBXGroup section */
57 080E96DDFE201D6D7F000001 /* Classes */ = {
58 isa = PBXGroup;
59 children = (
60 );
61 name = Classes;
62 sourceTree = "<group>";
63 };
64 1058C7A0FEA54F0111CA2CBB /* Linked Frameworks */ = {
65 isa = PBXGroup;
66 children = (
67 1058C7A1FEA54F0111CA2CBB /* Cocoa.framework */,
68 );
69 name = "Linked Frameworks";
70 sourceTree = "<group>";
71 };
72 1058C7A2FEA54F0111CA2CBB /* Other Frameworks */ = {
73 isa = PBXGroup;
74 children = (
75 29B97324FDCFA39411CA2CEA /* AppKit.framework */,
76 13E42FB307B3F0F600E4EEF1 /* CoreData.framework */,
77 29B97325FDCFA39411CA2CEA /* Foundation.framework */,
78 );
79 name = "Other Frameworks";
80 sourceTree = "<group>";
81 };
82 19C28FACFE9D520D11CA2CBB /* Products */ = {
83 isa = PBXGroup;
84 children = (
85 8D1107320486CEB800E47090 /* MacGDBp.app */,
86 );
87 name = Products;
88 sourceTree = "<group>";
89 };
90 29B97314FDCFA39411CA2CEA /* MacGDBp */ = {
91 isa = PBXGroup;
92 children = (
93 080E96DDFE201D6D7F000001 /* Classes */,
94 29B97315FDCFA39411CA2CEA /* Other Sources */,
95 29B97317FDCFA39411CA2CEA /* Resources */,
96 29B97323FDCFA39411CA2CEA /* Frameworks */,
97 19C28FACFE9D520D11CA2CBB /* Products */,
98 );
99 name = MacGDBp;
100 sourceTree = "<group>";
101 };
102 29B97315FDCFA39411CA2CEA /* Other Sources */ = {
103 isa = PBXGroup;
104 children = (
105 32CA4F630368D1EE00C91783 /* MacGDBp_Prefix.pch */,
106 29B97316FDCFA39411CA2CEA /* main.m */,
107 1E02C3D30C60EC2C006F1752 /* AppDelegate.h */,
108 1E02C3D40C60EC2C006F1752 /* AppDelegate.m */,
109 1E02C4060C60EF3F006F1752 /* ConnectWindowController.h */,
110 1E02C4070C60EF3F006F1752 /* ConnectWindowController.m */,
111 1E02C56F0C610158006F1752 /* DebuggerConnection.h */,
112 1E02C5700C610158006F1752 /* DebuggerConnection.m */,
113 1E02C5F40C610724006F1752 /* DebuggerWindowController.h */,
114 1E02C5F50C610724006F1752 /* DebuggerWindowController.m */,
115 );
116 name = "Other Sources";
117 sourceTree = "<group>";
118 };
119 29B97317FDCFA39411CA2CEA /* Resources */ = {
120 isa = PBXGroup;
121 children = (
122 8D1107310486CEB800E47090 /* Info.plist */,
123 089C165CFE840E0CC02AAC07 /* InfoPlist.strings */,
124 29B97318FDCFA39411CA2CEA /* MainMenu.nib */,
125 1E02C3CE0C60E857006F1752 /* Connect.nib */,
126 1E02C3EE0C60ED56006F1752 /* Debugger.nib */,
127 );
128 name = Resources;
129 sourceTree = "<group>";
130 };
131 29B97323FDCFA39411CA2CEA /* Frameworks */ = {
132 isa = PBXGroup;
133 children = (
134 1058C7A0FEA54F0111CA2CBB /* Linked Frameworks */,
135 1058C7A2FEA54F0111CA2CBB /* Other Frameworks */,
136 );
137 name = Frameworks;
138 sourceTree = "<group>";
139 };
140 /* End PBXGroup section */
141
142 /* Begin PBXNativeTarget section */
143 8D1107260486CEB800E47090 /* MacGDBp */ = {
144 isa = PBXNativeTarget;
145 buildConfigurationList = C01FCF4A08A954540054247B /* Build configuration list for PBXNativeTarget "MacGDBp" */;
146 buildPhases = (
147 8D1107290486CEB800E47090 /* Resources */,
148 8D11072C0486CEB800E47090 /* Sources */,
149 8D11072E0486CEB800E47090 /* Frameworks */,
150 1E78FD670C6155EB00D6D005 /* ShellScript */,
151 );
152 buildRules = (
153 );
154 dependencies = (
155 );
156 name = MacGDBp;
157 productInstallPath = "$(HOME)/Applications";
158 productName = MacGDBp;
159 productReference = 8D1107320486CEB800E47090 /* MacGDBp.app */;
160 productType = "com.apple.product-type.application";
161 };
162 /* End PBXNativeTarget section */
163
164 /* Begin PBXProject section */
165 29B97313FDCFA39411CA2CEA /* Project object */ = {
166 isa = PBXProject;
167 buildConfigurationList = C01FCF4E08A954540054247B /* Build configuration list for PBXProject "MacGDBp" */;
168 hasScannedForEncodings = 1;
169 mainGroup = 29B97314FDCFA39411CA2CEA /* MacGDBp */;
170 projectDirPath = "";
171 targets = (
172 8D1107260486CEB800E47090 /* MacGDBp */,
173 );
174 };
175 /* End PBXProject section */
176
177 /* Begin PBXResourcesBuildPhase section */
178 8D1107290486CEB800E47090 /* Resources */ = {
179 isa = PBXResourcesBuildPhase;
180 buildActionMask = 2147483647;
181 files = (
182 8D11072A0486CEB800E47090 /* MainMenu.nib in Resources */,
183 8D11072B0486CEB800E47090 /* InfoPlist.strings in Resources */,
184 1E02C3D00C60E857006F1752 /* Connect.nib in Resources */,
185 1E02C3F00C60ED56006F1752 /* Debugger.nib in Resources */,
186 );
187 runOnlyForDeploymentPostprocessing = 0;
188 };
189 /* End PBXResourcesBuildPhase section */
190
191 /* Begin PBXShellScriptBuildPhase section */
192 1E78FD670C6155EB00D6D005 /* ShellScript */ = {
193 isa = PBXShellScriptBuildPhase;
194 buildActionMask = 2147483647;
195 files = (
196 );
197 inputPaths = (
198 );
199 outputPaths = (
200 );
201 runOnlyForDeploymentPostprocessing = 0;
202 shellPath = /usr/bin/ruby;
203 shellScript = "require \"ftools\"\nrequire \"Time\"\n\nhash = %x{/usr/local/bin/git log -1 --pretty=format:%h}\ntimestamp = %x{/usr/local/bin/git log -1 --pretty=format:%ct}\ntime = Time.at(timestamp.to_i)\n\nbuild = (\"%02d\" % time.year) + (\"%02d\" % time.month) + (\"%02d\" % time.day) + \".\" + hash\n\ninfopath = ENV[\"CONFIGURATION_BUILD_DIR\"] + \"/\" + ENV[\"INFOPLIST_PATH\"]\n\nputs infopath\n\nfile = \"\"\nio = File.new(infopath)\nlastline = \"\"\nwhile line = io.gets do\n\tif lastline.match(\"CFBundleVersion\")\n\t\tfile += \"\\t<string>#{build}</string>\\n\"\n\telse\n\t\tfile += line\n\tend\n\tlastline = line\nend\nio.close\n\nio = File.new(infopath, \"w\")\nio.write(file)\nio.close";
204 };
205 /* End PBXShellScriptBuildPhase section */
206
207 /* Begin PBXSourcesBuildPhase section */
208 8D11072C0486CEB800E47090 /* Sources */ = {
209 isa = PBXSourcesBuildPhase;
210 buildActionMask = 2147483647;
211 files = (
212 8D11072D0486CEB800E47090 /* main.m in Sources */,
213 1E02C3D50C60EC2C006F1752 /* AppDelegate.m in Sources */,
214 1E02C4080C60EF3F006F1752 /* ConnectWindowController.m in Sources */,
215 1E02C5710C610158006F1752 /* DebuggerConnection.m in Sources */,
216 1E02C5F60C610724006F1752 /* DebuggerWindowController.m in Sources */,
217 );
218 runOnlyForDeploymentPostprocessing = 0;
219 };
220 /* End PBXSourcesBuildPhase section */
221
222 /* Begin PBXVariantGroup section */
223 089C165CFE840E0CC02AAC07 /* InfoPlist.strings */ = {
224 isa = PBXVariantGroup;
225 children = (
226 089C165DFE840E0CC02AAC07 /* English */,
227 );
228 name = InfoPlist.strings;
229 sourceTree = "<group>";
230 };
231 1E02C3CE0C60E857006F1752 /* Connect.nib */ = {
232 isa = PBXVariantGroup;
233 children = (
234 1E02C3CF0C60E857006F1752 /* English */,
235 );
236 name = Connect.nib;
237 sourceTree = "<group>";
238 };
239 1E02C3EE0C60ED56006F1752 /* Debugger.nib */ = {
240 isa = PBXVariantGroup;
241 children = (
242 1E02C3EF0C60ED56006F1752 /* English */,
243 );
244 name = Debugger.nib;
245 sourceTree = "<group>";
246 };
247 29B97318FDCFA39411CA2CEA /* MainMenu.nib */ = {
248 isa = PBXVariantGroup;
249 children = (
250 29B97319FDCFA39411CA2CEA /* English */,
251 );
252 name = MainMenu.nib;
253 sourceTree = "<group>";
254 };
255 /* End PBXVariantGroup section */
256
257 /* Begin XCBuildConfiguration section */
258 C01FCF4B08A954540054247B /* Debug */ = {
259 isa = XCBuildConfiguration;
260 buildSettings = {
261 COPY_PHASE_STRIP = NO;
262 GCC_DYNAMIC_NO_PIC = NO;
263 GCC_ENABLE_FIX_AND_CONTINUE = YES;
264 GCC_MODEL_TUNING = G5;
265 GCC_OPTIMIZATION_LEVEL = 0;
266 INFOPLIST_FILE = Info.plist;
267 INSTALL_PATH = "$(HOME)/Applications";
268 PRODUCT_NAME = MacGDBp;
269 WRAPPER_EXTENSION = app;
270 ZERO_LINK = YES;
271 };
272 name = Debug;
273 };
274 C01FCF4C08A954540054247B /* Release */ = {
275 isa = XCBuildConfiguration;
276 buildSettings = {
277 ARCHS = (
278 ppc,
279 i386,
280 );
281 GCC_GENERATE_DEBUGGING_SYMBOLS = NO;
282 GCC_MODEL_TUNING = G5;
283 INFOPLIST_FILE = Info.plist;
284 INSTALL_PATH = "$(HOME)/Applications";
285 PRODUCT_NAME = MacGDBp;
286 WRAPPER_EXTENSION = app;
287 };
288 name = Release;
289 };
290 C01FCF4F08A954540054247B /* Debug */ = {
291 isa = XCBuildConfiguration;
292 buildSettings = {
293 GCC_WARN_ABOUT_RETURN_TYPE = YES;
294 GCC_WARN_UNUSED_VARIABLE = YES;
295 PREBINDING = NO;
296 SDKROOT = /Developer/SDKs/MacOSX10.4u.sdk;
297 };
298 name = Debug;
299 };
300 C01FCF5008A954540054247B /* Release */ = {
301 isa = XCBuildConfiguration;
302 buildSettings = {
303 GCC_WARN_ABOUT_RETURN_TYPE = YES;
304 GCC_WARN_UNUSED_VARIABLE = YES;
305 PREBINDING = NO;
306 SDKROOT = /Developer/SDKs/MacOSX10.4u.sdk;
307 };
308 name = Release;
309 };
310 /* End XCBuildConfiguration section */
311
312 /* Begin XCConfigurationList section */
313 C01FCF4A08A954540054247B /* Build configuration list for PBXNativeTarget "MacGDBp" */ = {
314 isa = XCConfigurationList;
315 buildConfigurations = (
316 C01FCF4B08A954540054247B /* Debug */,
317 C01FCF4C08A954540054247B /* Release */,
318 );
319 defaultConfigurationIsVisible = 0;
320 defaultConfigurationName = Release;
321 };
322 C01FCF4E08A954540054247B /* Build configuration list for PBXProject "MacGDBp" */ = {
323 isa = XCConfigurationList;
324 buildConfigurations = (
325 C01FCF4F08A954540054247B /* Debug */,
326 C01FCF5008A954540054247B /* Release */,
327 );
328 defaultConfigurationIsVisible = 0;
329 defaultConfigurationName = Release;
330 };
331 /* End XCConfigurationList section */
332 };
333 rootObject = 29B97313FDCFA39411CA2CEA /* Project object */;
334 }