nuvado 1.0.0.rc1

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.
Files changed (52) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +23 -0
  3. data/Gemfile +5 -0
  4. data/LICENSE.txt +22 -0
  5. data/README.md +69 -0
  6. data/Rakefile +33 -0
  7. data/bin/nuvado +12 -0
  8. data/lib/nuvado/apps.rb +76 -0
  9. data/lib/nuvado/backend/app.rb +6 -0
  10. data/lib/nuvado/backend/authenticated_resource.rb +25 -0
  11. data/lib/nuvado/backend/basic_resource.rb +12 -0
  12. data/lib/nuvado/backend/build.rb +7 -0
  13. data/lib/nuvado/backend/git.rb +23 -0
  14. data/lib/nuvado/backend/key.rb +9 -0
  15. data/lib/nuvado/backend/local_key.rb +50 -0
  16. data/lib/nuvado/backend/session.rb +6 -0
  17. data/lib/nuvado/backend/token_store.rb +26 -0
  18. data/lib/nuvado/backend/user.rb +6 -0
  19. data/lib/nuvado/backend.rb +15 -0
  20. data/lib/nuvado/base_command.rb +41 -0
  21. data/lib/nuvado/exceptions.rb +17 -0
  22. data/lib/nuvado/generate.rb +39 -0
  23. data/lib/nuvado/keys.rb +57 -0
  24. data/lib/nuvado/nuvado.rb +33 -0
  25. data/lib/nuvado/os.rb +22 -0
  26. data/lib/nuvado/templates/empty_project/%product_name%/%product_name%-Info.plist.tt +45 -0
  27. data/lib/nuvado/templates/empty_project/%product_name%/%product_name%-Prefix.pch.tt +14 -0
  28. data/lib/nuvado/templates/empty_project/%product_name%/AppDelegate.h.tt +15 -0
  29. data/lib/nuvado/templates/empty_project/%product_name%/AppDelegate.m.tt +49 -0
  30. data/lib/nuvado/templates/empty_project/%product_name%/Default-568h@2x.png +0 -0
  31. data/lib/nuvado/templates/empty_project/%product_name%/Default.png +0 -0
  32. data/lib/nuvado/templates/empty_project/%product_name%/Default@2x.png +0 -0
  33. data/lib/nuvado/templates/empty_project/%product_name%/en.lproj/InfoPlist.strings +2 -0
  34. data/lib/nuvado/templates/empty_project/%product_name%/main.m.tt +18 -0
  35. data/lib/nuvado/templates/empty_project/%product_name%.xcodeproj/project.pbxproj.tt +452 -0
  36. data/lib/nuvado/templates/empty_project/%product_name%.xcodeproj/project.xcworkspace/contents.xcworkspacedata.tt +7 -0
  37. data/lib/nuvado/templates/empty_project/%product_name%Tests/%product_name%Tests-Info.plist.tt +22 -0
  38. data/lib/nuvado/templates/empty_project/%product_name%Tests/%product_name%Tests.h.tt +13 -0
  39. data/lib/nuvado/templates/empty_project/%product_name%Tests/%product_name%Tests.m.tt +32 -0
  40. data/lib/nuvado/templates/empty_project/%product_name%Tests/en.lproj/InfoPlist.strings +2 -0
  41. data/lib/nuvado/version.rb +3 -0
  42. data/lib/nuvado.rb +9 -0
  43. data/nuvado.gemspec +35 -0
  44. data/post_install.sh +2 -0
  45. data/test/apps_test.rb +107 -0
  46. data/test/backend_local_key_test.rb +46 -0
  47. data/test/keys_test.rb +102 -0
  48. data/test/login_test.rb +25 -0
  49. data/test/ssh/jmendoza.pub +1 -0
  50. data/test/ssh/kramos.pub +1 -0
  51. data/test/test_helper.rb +24 -0
  52. metadata +272 -0
