zerg_xcode 0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (46) hide show
  1. data/CHANGELOG +1 -0
  2. data/LICENSE +21 -0
  3. data/Manifest +44 -0
  4. data/README.textile +124 -0
  5. data/RUBYFORGE +40 -0
  6. data/Rakefile +27 -0
  7. data/bin/zerg-xcode +7 -0
  8. data/lib/zerg_xcode/file_format/archiver.rb +87 -0
  9. data/lib/zerg_xcode/file_format/encoder.rb +40 -0
  10. data/lib/zerg_xcode/file_format/lexer.rb +60 -0
  11. data/lib/zerg_xcode/file_format/parser.rb +46 -0
  12. data/lib/zerg_xcode/file_format/paths.rb +44 -0
  13. data/lib/zerg_xcode/objects/pbx_build_file.rb +27 -0
  14. data/lib/zerg_xcode/objects/pbx_native_target.rb +19 -0
  15. data/lib/zerg_xcode/objects/pbx_project.rb +60 -0
  16. data/lib/zerg_xcode/objects/xcode_object.rb +144 -0
  17. data/lib/zerg_xcode/plugins/core/core.rb +36 -0
  18. data/lib/zerg_xcode/plugins/help.rb +30 -0
  19. data/lib/zerg_xcode/plugins/import.rb +19 -0
  20. data/lib/zerg_xcode/plugins/irb.rb +22 -0
  21. data/lib/zerg_xcode/plugins/ls.rb +27 -0
  22. data/lib/zerg_xcode/plugins/retarget.rb +90 -0
  23. data/lib/zerg_xcode/shortcuts.rb +22 -0
  24. data/lib/zerg_xcode.rb +17 -0
  25. data/test/file_format/archiver_test.rb +70 -0
  26. data/test/file_format/encoder_test.rb +10 -0
  27. data/test/file_format/lexer_test.rb +56 -0
  28. data/test/file_format/parser_test.rb +44 -0
  29. data/test/file_format/path_test.rb +40 -0
  30. data/test/objects/pbx_build_file_test.rb +38 -0
  31. data/test/objects/pbx_native_target_test.rb +31 -0
  32. data/test/objects/pbx_project_test.rb +62 -0
  33. data/test/objects/xcode_object_test.rb +117 -0
  34. data/test/plugins/core/core_test.rb +32 -0
  35. data/test/plugins/import_test.rb +22 -0
  36. data/test/plugins/irb_test.rb +30 -0
  37. data/test/plugins/ls_test.rb +43 -0
  38. data/test/plugins/retarget_test.rb +65 -0
  39. data/test/plugins/test_helper.rb +21 -0
  40. data/test/shortcuts_test.rb +18 -0
  41. data/testdata/TestApp/TestApp.xcodeproj/project.pbxproj +328 -0
  42. data/testdata/ZergSupport.xcodeproj/project.pbxproj +930 -0
  43. data/testdata/project.pbxproj +250 -0
  44. data/testdata/project.pbxproj.compat +320 -0
  45. data/zerg_xcode.gemspec +34 -0
  46. metadata +137 -0