@@ -0,0 +1,45 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3
+ <plist version="1.0">
4
+ <dict>
5
+ <key>CFBundleDevelopmentRegion</key>
6
+ <string>en</string>
7
+ <key>CFBundleDisplayName</key>
8
+ <string>${PRODUCT_NAME}</string>
9
+ <key>CFBundleExecutable</key>
10
+ <string>${EXECUTABLE_NAME}</string>
11
+ <key>CFBundleIdentifier</key>
12
+ <string><%= company_name %>.${PRODUCT_NAME:rfc1034identifier}</string>
13
+ <key>CFBundleInfoDictionaryVersion</key>
14
+ <string>6.0</string>
15
+ <key>CFBundleName</key>
16
+ <string>${PRODUCT_NAME}</string>
17
+ <key>CFBundlePackageType</key>
18
+ <string>APPL</string>
19
+ <key>CFBundleShortVersionString</key>
20
+ <string>1.0</string>
21
+ <key>CFBundleSignature</key>
22
+ <string>????</string>
23
+ <key>CFBundleVersion</key>
24
+ <string>1.0</string>
25
+ <key>LSRequiresIPhoneOS</key>
26
+ <true/>
27
+ <key>UIRequiredDeviceCapabilities</key>
28
+ <array>
29
+ <string>armv7</string>
30
+ </array>
31
+ <key>UISupportedInterfaceOrientations</key>
32
+ <array>
33
+ <string>UIInterfaceOrientationPortrait</string>
34
+ <string>UIInterfaceOrientationLandscapeLeft</string>
35
+ <string>UIInterfaceOrientationLandscapeRight</string>
36
+ </array>
37
+ <key>UISupportedInterfaceOrientations~ipad</key>
38
+ <array>
39
+ <string>UIInterfaceOrientationPortrait</string>
40
+ <string>UIInterfaceOrientationPortraitUpsideDown</string>
41
+ <string>UIInterfaceOrientationLandscapeLeft</string>
42
+ <string>UIInterfaceOrientationLandscapeRight</string>
43
+ </array>
44
+ </dict>
45
+ </plist>
@@ -0,0 +1,14 @@
1
+ //
2
+ // Prefix header for all source files of the '<%= product_name %>' target in the '<%= product_name %>' project
3
+ //
4
+
5
+ #import <Availability.h>
6
+
7
+ #ifndef __IPHONE_3_0
8
+ #warning "This project uses features only available in iOS SDK 3.0 and later."
9
+ #endif
10
+
11
+ #ifdef __OBJC__
12
+ #import <UIKit/UIKit.h>
13
+ #import <Foundation/Foundation.h>
14
+ #endif
@@ -0,0 +1,15 @@
1
+ //
2
+ // AppDelegate.h
3
+ // <%= product_name %>
4
+ //
5
+ // Created by Nuvado on <%= Date.today.to_s %>.
6
+ // Copyright (c) 2013 <%= organization_name %>. All rights reserved.
7
+ //
8
+
9
+ #import <UIKit/UIKit.h>
10
+
11
+ @interface AppDelegate : UIResponder <UIApplicationDelegate>
12
+
13
+ @property (strong, nonatomic) UIWindow *window;
14
+
15
+ @end
@@ -0,0 +1,49 @@
1
+ //
2
+ // AppDelegate.m
3
+ // <%= product_name %>
4
+ //
5
+ // Created by Nuvado on <%= Date.today.to_s %>.
6
+ // Copyright (c) 2013 <%= organization_name %>. All rights reserved.
7
+ //
8
+
9
+ #import "AppDelegate.h"
10
+
11
+ @implementation AppDelegate
12
+
13
+ - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
14
+ {
15
+ self.window = [[UIWindow alloc] initWithFrame:[[UIScreen mainScreen] bounds]];
16
+ // Override point for customization after application launch.
17
+ self.window.backgroundColor = [UIColor whiteColor];
18
+ [self.window makeKeyAndVisible];
19
+ return YES;
20
+ }
21
+
22
+ - (void)applicationWillResignActive:(UIApplication *)application
23
+ {
24
+ // Sent when the application is about to move from active to inactive state. This can occur for certain types of temporary interruptions (such as an incoming phone call or SMS message) or when the user quits the application and it begins the transition to the background state.
25
+ // Use this method to pause ongoing tasks, disable timers, and throttle down OpenGL ES frame rates. Games should use this method to pause the game.
26
+ }
27
+
28
+ - (void)applicationDidEnterBackground:(UIApplication *)application
29
+ {
30
+ // Use this method to release shared resources, save user data, invalidate timers, and store enough application state information to restore your application to its current state in case it is terminated later.
31
+ // If your application supports background execution, this method is called instead of applicationWillTerminate: when the user quits.
32
+ }
33
+
34
+ - (void)applicationWillEnterForeground:(UIApplication *)application
35
+ {
36
+ // Called as part of the transition from the background to the inactive state; here you can undo many of the changes made on entering the background.
37
+ }
38
+
39
+ - (void)applicationDidBecomeActive:(UIApplication *)application
40
+ {
41
+ // Restart any tasks that were paused (or not yet started) while the application was inactive. If the application was previously in the background, optionally refresh the user interface.
42
+ }
43
+
44
+ - (void)applicationWillTerminate:(UIApplication *)application
45
+ {
46
+ // Called when the application is about to terminate. Save data if appropriate. See also applicationDidEnterBackground:.
47
+ }
48
+
49
+ @end
@@ -0,0 +1,2 @@
1
+ /* Localized versions of Info.plist keys */
2
+
@@ -0,0 +1,18 @@
1
+ //
2
+ // main.m
3
+ // <%= product_name %>
4
+ //
5
+ // Created by Nuvado on <%= Date.today.to_s %>.
6
+ // Copyright (c) 2013 <%= organization_name %>. All rights reserved.
7
+ //
8
+
9
+ #import <UIKit/UIKit.h>
10
+
11
+ #import "AppDelegate.h"
12
+
13
+ int main(int argc, char *argv[])
14
+ {
15
+ @autoreleasepool {
16
+ return UIApplicationMain(argc, argv, nil, NSStringFromClass([AppDelegate class]));
17
+ }
18
+ }
@@ -0,0 +1,452 @@
1
+ // !$*UTF8*$!
2
+ {
3
+ archiveVersion = 1;
4
+ classes = {
5
+ };
6
+ objectVersion = 46;
7
+ objects = {
8
+
9
+ /* Begin PBXBuildFile section */
10
+ <%= uuid(1) %> /* UIKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = <%= uuid(2) %> /* UIKit.framework */; };
11
+ <%= uuid(3) %> /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = <%= uuid(4) %> /* Foundation.framework */; };
12
+ <%= uuid(5) %> /* CoreGraphics.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = <%= uuid(6) %> /* CoreGraphics.framework */; };
13
+ <%= uuid(7) %> /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = <%= uuid(8) %> /* InfoPlist.strings */; };
14
+ <%= uuid(9) %> /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = <%= uuid(10) %> /* main.m */; };
15
+ <%= uuid(11) %> /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = <%= uuid(12) %> /* AppDelegate.m */; };
16
+ <%= uuid(13) %> /* Default.png in Resources */ = {isa = PBXBuildFile; fileRef = <%= uuid(14) %> /* Default.png */; };
17
+ <%= uuid(15) %> /* Default@2x.png in Resources */ = {isa = PBXBuildFile; fileRef = <%= uuid(16) %> /* Default@2x.png */; };
18
+ <%= uuid(17) %> /* Default-568h@2x.png in Resources */ = {isa = PBXBuildFile; fileRef = <%= uuid(18) %> /* Default-568h@2x.png */; };
19
+ <%= uuid(19) %> /* SenTestingKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = <%= uuid(20) %> /* SenTestingKit.framework */; };
20
+ <%= uuid(21) %> /* UIKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = <%= uuid(2) %> /* UIKit.framework */; };
21
+ <%= uuid(22) %> /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = <%= uuid(4) %> /* Foundation.framework */; };
22
+ <%= uuid(23) %> /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = <%= uuid(24) %> /* InfoPlist.strings */; };
23
+ <%= uuid(25) %> /* <%= product_name %>Tests.m in Sources */ = {isa = PBXBuildFile; fileRef = <%= uuid(26) %> /* <%= product_name %>Tests.m */; };
24
+ /* End PBXBuildFile section */
25
+
26
+ /* Begin PBXContainerItemProxy section */
27
+ <%= uuid(27) %> /* PBXContainerItemProxy */ = {
28
+ isa = PBXContainerItemProxy;
29
+ containerPortal = <%= uuid(28) %> /* Project object */;
30
+ proxyType = 1;
31
+ remoteGlobalIDString = <%= uuid(29) %>;
32
+ remoteInfo = <%= product_name %>;
33
+ };
34
+ /* End PBXContainerItemProxy section */
35
+
36
+ /* Begin PBXFileReference section */
37
+ <%= uuid(30) %> /* <%= product_name %>.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = <%= product_name %>.app; sourceTree = BUILT_PRODUCTS_DIR; };
38
+ <%= uuid(2) %> /* UIKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = UIKit.framework; path = System/Library/Frameworks/UIKit.framework; sourceTree = SDKROOT; };
39
+ <%= uuid(4) %> /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = System/Library/Frameworks/Foundation.framework; sourceTree = SDKROOT; };
40
+ <%= uuid(6) %> /* CoreGraphics.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreGraphics.framework; path = System/Library/Frameworks/CoreGraphics.framework; sourceTree = SDKROOT; };
41
+ <%= uuid(31) %> /* <%= product_name %>-Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = "<%= product_name %>-Info.plist"; sourceTree = "<group>"; };
42
+ <%= uuid(32) %> /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/InfoPlist.strings; sourceTree = "<group>"; };
43
+ <%= uuid(10) %> /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = "<group>"; };
44
+ <%= uuid(33) %> /* <%= product_name %>-Prefix.pch */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "<%= product_name %>-Prefix.pch"; sourceTree = "<group>"; };
45
+ <%= uuid(34) %> /* AppDelegate.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = AppDelegate.h; sourceTree = "<group>"; };
46
+ <%= uuid(12) %> /* AppDelegate.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = AppDelegate.m; sourceTree = "<group>"; };
47
+ <%= uuid(14) %> /* Default.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = Default.png; sourceTree = "<group>"; };
48
+ <%= uuid(16) %> /* Default@2x.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "Default@2x.png"; sourceTree = "<group>"; };
49
+ <%= uuid(18) %> /* Default-568h@2x.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "Default-568h@2x.png"; sourceTree = "<group>"; };
50
+ <%= uuid(35) %> /* <%= product_name %>Tests.octest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = <%= product_name %>Tests.octest; sourceTree = BUILT_PRODUCTS_DIR; };
51
+ <%= uuid(20) %> /* SenTestingKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = SenTestingKit.framework; path = Library/Frameworks/SenTestingKit.framework; sourceTree = DEVELOPER_DIR; };
52
+ <%= uuid(36) %> /* <%= product_name %>Tests-Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = "<%= product_name %>Tests-Info.plist"; sourceTree = "<group>"; };
53
+ <%= uuid(37) %> /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/InfoPlist.strings; sourceTree = "<group>"; };
54
+ <%= uuid(38) %> /* <%= product_name %>Tests.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = <%= product_name %>Tests.h; sourceTree = "<group>"; };
55
+ <%= uuid(26) %> /* <%= product_name %>Tests.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = <%= product_name %>Tests.m; sourceTree = "<group>"; };
56
+ /* End PBXFileReference section */
57
+
58
+ /* Begin PBXFrameworksBuildPhase section */
59
+ <%= uuid(39) %> /* Frameworks */ = {
60
+ isa = PBXFrameworksBuildPhase;
61
+ buildActionMask = 2147483647;
62
+ files = (
63
+ <%= uuid(1) %> /* UIKit.framework in Frameworks */,
64
+ <%= uuid(3) %> /* Foundation.framework in Frameworks */,
65
+ <%= uuid(5) %> /* CoreGraphics.framework in Frameworks */,
66
+ );
67
+ runOnlyForDeploymentPostprocessing = 0;
68
+ };
69
+ <%= uuid(40) %> /* Frameworks */ = {
70
+ isa = PBXFrameworksBuildPhase;
71
+ buildActionMask = 2147483647;
72
+ files = (
73
+ <%= uuid(19) %> /* SenTestingKit.framework in Frameworks */,
74
+ <%= uuid(21) %> /* UIKit.framework in Frameworks */,
75
+ <%= uuid(22) %> /* Foundation.framework in Frameworks */,
76
+ );
77
+ runOnlyForDeploymentPostprocessing = 0;
78
+ };
79
+ /* End PBXFrameworksBuildPhase section */
80
+
81
+ /* Begin PBXGroup section */
82
+ <%= uuid(41) %> = {
83
+ isa = PBXGroup;
84
+ children = (
85
+ <%= uuid(42) %> /* <%= product_name %> */,
86
+ <%= uuid(43) %> /* <%= product_name %>Tests */,
87
+ <%= uuid(44) %> /* Frameworks */,
88
+ <%= uuid(45) %> /* Products */,
89
+ );
90
+ sourceTree = "<group>";
91
+ };
92
+ <%= uuid(45) %> /* Products */ = {
93
+ isa = PBXGroup;
94
+ children = (
95
+ <%= uuid(30) %> /* <%= product_name %>.app */,
96
+ <%= uuid(35) %> /* <%= product_name %>Tests.octest */,
97
+ );
98
+ name = Products;
99
+ sourceTree = "<group>";
100
+ };
101
+ <%= uuid(44) %> /* Frameworks */ = {
102
+ isa = PBXGroup;
103
+ children = (
104
+ <%= uuid(2) %> /* UIKit.framework */,
105
+ <%= uuid(4) %> /* Foundation.framework */,
106
+ <%= uuid(6) %> /* CoreGraphics.framework */,
107
+ <%= uuid(20) %> /* SenTestingKit.framework */,
108
+ );
109
+ name = Frameworks;
110
+ sourceTree = "<group>";
111
+ };
112
+ <%= uuid(42) %> /* <%= product_name %> */ = {
113
+ isa = PBXGroup;
114
+ children = (
115
+ <%= uuid(34) %> /* AppDelegate.h */,
116
+ <%= uuid(12) %> /* AppDelegate.m */,
117
+ <%= uuid(46) %> /* Supporting Files */,
118
+ );
119
+ path = <%= product_name %>;
120
+ sourceTree = "<group>";
121
+ };
122
+ <%= uuid(46) %> /* Supporting Files */ = {
123
+ isa = PBXGroup;
124
+ children = (
125
+ <%= uuid(31) %> /* <%= product_name %>-Info.plist */,
126
+ <%= uuid(8) %> /* InfoPlist.strings */,
127
+ <%= uuid(10) %> /* main.m */,
128
+ <%= uuid(33) %> /* <%= product_name %>-Prefix.pch */,
129
+ <%= uuid(14) %> /* Default.png */,
130
+ <%= uuid(16) %> /* Default@2x.png */,
131
+ <%= uuid(18) %> /* Default-568h@2x.png */,
132
+ );
133
+ name = "Supporting Files";
134
+ sourceTree = "<group>";
135
+ };
136
+ <%= uuid(43) %> /* <%= product_name %>Tests */ = {
137
+ isa = PBXGroup;
138
+ children = (
139
+ <%= uuid(38) %> /* <%= product_name %>Tests.h */,
140
+ <%= uuid(26) %> /* <%= product_name %>Tests.m */,
141
+ <%= uuid(47) %> /* Supporting Files */,
142
+ );
143
+ path = <%= product_name %>Tests;
144
+ sourceTree = "<group>";
145
+ };
146
+ <%= uuid(47) %> /* Supporting Files */ = {
147
+ isa = PBXGroup;
148
+ children = (
149
+ <%= uuid(36) %> /* <%= product_name %>Tests-Info.plist */,
150
+ <%= uuid(24) %> /* InfoPlist.strings */,
151
+ );
152
+ name = "Supporting Files";
153
+ sourceTree = "<group>";
154
+ };
155
+ /* End PBXGroup section */
156
+
157
+ /* Begin PBXNativeTarget section */
158
+ <%= uuid(29) %> /* <%= product_name %> */ = {
159
+ isa = PBXNativeTarget;
160
+ buildConfigurationList = <%= uuid(48) %> /* Build configuration list for PBXNativeTarget "<%= product_name %>" */;
161
+ buildPhases = (
162
+ <%= uuid(49) %> /* Sources */,
163
+ <%= uuid(39) %> /* Frameworks */,
164
+ <%= uuid(50) %> /* Resources */,
165
+ );
166
+ buildRules = (
167
+ );
168
+ dependencies = (
169
+ );
170
+ name = <%= product_name %>;
171
+ productName = <%= product_name %>;
172
+ productReference = <%= uuid(30) %> /* <%= product_name %>.app */;
173
+ productType = "com.apple.product-type.application";
174
+ };
175
+ <%= uuid(57) %> /* <%= product_name %>Tests */ = {
176
+ isa = PBXNativeTarget;
177
+ buildConfigurationList = <%= uuid(51) %> /* Build configuration list for PBXNativeTarget "<%= product_name %>Tests" */;
178
+ buildPhases = (
179
+ <%= uuid(52) %> /* Sources */,
180
+ <%= uuid(40) %> /* Frameworks */,
181
+ <%= uuid(53) %> /* Resources */,
182
+ <%= uuid(54) %> /* ShellScript */,
183
+ );
184
+ buildRules = (
185
+ );
186
+ dependencies = (
187
+ <%= uuid(55) %> /* PBXTargetDependency */,
188
+ );
189
+ name = <%= product_name %>Tests;
190
+ productName = <%= product_name %>Tests;
191
+ productReference = <%= uuid(35) %> /* <%= product_name %>Tests.octest */;
192
+ productType = "com.apple.product-type.bundle";
193
+ };
194
+ /* End PBXNativeTarget section */
195
+
196
+ /* Begin PBXProject section */
197
+ <%= uuid(28) %> /* Project object */ = {
198
+ isa = PBXProject;
199
+ attributes = {
200
+ LastUpgradeCheck = 0460;
201
+ ORGANIZATIONNAME = <%= organization_name %>;
202
+ };
203
+ buildConfigurationList = <%= uuid(56) %> /* Build configuration list for PBXProject "<%= product_name %>" */;
204
+ compatibilityVersion = "Xcode 3.2";
205
+ developmentRegion = English;
206
+ hasScannedForEncodings = 0;
207
+ knownRegions = (
208
+ en,
209
+ );
210
+ mainGroup = <%= uuid(41) %>;
211
+ productRefGroup = <%= uuid(45) %> /* Products */;
212
+ projectDirPath = "";
213
+ projectRoot = "";
214
+ targets = (
215
+ <%= uuid(29) %> /* <%= product_name %> */,
216
+ <%= uuid(57) %> /* <%= product_name %>Tests */,
217
+ );
218
+ };
219
+ /* End PBXProject section */
220
+
221
+ /* Begin PBXResourcesBuildPhase section */
222
+ <%= uuid(50) %> /* Resources */ = {
223
+ isa = PBXResourcesBuildPhase;
224
+ buildActionMask = 2147483647;
225
+ files = (
226
+ <%= uuid(7) %> /* InfoPlist.strings in Resources */,
227
+ <%= uuid(13) %> /* Default.png in Resources */,
228
+ <%= uuid(15) %> /* Default@2x.png in Resources */,
229
+ <%= uuid(17) %> /* Default-568h@2x.png in Resources */,
230
+ );
231
+ runOnlyForDeploymentPostprocessing = 0;
232
+ };
233
+ <%= uuid(53) %> /* Resources */ = {
234
+ isa = PBXResourcesBuildPhase;
235
+ buildActionMask = 2147483647;
236
+ files = (
237
+ <%= uuid(23) %> /* InfoPlist.strings in Resources */,
238
+ );
239
+ runOnlyForDeploymentPostprocessing = 0;
240
+ };
241
+ /* End PBXResourcesBuildPhase section */
242
+
243
+ /* Begin PBXShellScriptBuildPhase section */
244
+ <%= uuid(54) %> /* ShellScript */ = {
245
+ isa = PBXShellScriptBuildPhase;
246
+ buildActionMask = 2147483647;
247
+ files = (
248
+ );
249
+ inputPaths = (
250
+ );
251
+ outputPaths = (
252
+ );
253
+ runOnlyForDeploymentPostprocessing = 0;
254
+ shellPath = /bin/sh;
255
+ shellScript = "# Run the unit tests in this test bundle.\n\"${SYSTEM_DEVELOPER_DIR}/Tools/RunUnitTests\"\n";
256
+ };
257
+ /* End PBXShellScriptBuildPhase section */
258
+
259
+ /* Begin PBXSourcesBuildPhase section */
260
+ <%= uuid(49) %> /* Sources */ = {
261
+ isa = PBXSourcesBuildPhase;
262
+ buildActionMask = 2147483647;
263
+ files = (
264
+ <%= uuid(9) %> /* main.m in Sources */,
265
+ <%= uuid(11) %> /* AppDelegate.m in Sources */,
266
+ );
267
+ runOnlyForDeploymentPostprocessing = 0;
268
+ };
269
+ <%= uuid(52) %> /* Sources */ = {
270
+ isa = PBXSourcesBuildPhase;
271
+ buildActionMask = 2147483647;
272
+ files = (
273
+ <%= uuid(25) %> /* <%= product_name %>Tests.m in Sources */,
274
+ );
275
+ runOnlyForDeploymentPostprocessing = 0;
276
+ };
277
+ /* End PBXSourcesBuildPhase section */
278
+
279
+ /* Begin PBXTargetDependency section */
280
+ <%= uuid(55) %> /* PBXTargetDependency */ = {
281
+ isa = PBXTargetDependency;
282
+ target = <%= uuid(29) %> /* <%= product_name %> */;
283
+ targetProxy = <%= uuid(27) %> /* PBXContainerItemProxy */;
284
+ };
285
+ /* End PBXTargetDependency section */
286
+
287
+ /* Begin PBXVariantGroup section */
288
+ <%= uuid(8) %> /* InfoPlist.strings */ = {
289
+ isa = PBXVariantGroup;
290
+ children = (
291
+ <%= uuid(32) %> /* en */,
292
+ );
293
+ name = InfoPlist.strings;
294
+ sourceTree = "<group>";
295
+ };
296
+ <%= uuid(24) %> /* InfoPlist.strings */ = {
297
+ isa = PBXVariantGroup;
298
+ children = (
299
+ <%= uuid(37) %> /* en */,
300
+ );
301
+ name = InfoPlist.strings;
302
+ sourceTree = "<group>";
303
+ };
304
+ /* End PBXVariantGroup section */
305
+
306
+ /* Begin XCBuildConfiguration section */
307
+ <%= uuid(58) %> /* Debug */ = {
308
+ isa = XCBuildConfiguration;
309
+ buildSettings = {
310
+ ALWAYS_SEARCH_USER_PATHS = NO;
311
+ CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
312
+ CLANG_CXX_LIBRARY = "libc++";
313
+ CLANG_ENABLE_OBJC_ARC = YES;
314
+ CLANG_WARN_CONSTANT_CONVERSION = YES;
315
+ CLANG_WARN_EMPTY_BODY = YES;
316
+ CLANG_WARN_ENUM_CONVERSION = YES;
317
+ CLANG_WARN_INT_CONVERSION = YES;
318
+ CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
319
+ "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
320
+ COPY_PHASE_STRIP = NO;
321
+ GCC_C_LANGUAGE_STANDARD = gnu99;
322
+ GCC_DYNAMIC_NO_PIC = NO;
323
+ GCC_OPTIMIZATION_LEVEL = 0;
324
+ GCC_PREPROCESSOR_DEFINITIONS = (
325
+ "DEBUG=1",
326
+ "$(inherited)",
327
+ );
328
+ GCC_SYMBOLS_PRIVATE_EXTERN = NO;
329
+ GCC_WARN_ABOUT_RETURN_TYPE = YES;
330
+ GCC_WARN_UNINITIALIZED_AUTOS = YES;
331
+ GCC_WARN_UNUSED_VARIABLE = YES;
332
+ IPHONEOS_DEPLOYMENT_TARGET = 6.1;
333
+ ONLY_ACTIVE_ARCH = YES;
334
+ SDKROOT = iphoneos;
335
+ TARGETED_DEVICE_FAMILY = "1,2";
336
+ };
337
+ name = Debug;
338
+ };
339
+ <%= uuid(59) %> /* Release */ = {
340
+ isa = XCBuildConfiguration;
341
+ buildSettings = {
342
+ ALWAYS_SEARCH_USER_PATHS = NO;
343
+ CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
344
+ CLANG_CXX_LIBRARY = "libc++";
345
+ CLANG_ENABLE_OBJC_ARC = YES;
346
+ CLANG_WARN_CONSTANT_CONVERSION = YES;
347
+ CLANG_WARN_EMPTY_BODY = YES;
348
+ CLANG_WARN_ENUM_CONVERSION = YES;
349
+ CLANG_WARN_INT_CONVERSION = YES;
350
+ CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
351
+ "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
352
+ COPY_PHASE_STRIP = YES;
353
+ GCC_C_LANGUAGE_STANDARD = gnu99;
354
+ GCC_WARN_ABOUT_RETURN_TYPE = YES;
355
+ GCC_WARN_UNINITIALIZED_AUTOS = YES;
356
+ GCC_WARN_UNUSED_VARIABLE = YES;
357
+ IPHONEOS_DEPLOYMENT_TARGET = 6.1;
358
+ OTHER_CFLAGS = "-DNS_BLOCK_ASSERTIONS=1";
359
+ SDKROOT = iphoneos;
360
+ TARGETED_DEVICE_FAMILY = "1,2";
361
+ VALIDATE_PRODUCT = YES;
362
+ };
363
+ name = Release;
364
+ };
365
+ <%= uuid(60) %> /* Debug */ = {
366
+ isa = XCBuildConfiguration;
367
+ buildSettings = {
368
+ GCC_PRECOMPILE_PREFIX_HEADER = YES;
369
+ GCC_PREFIX_HEADER = "<%= product_name %>/<%= product_name %>-Prefix.pch";
370
+ INFOPLIST_FILE = "<%= product_name %>/<%= product_name %>-Info.plist";
371
+ PRODUCT_NAME = "$(TARGET_NAME)";
372
+ WRAPPER_EXTENSION = app;
373
+ };
374
+ name = Debug;
375
+ };
376
+ <%= uuid(61) %> /* Release */ = {
377
+ isa = XCBuildConfiguration;
378
+ buildSettings = {
379
+ GCC_PRECOMPILE_PREFIX_HEADER = YES;
380
+ GCC_PREFIX_HEADER = "<%= product_name %>/<%= product_name %>-Prefix.pch";
381
+ INFOPLIST_FILE = "<%= product_name %>/<%= product_name %>-Info.plist";
382
+ PRODUCT_NAME = "$(TARGET_NAME)";
383
+ WRAPPER_EXTENSION = app;
384
+ };
385
+ name = Release;
386
+ };
387
+ <%= uuid(62) %> /* Debug */ = {
388
+ isa = XCBuildConfiguration;
389
+ buildSettings = {
390
+ BUNDLE_LOADER = "$(BUILT_PRODUCTS_DIR)/<%= product_name %>.app/<%= product_name %>";
391
+ FRAMEWORK_SEARCH_PATHS = (
392
+ "\"$(SDKROOT)/Developer/Library/Frameworks\"",
393
+ "\"$(DEVELOPER_LIBRARY_DIR)/Frameworks\"",
394
+ );
395
+ GCC_PRECOMPILE_PREFIX_HEADER = YES;
396
+ GCC_PREFIX_HEADER = "<%= product_name %>/<%= product_name %>-Prefix.pch";
397
+ INFOPLIST_FILE = "<%= product_name %>Tests/<%= product_name %>Tests-Info.plist";
398
+ PRODUCT_NAME = "$(TARGET_NAME)";
399
+ TEST_HOST = "$(BUNDLE_LOADER)";
400
+ WRAPPER_EXTENSION = octest;
401
+ };
402
+ name = Debug;
403
+ };
404
+ <%= uuid(63) %> /* Release */ = {
405
+ isa = XCBuildConfiguration;
406
+ buildSettings = {
407
+ BUNDLE_LOADER = "$(BUILT_PRODUCTS_DIR)/<%= product_name %>.app/<%= product_name %>";
408
+ FRAMEWORK_SEARCH_PATHS = (
409
+ "\"$(SDKROOT)/Developer/Library/Frameworks\"",
410
+ "\"$(DEVELOPER_LIBRARY_DIR)/Frameworks\"",
411
+ );
412
+ GCC_PRECOMPILE_PREFIX_HEADER = YES;
413
+ GCC_PREFIX_HEADER = "<%= product_name %>/<%= product_name %>-Prefix.pch";
414
+ INFOPLIST_FILE = "<%= product_name %>Tests/<%= product_name %>Tests-Info.plist";
415
+ PRODUCT_NAME = "$(TARGET_NAME)";
416
+ TEST_HOST = "$(BUNDLE_LOADER)";
417
+ WRAPPER_EXTENSION = octest;
418
+ };
419
+ name = Release;
420
+ };
421
+ /* End XCBuildConfiguration section */
422
+
423
+ /* Begin XCConfigurationList section */
424
+ <%= uuid(56) %> /* Build configuration list for PBXProject "<%= product_name %>" */ = {
425
+ isa = XCConfigurationList;
426
+ buildConfigurations = (
427
+ <%= uuid(58) %> /* Debug */,
428
+ <%= uuid(59) %> /* Release */,
429
+ );
430
+ defaultConfigurationIsVisible = 0;
431
+ defaultConfigurationName = Release;
432
+ };
433
+ <%= uuid(48) %> /* Build configuration list for PBXNativeTarget "<%= product_name %>" */ = {
434
+ isa = XCConfigurationList;
435
+ buildConfigurations = (
436
+ <%= uuid(60) %> /* Debug */,
437
+ <%= uuid(61) %> /* Release */,
438
+ );
439
+ defaultConfigurationIsVisible = 0;
440
+ };
441
+ <%= uuid(51) %> /* Build configuration list for PBXNativeTarget "<%= product_name %>Tests" */ = {
442
+ isa = XCConfigurationList;
443
+ buildConfigurations = (
444
+ <%= uuid(62) %> /* Debug */,
445
+ <%= uuid(63) %> /* Release */,
446
+ );
447
+ defaultConfigurationIsVisible = 0;
448
+ };
449
+ /* End XCConfigurationList section */
450
+ };
451
+ rootObject = <%= uuid(28) %> /* Project object */;
452
+ }
@@ -0,0 +1,7 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <Workspace
3
+ version = "1.0">
4
+ <FileRef
5
+ location = "self:<%= product_name %>.xcodeproj">
6
+ </FileRef>
7
+ </Workspace>
@@ -0,0 +1,22 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3
+ <plist version="1.0">
4
+ <dict>
5
+ <key>CFBundleDevelopmentRegion</key>
6
+ <string>en</string>
7
+ <key>CFBundleExecutable</key>
8
+ <string>${EXECUTABLE_NAME}</string>
9
+ <key>CFBundleIdentifier</key>
10
+ <string><%= company_name %>.${PRODUCT_NAME:rfc1034identifier}</string>
11
+ <key>CFBundleInfoDictionaryVersion</key>
12
+ <string>6.0</string>
13
+ <key>CFBundlePackageType</key>
14
+ <string>BNDL</string>
15
+ <key>CFBundleShortVersionString</key>
16
+ <string>1.0</string>
17
+ <key>CFBundleSignature</key>
18
+ <string>????</string>
19
+ <key>CFBundleVersion</key>
20
+ <string>1</string>
21
+ </dict>
22
+ </plist>
@@ -0,0 +1,13 @@
1
+ //
2
+ // <%= product_name %>Tests.h
3
+ // <%= product_name %>Tests
4
+ //
5
+ // Created by Nuvado on <%= Date.today.to_s %>.
6
+ // Copyright (c) 2013 <%= organization_name %>. All rights reserved.
7
+ //
8
+
9
+ #import <SenTestingKit/SenTestingKit.h>
10
+
11
+ @interface <%= product_name %>Tests : SenTestCase
12
+
13
+ @end