@@ -0,0 +1,250 @@
1
+ // !$*UTF8*$!
2
+ {
3
+ archiveVersion = 1;
4
+ classes = {
5
+ };
6
+ objectVersion = 45;
7
+ objects = {
8
+
9
+ /* Begin PBXBuildFile section */
10
+ 1D3623260D0F684500981E51 /* TestAppAppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 1D3623250D0F684500981E51 /* TestAppAppDelegate.m */; };
11
+ 1D60589B0D05DD56006BFB54 /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 29B97316FDCFA39411CA2CEA /* main.m */; };
12
+ 1D60589F0D05DD5A006BFB54 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 1D30AB110D05D00D00671497 /* Foundation.framework */; };
13
+ 1DF5F4E00D08C38300B7A737 /* UIKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 1DF5F4DF0D08C38300B7A737 /* UIKit.framework */; };
14
+ 288765A50DF7441C002DB57D /* CoreGraphics.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 288765A40DF7441C002DB57D /* CoreGraphics.framework */; };
15
+ 2899E5220DE3E06400AC0155 /* TestAppViewController.xib in Resources */ = {isa = PBXBuildFile; fileRef = 2899E5210DE3E06400AC0155 /* TestAppViewController.xib */; };
16
+ 28AD733F0D9D9553002E5188 /* MainWindow.xib in Resources */ = {isa = PBXBuildFile; fileRef = 28AD733E0D9D9553002E5188 /* MainWindow.xib */; };
17
+ 28D7ACF80DDB3853001CB0EB /* TestAppViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 28D7ACF70DDB3853001CB0EB /* TestAppViewController.m */; };
18
+ /* End PBXBuildFile section */
19
+
20
+ /* Begin PBXFileReference section */
21
+ 1D30AB110D05D00D00671497 /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = System/Library/Frameworks/Foundation.framework; sourceTree = SDKROOT; };
22
+ 1D3623240D0F684500981E51 /* TestAppAppDelegate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = TestAppAppDelegate.h; sourceTree = "<group>"; };
23
+ 1D3623250D0F684500981E51 /* TestAppAppDelegate.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = TestAppAppDelegate.m; sourceTree = "<group>"; };
24
+ 1D6058910D05DD3D006BFB54 /* TestApp.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = TestApp.app; sourceTree = BUILT_PRODUCTS_DIR; };
25
+ 1DF5F4DF0D08C38300B7A737 /* UIKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = UIKit.framework; path = System/Library/Frameworks/UIKit.framework; sourceTree = SDKROOT; };
26
+ 288765A40DF7441C002DB57D /* CoreGraphics.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreGraphics.framework; path = System/Library/Frameworks/CoreGraphics.framework; sourceTree = SDKROOT; };
27
+ 2899E5210DE3E06400AC0155 /* TestAppViewController.xib */ = {isa = PBXFileReference; lastKnownFileType = file.xib; path = TestAppViewController.xib; sourceTree = "<group>"; };
28
+ 28AD733E0D9D9553002E5188 /* MainWindow.xib */ = {isa = PBXFileReference; lastKnownFileType = file.xib; path = MainWindow.xib; sourceTree = "<group>"; };
29
+ 28D7ACF60DDB3853001CB0EB /* TestAppViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = TestAppViewController.h; sourceTree = "<group>"; };
30
+ 28D7ACF70DDB3853001CB0EB /* TestAppViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = TestAppViewController.m; sourceTree = "<group>"; };
31
+ 29B97316FDCFA39411CA2CEA /* main.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = "<group>"; };
32
+ 32CA4F630368D1EE00C91783 /* TestApp_Prefix.pch */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = TestApp_Prefix.pch; sourceTree = "<group>"; };
33
+ 8D1107310486CEB800E47090 /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
34
+ /* End PBXFileReference section */
35
+
36
+ /* Begin PBXFrameworksBuildPhase section */
37
+ 1D60588F0D05DD3D006BFB54 /* Frameworks */ = {
38
+ isa = PBXFrameworksBuildPhase;
39
+ buildActionMask = 2147483647;
40
+ files = (
41
+ 1D60589F0D05DD5A006BFB54 /* Foundation.framework in Frameworks */,
42
+ 1DF5F4E00D08C38300B7A737 /* UIKit.framework in Frameworks */,
43
+ 288765A50DF7441C002DB57D /* CoreGraphics.framework in Frameworks */,
44
+ );
45
+ runOnlyForDeploymentPostprocessing = 0;
46
+ };
47
+ /* End PBXFrameworksBuildPhase section */
48
+
49
+ /* Begin PBXGroup section */
50
+ 080E96DDFE201D6D7F000001 /* Classes */ = {
51
+ isa = PBXGroup;
52
+ children = (
53
+ 1D3623240D0F684500981E51 /* TestAppAppDelegate.h */,
54
+ 1D3623250D0F684500981E51 /* TestAppAppDelegate.m */,
55
+ 28D7ACF60DDB3853001CB0EB /* TestAppViewController.h */,
56
+ 28D7ACF70DDB3853001CB0EB /* TestAppViewController.m */,
57
+ );
58
+ path = Classes;
59
+ sourceTree = "<group>";
60
+ };
61
+ 19C28FACFE9D520D11CA2CBB /* Products */ = {
62
+ isa = PBXGroup;
63
+ children = (
64
+ 1D6058910D05DD3D006BFB54 /* TestApp.app */,
65
+ );
66
+ name = Products;
67
+ sourceTree = "<group>";
68
+ };
69
+ 29B97314FDCFA39411CA2CEA /* CustomTemplate */ = {
70
+ isa = PBXGroup;
71
+ children = (
72
+ 080E96DDFE201D6D7F000001 /* Classes */,
73
+ 29B97315FDCFA39411CA2CEA /* Other Sources */,
74
+ 29B97317FDCFA39411CA2CEA /* Resources */,
75
+ 29B97323FDCFA39411CA2CEA /* Frameworks */,
76
+ 19C28FACFE9D520D11CA2CBB /* Products */,
77
+ );
78
+ name = CustomTemplate;
79
+ sourceTree = "<group>";
80
+ };
81
+ 29B97315FDCFA39411CA2CEA /* Other Sources */ = {
82
+ isa = PBXGroup;
83
+ children = (
84
+ 32CA4F630368D1EE00C91783 /* TestApp_Prefix.pch */,
85
+ 29B97316FDCFA39411CA2CEA /* main.m */,
86
+ );
87
+ name = "Other Sources";
88
+ sourceTree = "<group>";
89
+ };
90
+ 29B97317FDCFA39411CA2CEA /* Resources */ = {
91
+ isa = PBXGroup;
92
+ children = (
93
+ 2899E5210DE3E06400AC0155 /* TestAppViewController.xib */,
94
+ 28AD733E0D9D9553002E5188 /* MainWindow.xib */,
95
+ 8D1107310486CEB800E47090 /* Info.plist */,
96
+ );
97
+ name = Resources;
98
+ sourceTree = "<group>";
99
+ };
100
+ 29B97323FDCFA39411CA2CEA /* Frameworks */ = {
101
+ isa = PBXGroup;
102
+ children = (
103
+ 1DF5F4DF0D08C38300B7A737 /* UIKit.framework */,
104
+ 1D30AB110D05D00D00671497 /* Foundation.framework */,
105
+ 288765A40DF7441C002DB57D /* CoreGraphics.framework */,
106
+ );
107
+ name = Frameworks;
108
+ sourceTree = "<group>";
109
+ };
110
+ /* End PBXGroup section */
111
+
112
+ /* Begin PBXNativeTarget section */
113
+ 1D6058900D05DD3D006BFB54 /* TestApp */ = {
114
+ isa = PBXNativeTarget;
115
+ buildConfigurationList = 1D6058960D05DD3E006BFB54 /* Build configuration list for PBXNativeTarget "TestApp" */;
116
+ buildPhases = (
117
+ 1D60588D0D05DD3D006BFB54 /* Resources */,
118
+ 1D60588E0D05DD3D006BFB54 /* Sources */,
119
+ 1D60588F0D05DD3D006BFB54 /* Frameworks */,
120
+ );
121
+ buildRules = (
122
+ );
123
+ dependencies = (
124
+ );
125
+ name = TestApp;
126
+ productName = TestApp;
127
+ productReference = 1D6058910D05DD3D006BFB54 /* TestApp.app */;
128
+ productType = "com.apple.product-type.application";
129
+ };
130
+ /* End PBXNativeTarget section */
131
+
132
+ /* Begin PBXProject section */
133
+ 29B97313FDCFA39411CA2CEA /* Project object */ = {
134
+ isa = PBXProject;
135
+ buildConfigurationList = C01FCF4E08A954540054247B /* Build configuration list for PBXProject "TestApp" */;
136
+ compatibilityVersion = "Xcode 3.1";
137
+ hasScannedForEncodings = 1;
138
+ mainGroup = 29B97314FDCFA39411CA2CEA /* CustomTemplate */;
139
+ projectDirPath = "";
140
+ projectRoot = "";
141
+ targets = (
142
+ 1D6058900D05DD3D006BFB54 /* TestApp */,
143
+ );
144
+ };
145
+ /* End PBXProject section */
146
+
147
+ /* Begin PBXResourcesBuildPhase section */
148
+ 1D60588D0D05DD3D006BFB54 /* Resources */ = {
149
+ isa = PBXResourcesBuildPhase;
150
+ buildActionMask = 2147483647;
151
+ files = (
152
+ 28AD733F0D9D9553002E5188 /* MainWindow.xib in Resources */,
153
+ 2899E5220DE3E06400AC0155 /* TestAppViewController.xib in Resources */,
154
+ );
155
+ runOnlyForDeploymentPostprocessing = 0;
156
+ };
157
+ /* End PBXResourcesBuildPhase section */
158
+
159
+ /* Begin PBXSourcesBuildPhase section */
160
+ 1D60588E0D05DD3D006BFB54 /* Sources */ = {
161
+ isa = PBXSourcesBuildPhase;
162
+ buildActionMask = 2147483647;
163
+ files = (
164
+ 1D60589B0D05DD56006BFB54 /* main.m in Sources */,
165
+ 1D3623260D0F684500981E51 /* TestAppAppDelegate.m in Sources */,
166
+ 28D7ACF80DDB3853001CB0EB /* TestAppViewController.m in Sources */,
167
+ );
168
+ runOnlyForDeploymentPostprocessing = 0;
169
+ };
170
+ /* End PBXSourcesBuildPhase section */
171
+
172
+ /* Begin XCBuildConfiguration section */
173
+ 1D6058940D05DD3E006BFB54 /* Debug */ = {
174
+ isa = XCBuildConfiguration;
175
+ buildSettings = {
176
+ ALWAYS_SEARCH_USER_PATHS = NO;
177
+ COPY_PHASE_STRIP = NO;
178
+ GCC_DYNAMIC_NO_PIC = NO;
179
+ GCC_OPTIMIZATION_LEVEL = 0;
180
+ GCC_PRECOMPILE_PREFIX_HEADER = YES;
181
+ GCC_PREFIX_HEADER = TestApp_Prefix.pch;
182
+ INFOPLIST_FILE = Info.plist;
183
+ PRODUCT_NAME = TestApp;
184
+ };
185
+ name = Debug;
186
+ };
187
+ 1D6058950D05DD3E006BFB54 /* Release */ = {
188
+ isa = XCBuildConfiguration;
189
+ buildSettings = {
190
+ ALWAYS_SEARCH_USER_PATHS = NO;
191
+ COPY_PHASE_STRIP = YES;
192
+ GCC_PRECOMPILE_PREFIX_HEADER = YES;
193
+ GCC_PREFIX_HEADER = TestApp_Prefix.pch;
194
+ INFOPLIST_FILE = Info.plist;
195
+ PRODUCT_NAME = TestApp;
196
+ };
197
+ name = Release;
198
+ };
199
+ C01FCF4F08A954540054247B /* Debug */ = {
200
+ isa = XCBuildConfiguration;
201
+ buildSettings = {
202
+ ARCHS = "$(ARCHS_STANDARD_32_BIT)";
203
+ "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
204
+ GCC_C_LANGUAGE_STANDARD = c99;
205
+ GCC_WARN_ABOUT_RETURN_TYPE = YES;
206
+ GCC_WARN_UNUSED_VARIABLE = YES;
207
+ ONLY_ACTIVE_ARCH = YES;
208
+ PREBINDING = NO;
209
+ SDKROOT = iphoneos2.2.1;
210
+ };
211
+ name = Debug;
212
+ };
213
+ C01FCF5008A954540054247B /* Release */ = {
214
+ isa = XCBuildConfiguration;
215
+ buildSettings = {
216
+ ARCHS = "$(ARCHS_STANDARD_32_BIT)";
217
+ "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
218
+ GCC_C_LANGUAGE_STANDARD = c99;
219
+ GCC_WARN_ABOUT_RETURN_TYPE = YES;
220
+ GCC_WARN_UNUSED_VARIABLE = YES;
221
+ PREBINDING = NO;
222
+ SDKROOT = iphoneos2.2.1;
223
+ };
224
+ name = Release;
225
+ };
226
+ /* End XCBuildConfiguration section */
227
+
228
+ /* Begin XCConfigurationList section */
229
+ 1D6058960D05DD3E006BFB54 /* Build configuration list for PBXNativeTarget "TestApp" */ = {
230
+ isa = XCConfigurationList;
231
+ buildConfigurations = (
232
+ 1D6058940D05DD3E006BFB54 /* Debug */,
233
+ 1D6058950D05DD3E006BFB54 /* Release */,
234
+ );
235
+ defaultConfigurationIsVisible = 0;
236
+ defaultConfigurationName = Release;
237
+ };
238
+ C01FCF4E08A954540054247B /* Build configuration list for PBXProject "TestApp" */ = {
239
+ isa = XCConfigurationList;
240
+ buildConfigurations = (
241
+ C01FCF4F08A954540054247B /* Debug */,
242
+ C01FCF5008A954540054247B /* Release */,
243
+ );
244
+ defaultConfigurationIsVisible = 0;
245
+ defaultConfigurationName = Release;
246
+ };
247
+ /* End XCConfigurationList section */
248
+ };
249
+ rootObject = 29B97313FDCFA39411CA2CEA /* Project object */;
250
+ }
@@ -0,0 +1,320 @@
1
+ // !$*UTF8*$!
2
+ {
3
+ "archiveVersion" = "1";
4
+ "rootObject" = "29B97313FDCFA39411CA2CEA";
5
+ "classes" = {
6
+ };
7
+ "objectVersion" = "45";
8
+ "objects" = {
9
+ "29B97314FDCFA39411CA2CEA" = {
10
+ "name" = "CustomTemplate";
11
+ "isa" = "PBXGroup";
12
+ "sourceTree" = "<group>";
13
+ "children" = (
14
+ "080E96DDFE201D6D7F000001",
15
+ "29B97315FDCFA39411CA2CEA",
16
+ "29B97317FDCFA39411CA2CEA",
17
+ "29B97323FDCFA39411CA2CEA",
18
+ "19C28FACFE9D520D11CA2CBB",
19
+ );
20
+ };
21
+ "28D7ACF60DDB3853001CB0EB" = {
22
+ "isa" = "PBXFileReference";
23
+ "sourceTree" = "<group>";
24
+ "lastKnownFileType" = "sourcecode.c.h";
25
+ "fileEncoding" = "4";
26
+ "path" = "TestAppViewController.h";
27
+ };
28
+ "1D6058950D05DD3E006BFB54" = {
29
+ "name" = "Release";
30
+ "isa" = "XCBuildConfiguration";
31
+ "buildSettings" = {
32
+ "ALWAYS_SEARCH_USER_PATHS" = "NO";
33
+ "GCC_PREFIX_HEADER" = "TestApp_Prefix.pch";
34
+ "COPY_PHASE_STRIP" = "YES";
35
+ "GCC_PRECOMPILE_PREFIX_HEADER" = "YES";
36
+ "PRODUCT_NAME" = "TestApp";
37
+ "INFOPLIST_FILE" = "Info.plist";
38
+ };
39
+ };
40
+ "288765A50DF7441C002DB57D" = {
41
+ "isa" = "PBXBuildFile";
42
+ "fileRef" = "288765A40DF7441C002DB57D";
43
+ };
44
+ "1D6058900D05DD3D006BFB54" = {
45
+ "name" = "TestApp";
46
+ "isa" = "PBXNativeTarget";
47
+ "productType" = "com.apple.product-type.application";
48
+ "productReference" = "1D6058910D05DD3D006BFB54";
49
+ "buildConfigurationList" = "1D6058960D05DD3E006BFB54";
50
+ "productName" = "TestApp";
51
+ "dependencies" = (
52
+ );
53
+ "buildRules" = (
54
+ );
55
+ "buildPhases" = (
56
+ "1D60588D0D05DD3D006BFB54",
57
+ "1D60588E0D05DD3D006BFB54",
58
+ "1D60588F0D05DD3D006BFB54",
59
+ );
60
+ };
61
+ "29B97316FDCFA39411CA2CEA" = {
62
+ "isa" = "PBXFileReference";
63
+ "sourceTree" = "<group>";
64
+ "lastKnownFileType" = "sourcecode.c.objc";
65
+ "fileEncoding" = "4";
66
+ "path" = "main.m";
67
+ };
68
+ "28D7ACF80DDB3853001CB0EB" = {
69
+ "isa" = "PBXBuildFile";
70
+ "fileRef" = "28D7ACF70DDB3853001CB0EB";
71
+ };
72
+ "29B97317FDCFA39411CA2CEA" = {
73
+ "name" = "Resources";
74
+ "isa" = "PBXGroup";
75
+ "sourceTree" = "<group>";
76
+ "children" = (
77
+ "2899E5210DE3E06400AC0155",
78
+ "28AD733E0D9D9553002E5188",
79
+ "8D1107310486CEB800E47090",
80
+ );
81
+ };
82
+ "8D1107310486CEB800E47090" = {
83
+ "isa" = "PBXFileReference";
84
+ "sourceTree" = "<group>";
85
+ "lastKnownFileType" = "text.plist.xml";
86
+ "fileEncoding" = "4";
87
+ "path" = "Info.plist";
88
+ };
89
+ "32CA4F630368D1EE00C91783" = {
90
+ "isa" = "PBXFileReference";
91
+ "sourceTree" = "<group>";
92
+ "lastKnownFileType" = "sourcecode.c.h";
93
+ "fileEncoding" = "4";
94
+ "path" = "TestApp_Prefix.pch";
95
+ };
96
+ "C01FCF4E08A954540054247B" = {
97
+ "buildConfigurations" = (
98
+ "C01FCF4F08A954540054247B",
99
+ "C01FCF5008A954540054247B",
100
+ );
101
+ "defaultConfigurationIsVisible" = "0";
102
+ "isa" = "XCConfigurationList";
103
+ "defaultConfigurationName" = "Release";
104
+ };
105
+ "1D60588F0D05DD3D006BFB54" = {
106
+ "files" = (
107
+ "1D60589F0D05DD5A006BFB54",
108
+ "1DF5F4E00D08C38300B7A737",
109
+ "288765A50DF7441C002DB57D",
110
+ );
111
+ "isa" = "PBXFrameworksBuildPhase";
112
+ "buildActionMask" = "2147483647";
113
+ "runOnlyForDeploymentPostprocessing" = "0";
114
+ };
115
+ "288765A40DF7441C002DB57D" = {
116
+ "name" = "CoreGraphics.framework";
117
+ "isa" = "PBXFileReference";
118
+ "sourceTree" = "SDKROOT";
119
+ "lastKnownFileType" = "wrapper.framework";
120
+ "path" = "System/Library/Frameworks/CoreGraphics.framework";
121
+ };
122
+ "1D3623250D0F684500981E51" = {
123
+ "isa" = "PBXFileReference";
124
+ "sourceTree" = "<group>";
125
+ "lastKnownFileType" = "sourcecode.c.objc";
126
+ "fileEncoding" = "4";
127
+ "path" = "TestAppAppDelegate.m";
128
+ };
129
+ "28AD733F0D9D9553002E5188" = {
130
+ "isa" = "PBXBuildFile";
131
+ "fileRef" = "28AD733E0D9D9553002E5188";
132
+ };
133
+ "2899E5220DE3E06400AC0155" = {
134
+ "isa" = "PBXBuildFile";
135
+ "fileRef" = "2899E5210DE3E06400AC0155";
136
+ };
137
+ "C01FCF4F08A954540054247B" = {
138
+ "name" = "Debug";
139
+ "isa" = "XCBuildConfiguration";
140
+ "buildSettings" = {
141
+ "GCC_WARN_ABOUT_RETURN_TYPE" = "YES";
142
+ "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
143
+ "SDKROOT" = "iphoneos2.2.1";
144
+ "PREBINDING" = "NO";
145
+ "ARCHS" = "$(ARCHS_STANDARD_32_BIT)";
146
+ "GCC_WARN_UNUSED_VARIABLE" = "YES";
147
+ "GCC_C_LANGUAGE_STANDARD" = "c99";
148
+ "ONLY_ACTIVE_ARCH" = "YES";
149
+ };
150
+ };
151
+ "29B97315FDCFA39411CA2CEA" = {
152
+ "name" = "Other Sources";
153
+ "isa" = "PBXGroup";
154
+ "sourceTree" = "<group>";
155
+ "children" = (
156
+ "32CA4F630368D1EE00C91783",
157
+ "29B97316FDCFA39411CA2CEA",
158
+ );
159
+ };
160
+ "1D30AB110D05D00D00671497" = {
161
+ "name" = "Foundation.framework";
162
+ "isa" = "PBXFileReference";
163
+ "sourceTree" = "SDKROOT";
164
+ "lastKnownFileType" = "wrapper.framework";
165
+ "path" = "System/Library/Frameworks/Foundation.framework";
166
+ };
167
+ "1D3623260D0F684500981E51" = {
168
+ "isa" = "PBXBuildFile";
169
+ "fileRef" = "1D3623250D0F684500981E51";
170
+ };
171
+ "1D60588D0D05DD3D006BFB54" = {
172
+ "files" = (
173
+ "28AD733F0D9D9553002E5188",
174
+ "2899E5220DE3E06400AC0155",
175
+ );
176
+ "isa" = "PBXResourcesBuildPhase";
177
+ "buildActionMask" = "2147483647";
178
+ "runOnlyForDeploymentPostprocessing" = "0";
179
+ };
180
+ "19C28FACFE9D520D11CA2CBB" = {
181
+ "name" = "Products";
182
+ "isa" = "PBXGroup";
183
+ "sourceTree" = "<group>";
184
+ "children" = (
185
+ "1D6058910D05DD3D006BFB54",
186
+ );
187
+ };
188
+ "1DF5F4E00D08C38300B7A737" = {
189
+ "isa" = "PBXBuildFile";
190
+ "fileRef" = "1DF5F4DF0D08C38300B7A737";
191
+ };
192
+ "1D6058940D05DD3E006BFB54" = {
193
+ "name" = "Debug";
194
+ "isa" = "XCBuildConfiguration";
195
+ "buildSettings" = {
196
+ "ALWAYS_SEARCH_USER_PATHS" = "NO";
197
+ "GCC_PREFIX_HEADER" = "TestApp_Prefix.pch";
198
+ "GCC_OPTIMIZATION_LEVEL" = "0";
199
+ "COPY_PHASE_STRIP" = "NO";
200
+ "GCC_PRECOMPILE_PREFIX_HEADER" = "YES";
201
+ "GCC_DYNAMIC_NO_PIC" = "NO";
202
+ "PRODUCT_NAME" = "TestApp";
203
+ "INFOPLIST_FILE" = "Info.plist";
204
+ };
205
+ };
206
+ "1D60588E0D05DD3D006BFB54" = {
207
+ "files" = (
208
+ "1D60589B0D05DD56006BFB54",
209
+ "1D3623260D0F684500981E51",
210
+ "28D7ACF80DDB3853001CB0EB",
211
+ );
212
+ "isa" = "PBXSourcesBuildPhase";
213
+ "buildActionMask" = "2147483647";
214
+ "runOnlyForDeploymentPostprocessing" = "0";
215
+ };
216
+ "2899E5210DE3E06400AC0155" = {
217
+ "isa" = "PBXFileReference";
218
+ "sourceTree" = "<group>";
219
+ "lastKnownFileType" = "file.xib";
220
+ "path" = "TestAppViewController.xib";
221
+ };
222
+ "1D6058910D05DD3D006BFB54" = {
223
+ "isa" = "PBXFileReference";
224
+ "explicitFileType" = "wrapper.application";
225
+ "includeInIndex" = "0";
226
+ "sourceTree" = "BUILT_PRODUCTS_DIR";
227
+ "path" = "TestApp.app";
228
+ };
229
+ "080E96DDFE201D6D7F000001" = {
230
+ "isa" = "PBXGroup";
231
+ "sourceTree" = "<group>";
232
+ "path" = "Classes";
233
+ "children" = (
234
+ "1D3623240D0F684500981E51",
235
+ "1D3623250D0F684500981E51",
236
+ "28D7ACF60DDB3853001CB0EB",
237
+ "28D7ACF70DDB3853001CB0EB",
238
+ );
239
+ };
240
+ "28D7ACF70DDB3853001CB0EB" = {
241
+ "isa" = "PBXFileReference";
242
+ "sourceTree" = "<group>";
243
+ "lastKnownFileType" = "sourcecode.c.objc";
244
+ "fileEncoding" = "4";
245
+ "path" = "TestAppViewController.m";
246
+ };
247
+ "1DF5F4DF0D08C38300B7A737" = {
248
+ "name" = "UIKit.framework";
249
+ "isa" = "PBXFileReference";
250
+ "sourceTree" = "SDKROOT";
251
+ "lastKnownFileType" = "wrapper.framework";
252
+ "path" = "System/Library/Frameworks/UIKit.framework";
253
+ };
254
+ "1D60589B0D05DD56006BFB54" = {
255
+ "isa" = "PBXBuildFile";
256
+ "fileRef" = "29B97316FDCFA39411CA2CEA";
257
+ };
258
+ "1D6058960D05DD3E006BFB54" = {
259
+ "buildConfigurations" = (
260
+ "1D6058940D05DD3E006BFB54",
261
+ "1D6058950D05DD3E006BFB54",
262
+ );
263
+ "defaultConfigurationIsVisible" = "0";
264
+ "isa" = "XCConfigurationList";
265
+ "defaultConfigurationName" = "Release";
266
+ };
267
+ "29B97323FDCFA39411CA2CEA" = {
268
+ "name" = "Frameworks";
269
+ "isa" = "PBXGroup";
270
+ "sourceTree" = "<group>";
271
+ "children" = (
272
+ "1DF5F4DF0D08C38300B7A737",
273
+ "1D30AB110D05D00D00671497",
274
+ "288765A40DF7441C002DB57D",
275
+ );
276
+ };
277
+ "28AD733E0D9D9553002E5188" = {
278
+ "isa" = "PBXFileReference";
279
+ "sourceTree" = "<group>";
280
+ "lastKnownFileType" = "file.xib";
281
+ "path" = "MainWindow.xib";
282
+ };
283
+ "1D60589F0D05DD5A006BFB54" = {
284
+ "isa" = "PBXBuildFile";
285
+ "fileRef" = "1D30AB110D05D00D00671497";
286
+ };
287
+ "C01FCF5008A954540054247B" = {
288
+ "name" = "Release";
289
+ "isa" = "XCBuildConfiguration";
290
+ "buildSettings" = {
291
+ "GCC_WARN_ABOUT_RETURN_TYPE" = "YES";
292
+ "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
293
+ "SDKROOT" = "iphoneos2.2.1";
294
+ "PREBINDING" = "NO";
295
+ "ARCHS" = "$(ARCHS_STANDARD_32_BIT)";
296
+ "GCC_WARN_UNUSED_VARIABLE" = "YES";
297
+ "GCC_C_LANGUAGE_STANDARD" = "c99";
298
+ };
299
+ };
300
+ "29B97313FDCFA39411CA2CEA" = {
301
+ "isa" = "PBXProject";
302
+ "targets" = (
303
+ "1D6058900D05DD3D006BFB54",
304
+ );
305
+ "hasScannedForEncodings" = "1";
306
+ "buildConfigurationList" = "C01FCF4E08A954540054247B";
307
+ "projectDirPath" = "";
308
+ "compatibilityVersion" = "Xcode 3.1";
309
+ "projectRoot" = "";
310
+ "mainGroup" = "29B97314FDCFA39411CA2CEA";
311
+ };
312
+ "1D3623240D0F684500981E51" = {
313
+ "isa" = "PBXFileReference";
314
+ "sourceTree" = "<group>";
315
+ "lastKnownFileType" = "sourcecode.c.h";
316
+ "fileEncoding" = "4";
317
+ "path" = "TestAppAppDelegate.h";
318
+ };
319
+ };
320
+ }
@@ -0,0 +1,34 @@
1
+ # -*- encoding: utf-8 -*-
2
+
3
+ Gem::Specification.new do |s|
4
+ s.name = %q{zerg_xcode}
5
+ s.version = "0.1"
6
+
7
+ s.required_rubygems_version = Gem::Requirement.new(">= 1.2") if s.respond_to? :required_rubygems_version=
8
+ s.authors = ["Victor Costan"]
9
+ s.date = %q{2009-02-24}
10
+ s.default_executable = %q{bin/zerg-xcode}
11
+ s.description = %q{Automated modifications for Xcode project files}
12
+ s.email = %q{victor@zergling.net}
13
+ s.executables = ["zerg-xcode"]
14
+ s.extra_rdoc_files = ["bin/zerg-xcode", "CHANGELOG", "lib/zerg_xcode/file_format/archiver.rb", "lib/zerg_xcode/file_format/encoder.rb", "lib/zerg_xcode/file_format/lexer.rb", "lib/zerg_xcode/file_format/parser.rb", "lib/zerg_xcode/file_format/paths.rb", "lib/zerg_xcode/objects/pbx_build_file.rb", "lib/zerg_xcode/objects/pbx_native_target.rb", "lib/zerg_xcode/objects/pbx_project.rb", "lib/zerg_xcode/objects/xcode_object.rb", "lib/zerg_xcode/plugins/core/core.rb", "lib/zerg_xcode/plugins/help.rb", "lib/zerg_xcode/plugins/import.rb", "lib/zerg_xcode/plugins/irb.rb", "lib/zerg_xcode/plugins/ls.rb", "lib/zerg_xcode/plugins/retarget.rb", "lib/zerg_xcode/shortcuts.rb", "lib/zerg_xcode.rb", "LICENSE", "README.textile"]
15
+ s.files = ["bin/zerg-xcode", "CHANGELOG", "lib/zerg_xcode/file_format/archiver.rb", "lib/zerg_xcode/file_format/encoder.rb", "lib/zerg_xcode/file_format/lexer.rb", "lib/zerg_xcode/file_format/parser.rb", "lib/zerg_xcode/file_format/paths.rb", "lib/zerg_xcode/objects/pbx_build_file.rb", "lib/zerg_xcode/objects/pbx_native_target.rb", "lib/zerg_xcode/objects/pbx_project.rb", "lib/zerg_xcode/objects/xcode_object.rb", "lib/zerg_xcode/plugins/core/core.rb", "lib/zerg_xcode/plugins/help.rb", "lib/zerg_xcode/plugins/import.rb", "lib/zerg_xcode/plugins/irb.rb", "lib/zerg_xcode/plugins/ls.rb", "lib/zerg_xcode/plugins/retarget.rb", "lib/zerg_xcode/shortcuts.rb", "lib/zerg_xcode.rb", "LICENSE", "Manifest", "Rakefile", "README.textile", "RUBYFORGE", "test/file_format/archiver_test.rb", "test/file_format/encoder_test.rb", "test/file_format/lexer_test.rb", "test/file_format/parser_test.rb", "test/file_format/path_test.rb", "test/objects/pbx_build_file_test.rb", "test/objects/pbx_native_target_test.rb", "test/objects/pbx_project_test.rb", "test/objects/xcode_object_test.rb", "test/plugins/core/core_test.rb", "test/plugins/import_test.rb", "test/plugins/irb_test.rb", "test/plugins/ls_test.rb", "test/plugins/retarget_test.rb", "test/plugins/test_helper.rb", "test/shortcuts_test.rb", "testdata/project.pbxproj", "testdata/project.pbxproj.compat", "testdata/TestApp/TestApp.xcodeproj/project.pbxproj", "testdata/ZergSupport.xcodeproj/project.pbxproj", "zerg_xcode.gemspec"]
16
+ s.has_rdoc = true
17
+ s.homepage = %q{http://www.zergling.net/}
18
+ s.rdoc_options = ["--line-numbers", "--inline-source", "--title", "Zerg_xcode", "--main", "README.textile"]
19
+ s.require_paths = ["lib"]
20
+ s.rubyforge_project = %q{zerglings}
21
+ s.rubygems_version = %q{1.3.1}
22
+ s.summary = %q{Automated modifications for Xcode project files}
23
+ s.test_files = ["test/file_format/archiver_test.rb", "test/file_format/encoder_test.rb", "test/file_format/lexer_test.rb", "test/file_format/parser_test.rb", "test/file_format/path_test.rb", "test/objects/pbx_build_file_test.rb", "test/objects/pbx_native_target_test.rb", "test/objects/pbx_project_test.rb", "test/objects/xcode_object_test.rb", "test/plugins/core/core_test.rb", "test/plugins/import_test.rb", "test/plugins/irb_test.rb", "test/plugins/ls_test.rb", "test/plugins/retarget_test.rb", "test/plugins/test_helper.rb", "test/shortcuts_test.rb"]
24
+
25
+ if s.respond_to? :specification_version then
26
+ current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
27
+ s.specification_version = 2
28
+
29
+ if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
30
+ else
31
+ end
32
+ else
33
+ end
34
+ end