xcbootstrap 0.0.1

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 (92) hide show
  1. checksums.yaml +7 -0
  2. data/bin/xcbootstrap +8 -0
  3. data/lib/xcbootstrap/bootstrap.rb +65 -0
  4. data/lib/xcbootstrap/cli.rb +17 -0
  5. data/lib/xcbootstrap/next_steps.txt +32 -0
  6. data/lib/xcbootstrap/template.rb +40 -0
  7. data/lib/xcbootstrap/version.rb +3 -0
  8. data/lib/xcbootstrap.rb +3 -0
  9. data/spec/acceptance/xcbootstrap_spec.rb +57 -0
  10. data/spec/spec_helper.rb +5 -0
  11. data/spec/unit/bootstrap_spec.rb +100 -0
  12. data/spec/unit/cli_spec.rb +33 -0
  13. data/spec/unit/template_spec.rb +86 -0
  14. data/templates/Sample/Sample/AppDelegate.h +15 -0
  15. data/templates/Sample/Sample/AppDelegate.m +49 -0
  16. data/templates/Sample/Sample/Default-568h@2x.png +0 -0
  17. data/templates/Sample/Sample/Default.png +0 -0
  18. data/templates/Sample/Sample/Default@2x.png +0 -0
  19. data/templates/Sample/Sample/Sample-Info.plist +45 -0
  20. data/templates/Sample/Sample/Sample-Prefix.pch +14 -0
  21. data/templates/Sample/Sample/main.m +18 -0
  22. data/templates/Sample/Sample.xcodeproj/project.pbxproj +423 -0
  23. data/templates/Sample/Sample.xcodeproj/project.xcworkspace/contents.xcworkspacedata +7 -0
  24. data/templates/Sample/Sample.xcodeproj/xcshareddata/xcschemes/Sample.xcscheme +96 -0
  25. data/templates/Sample/SampleTests/SampleTests-Info.plist +22 -0
  26. data/templates/Sample/SampleTests/SampleTests.m +22 -0
  27. data/templates/Sample/gitignore +18 -0
  28. data/templates/Sample/manifest.yml +16 -0
  29. data/templates/simple/Gemfile +7 -0
  30. data/templates/simple/Podfile +15 -0
  31. data/templates/simple/Rakefile +45 -0
  32. data/templates/simple/app/configuration/analyzer.xcconfig +21 -0
  33. data/templates/simple/app/configuration/app.xcconfig +13 -0
  34. data/templates/simple/app/configuration/architectures.xcconfig +5 -0
  35. data/templates/simple/app/configuration/compiler.xcconfig +59 -0
  36. data/templates/simple/app/configuration/debug-code-sign.xcconfig +3 -0
  37. data/templates/simple/app/configuration/debug.xcconfig +22 -0
  38. data/templates/simple/app/configuration/release-code-sign.xcconfig +3 -0
  39. data/templates/simple/app/configuration/release.xcconfig +18 -0
  40. data/templates/simple/app/configuration/shared.xcconfig +12 -0
  41. data/templates/simple/app/configuration/unit-tests.xcconfig +13 -0
  42. data/templates/simple/app/resources/AppInfo.plist +45 -0
  43. data/templates/simple/app/resources/Default-568h@2x.png +0 -0
  44. data/templates/simple/app/resources/Default.png +0 -0
  45. data/templates/simple/app/resources/Default@2x.png +0 -0
  46. data/templates/simple/app/resources/UnitTestsInfo.plist +22 -0
  47. data/templates/simple/app/simple.xcodeproj/project.pbxproj +439 -0
  48. data/templates/simple/app/simple.xcodeproj/xcshareddata/xcschemes/simple.xcscheme +138 -0
  49. data/templates/simple/app/src/AppDelegate.h +7 -0
  50. data/templates/simple/app/src/AppDelegate.m +46 -0
  51. data/templates/simple/app/src/AppPrefix.pch +10 -0
  52. data/templates/simple/app/src/main.m +9 -0
  53. data/templates/simple/app/test/ExampleSpec.m +34 -0
  54. data/templates/simple/app/test/UnitTestsPrefix.pch +11 -0
  55. data/templates/simple/gitignore +20 -0
  56. data/templates/simple/manifest.yml +31 -0
  57. data/templates/simple/simple.xcworkspace/contents.xcworkspacedata +10 -0
  58. data/templates/static-lib/Gemfile +4 -0
  59. data/templates/static-lib/Podfile +14 -0
  60. data/templates/static-lib/Rakefile +29 -0
  61. data/templates/static-lib/gitignore +20 -0
  62. data/templates/static-lib/lib/configuration/analyzer.xcconfig +21 -0
  63. data/templates/static-lib/lib/configuration/architectures.xcconfig +5 -0
  64. data/templates/static-lib/lib/configuration/compiler.xcconfig +59 -0
  65. data/templates/static-lib/lib/configuration/debug-code-sign.xcconfig +3 -0
  66. data/templates/static-lib/lib/configuration/debug.xcconfig +19 -0
  67. data/templates/static-lib/lib/configuration/lib.xcconfig +10 -0
  68. data/templates/static-lib/lib/configuration/release-code-sign.xcconfig +3 -0
  69. data/templates/static-lib/lib/configuration/release.xcconfig +18 -0
  70. data/templates/static-lib/lib/configuration/shared.xcconfig +11 -0
  71. data/templates/static-lib/lib/configuration/test-loader.xcconfig +11 -0
  72. data/templates/static-lib/lib/configuration/unit-tests.xcconfig +13 -0
  73. data/templates/static-lib/lib/resources/Default-568h@2x.png +0 -0
  74. data/templates/static-lib/lib/resources/Default.png +0 -0
  75. data/templates/static-lib/lib/resources/Default@2x.png +0 -0
  76. data/templates/static-lib/lib/resources/TestLoaderAppInfo.plist +45 -0
  77. data/templates/static-lib/lib/resources/UnitTestsInfo.plist +22 -0
  78. data/templates/static-lib/lib/src/MyFirstLibObject.h +7 -0
  79. data/templates/static-lib/lib/src/MyFirstLibObject.m +15 -0
  80. data/templates/static-lib/lib/src/StaticLibPrefix.pch +10 -0
  81. data/templates/static-lib/lib/static-lib.xcodeproj/project.pbxproj +546 -0
  82. data/templates/static-lib/lib/static-lib.xcodeproj/xcshareddata/xcschemes/static-lib.xcscheme +97 -0
  83. data/templates/static-lib/lib/test/ExampleSpec.m +34 -0
  84. data/templates/static-lib/lib/test/TestLoaderAppDelegate.h +7 -0
  85. data/templates/static-lib/lib/test/TestLoaderAppDelegate.m +13 -0
  86. data/templates/static-lib/lib/test/TestLoaderAppPrefix.pch +10 -0
  87. data/templates/static-lib/lib/test/UnitTestsPrefix.pch +11 -0
  88. data/templates/static-lib/lib/test/main.m +9 -0
  89. data/templates/static-lib/manifest.yml +36 -0
  90. data/templates/static-lib/static-lib.podspec +29 -0
  91. data/templates/static-lib/static-lib.xcworkspace/contents.xcworkspacedata +10 -0
  92. metadata +209 -0
@@ -0,0 +1,546 @@
1
+ // !$*UTF8*$!
2
+ {
3
+ archiveVersion = 1;
4
+ classes = {
5
+ };
6
+ objectVersion = 46;
7
+ objects = {
8
+
9
+ /* Begin PBXBuildFile section */
10
+ B647D4D235724A08BDD6B731 /* libPods.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 2F64538FE6CE416B8F24C4B8 /* libPods.a */; };
11
+ BB18BA669BEF4A56AFCF1BE0 /* libPods-test.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 46B6A7448A194A06A60C61C0 /* libPods-test.a */; };
12
+ C911D63716C3C62A004D8F4B /* UIKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = C911D63616C3C62A004D8F4B /* UIKit.framework */; };
13
+ C911D63916C3C62A004D8F4B /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = C911D63816C3C62A004D8F4B /* Foundation.framework */; };
14
+ C911D63B16C3C62A004D8F4B /* CoreGraphics.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = C911D63A16C3C62A004D8F4B /* CoreGraphics.framework */; };
15
+ C911D65516C3C62A004D8F4B /* SenTestingKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = C911D65416C3C62A004D8F4B /* SenTestingKit.framework */; };
16
+ C911D65616C3C62A004D8F4B /* UIKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = C911D63616C3C62A004D8F4B /* UIKit.framework */; };
17
+ C911D65716C3C62A004D8F4B /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = C911D63816C3C62A004D8F4B /* Foundation.framework */; };
18
+ C91FD35817B24BE500750EF9 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = C911D63816C3C62A004D8F4B /* Foundation.framework */; };
19
+ C91FD37C17B24E7000750EF9 /* MyFirstLibObject.m in Sources */ = {isa = PBXBuildFile; fileRef = C91FD37B17B24E7000750EF9 /* MyFirstLibObject.m */; };
20
+ C930F0CC17B249FD00EAB245 /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = C930F0C817B249FD00EAB245 /* main.m */; };
21
+ C930F0CD17B249FD00EAB245 /* TestLoaderAppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = C930F0CA17B249FD00EAB245 /* TestLoaderAppDelegate.m */; };
22
+ C93CF96D17B252D000C33271 /* libstatic-lib.a in Frameworks */ = {isa = PBXBuildFile; fileRef = C91FD35717B24BE500750EF9 /* libstatic-lib.a */; };
23
+ C9E977CE16C8D004006C7F64 /* Default-568h@2x.png in Resources */ = {isa = PBXBuildFile; fileRef = C9E977C716C8D004006C7F64 /* Default-568h@2x.png */; };
24
+ C9E977D016C8D004006C7F64 /* Default.png in Resources */ = {isa = PBXBuildFile; fileRef = C9E977C916C8D004006C7F64 /* Default.png */; };
25
+ C9E977D116C8D004006C7F64 /* Default@2x.png in Resources */ = {isa = PBXBuildFile; fileRef = C9E977CA16C8D004006C7F64 /* Default@2x.png */; };
26
+ C9E977D616C90619006C7F64 /* ExampleSpec.m in Sources */ = {isa = PBXBuildFile; fileRef = C9E977D516C90619006C7F64 /* ExampleSpec.m */; };
27
+ F4A2981CB1184891AC6A136C /* libPods.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 2F64538FE6CE416B8F24C4B8 /* libPods.a */; };
28
+ /* End PBXBuildFile section */
29
+
30
+ /* Begin PBXContainerItemProxy section */
31
+ C911D65816C3C62A004D8F4B /* PBXContainerItemProxy */ = {
32
+ isa = PBXContainerItemProxy;
33
+ containerPortal = C911D62B16C3C62A004D8F4B /* Project object */;
34
+ proxyType = 1;
35
+ remoteGlobalIDString = C911D63216C3C62A004D8F4B;
36
+ remoteInfo = default;
37
+ };
38
+ C93CF96B17B252C800C33271 /* PBXContainerItemProxy */ = {
39
+ isa = PBXContainerItemProxy;
40
+ containerPortal = C911D62B16C3C62A004D8F4B /* Project object */;
41
+ proxyType = 1;
42
+ remoteGlobalIDString = C91FD35617B24BE500750EF9;
43
+ remoteInfo = "static-lib";
44
+ };
45
+ /* End PBXContainerItemProxy section */
46
+
47
+ /* Begin PBXFileReference section */
48
+ 2F64538FE6CE416B8F24C4B8 /* libPods.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = libPods.a; sourceTree = BUILT_PRODUCTS_DIR; };
49
+ 46B6A7448A194A06A60C61C0 /* libPods-test.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-test.a"; sourceTree = BUILT_PRODUCTS_DIR; };
50
+ C911D63316C3C62A004D8F4B /* test-loader.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "test-loader.app"; sourceTree = BUILT_PRODUCTS_DIR; };
51
+ C911D63616C3C62A004D8F4B /* UIKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = UIKit.framework; path = System/Library/Frameworks/UIKit.framework; sourceTree = SDKROOT; };
52
+ C911D63816C3C62A004D8F4B /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = System/Library/Frameworks/Foundation.framework; sourceTree = SDKROOT; };
53
+ C911D63A16C3C62A004D8F4B /* CoreGraphics.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreGraphics.framework; path = System/Library/Frameworks/CoreGraphics.framework; sourceTree = SDKROOT; };
54
+ C911D65316C3C62A004D8F4B /* unit-tests.octest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = "unit-tests.octest"; sourceTree = BUILT_PRODUCTS_DIR; };
55
+ C911D65416C3C62A004D8F4B /* SenTestingKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = SenTestingKit.framework; path = Library/Frameworks/SenTestingKit.framework; sourceTree = DEVELOPER_DIR; };
56
+ C91FD35717B24BE500750EF9 /* libstatic-lib.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libstatic-lib.a"; sourceTree = BUILT_PRODUCTS_DIR; };
57
+ C91FD36517B24D2400750EF9 /* StaticLibPrefix.pch */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = StaticLibPrefix.pch; sourceTree = "<group>"; };
58
+ C91FD37A17B24E7000750EF9 /* MyFirstLibObject.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MyFirstLibObject.h; sourceTree = "<group>"; };
59
+ C91FD37B17B24E7000750EF9 /* MyFirstLibObject.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = MyFirstLibObject.m; sourceTree = "<group>"; };
60
+ C930F0B217B2486000EAB245 /* lib.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; path = lib.xcconfig; sourceTree = "<group>"; };
61
+ C930F0C817B249FD00EAB245 /* main.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = "<group>"; };
62
+ C930F0C917B249FD00EAB245 /* TestLoaderAppDelegate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = TestLoaderAppDelegate.h; sourceTree = "<group>"; };
63
+ C930F0CA17B249FD00EAB245 /* TestLoaderAppDelegate.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = TestLoaderAppDelegate.m; sourceTree = "<group>"; };
64
+ C930F0CB17B249FD00EAB245 /* TestLoaderAppPrefix.pch */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = TestLoaderAppPrefix.pch; sourceTree = "<group>"; };
65
+ C969682316CA1C8800F1C1FD /* test-loader.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; path = "test-loader.xcconfig"; sourceTree = "<group>"; };
66
+ C969682416CA1C8800F1C1FD /* debug.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; path = debug.xcconfig; sourceTree = "<group>"; };
67
+ C969682516CA1C8800F1C1FD /* release.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; path = release.xcconfig; sourceTree = "<group>"; };
68
+ C969682616CA1C8800F1C1FD /* shared.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; path = shared.xcconfig; sourceTree = "<group>"; };
69
+ C969682716CA1C8800F1C1FD /* unit-tests.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; path = "unit-tests.xcconfig"; sourceTree = "<group>"; };
70
+ C980295A179FF0CE008F0C0B /* architectures.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; path = architectures.xcconfig; sourceTree = "<group>"; };
71
+ C980295B179FF13D008F0C0B /* analyzer.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; path = analyzer.xcconfig; sourceTree = "<group>"; };
72
+ C980295C179FF13D008F0C0B /* compiler.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; path = compiler.xcconfig; sourceTree = "<group>"; };
73
+ C980295D179FF13D008F0C0B /* debug-code-sign.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; path = "debug-code-sign.xcconfig"; sourceTree = "<group>"; };
74
+ C980295E179FF13D008F0C0B /* release-code-sign.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; path = "release-code-sign.xcconfig"; sourceTree = "<group>"; };
75
+ C9E977C516C8CE9C006C7F64 /* UnitTestsPrefix.pch */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = UnitTestsPrefix.pch; sourceTree = "<group>"; };
76
+ C9E977C716C8D004006C7F64 /* Default-568h@2x.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "Default-568h@2x.png"; sourceTree = "<group>"; };
77
+ C9E977C816C8D004006C7F64 /* TestLoaderAppInfo.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; path = TestLoaderAppInfo.plist; sourceTree = "<group>"; };
78
+ C9E977C916C8D004006C7F64 /* Default.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = Default.png; sourceTree = "<group>"; };
79
+ C9E977CA16C8D004006C7F64 /* Default@2x.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "Default@2x.png"; sourceTree = "<group>"; };
80
+ C9E977D316C8D0A8006C7F64 /* UnitTestsInfo.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = UnitTestsInfo.plist; sourceTree = "<group>"; };
81
+ C9E977D516C90619006C7F64 /* ExampleSpec.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = ExampleSpec.m; sourceTree = "<group>"; };
82
+ CDFE709DDE4442428B2D9AC6 /* Pods.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = Pods.xcconfig; path = ../Pods/Pods.xcconfig; sourceTree = SOURCE_ROOT; };
83
+ EC7B302516B146FFB11825D4 /* Pods-test.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-test.xcconfig"; path = "../Pods/Pods-test.xcconfig"; sourceTree = SOURCE_ROOT; };
84
+ /* End PBXFileReference section */
85
+
86
+ /* Begin PBXFrameworksBuildPhase section */
87
+ C911D63016C3C62A004D8F4B /* Frameworks */ = {
88
+ isa = PBXFrameworksBuildPhase;
89
+ buildActionMask = 2147483647;
90
+ files = (
91
+ C911D63716C3C62A004D8F4B /* UIKit.framework in Frameworks */,
92
+ C911D63916C3C62A004D8F4B /* Foundation.framework in Frameworks */,
93
+ C911D63B16C3C62A004D8F4B /* CoreGraphics.framework in Frameworks */,
94
+ B647D4D235724A08BDD6B731 /* libPods.a in Frameworks */,
95
+ );
96
+ runOnlyForDeploymentPostprocessing = 0;
97
+ };
98
+ C911D64F16C3C62A004D8F4B /* Frameworks */ = {
99
+ isa = PBXFrameworksBuildPhase;
100
+ buildActionMask = 2147483647;
101
+ files = (
102
+ C93CF96D17B252D000C33271 /* libstatic-lib.a in Frameworks */,
103
+ C911D65516C3C62A004D8F4B /* SenTestingKit.framework in Frameworks */,
104
+ C911D65616C3C62A004D8F4B /* UIKit.framework in Frameworks */,
105
+ C911D65716C3C62A004D8F4B /* Foundation.framework in Frameworks */,
106
+ BB18BA669BEF4A56AFCF1BE0 /* libPods-test.a in Frameworks */,
107
+ );
108
+ runOnlyForDeploymentPostprocessing = 0;
109
+ };
110
+ C91FD35417B24BE500750EF9 /* Frameworks */ = {
111
+ isa = PBXFrameworksBuildPhase;
112
+ buildActionMask = 2147483647;
113
+ files = (
114
+ C91FD35817B24BE500750EF9 /* Foundation.framework in Frameworks */,
115
+ F4A2981CB1184891AC6A136C /* libPods.a in Frameworks */,
116
+ );
117
+ runOnlyForDeploymentPostprocessing = 0;
118
+ };
119
+ /* End PBXFrameworksBuildPhase section */
120
+
121
+ /* Begin PBXGroup section */
122
+ C911D62A16C3C62A004D8F4B = {
123
+ isa = PBXGroup;
124
+ children = (
125
+ C911D63C16C3C62A004D8F4B /* src */,
126
+ C911D65A16C3C62A004D8F4B /* test */,
127
+ C9E977C616C8CFC6006C7F64 /* resources */,
128
+ C969682216CA1C8800F1C1FD /* configuration */,
129
+ C911D63516C3C62A004D8F4B /* Frameworks */,
130
+ C911D63416C3C62A004D8F4B /* Products */,
131
+ );
132
+ sourceTree = "<group>";
133
+ };
134
+ C911D63416C3C62A004D8F4B /* Products */ = {
135
+ isa = PBXGroup;
136
+ children = (
137
+ C911D63316C3C62A004D8F4B /* test-loader.app */,
138
+ C911D65316C3C62A004D8F4B /* unit-tests.octest */,
139
+ C91FD35717B24BE500750EF9 /* libstatic-lib.a */,
140
+ );
141
+ name = Products;
142
+ sourceTree = "<group>";
143
+ };
144
+ C911D63516C3C62A004D8F4B /* Frameworks */ = {
145
+ isa = PBXGroup;
146
+ children = (
147
+ C911D63616C3C62A004D8F4B /* UIKit.framework */,
148
+ C911D63816C3C62A004D8F4B /* Foundation.framework */,
149
+ C911D63A16C3C62A004D8F4B /* CoreGraphics.framework */,
150
+ C911D65416C3C62A004D8F4B /* SenTestingKit.framework */,
151
+ 2F64538FE6CE416B8F24C4B8 /* libPods.a */,
152
+ 46B6A7448A194A06A60C61C0 /* libPods-test.a */,
153
+ );
154
+ name = Frameworks;
155
+ sourceTree = "<group>";
156
+ };
157
+ C911D63C16C3C62A004D8F4B /* src */ = {
158
+ isa = PBXGroup;
159
+ children = (
160
+ C91FD36517B24D2400750EF9 /* StaticLibPrefix.pch */,
161
+ C91FD37A17B24E7000750EF9 /* MyFirstLibObject.h */,
162
+ C91FD37B17B24E7000750EF9 /* MyFirstLibObject.m */,
163
+ );
164
+ path = src;
165
+ sourceTree = SOURCE_ROOT;
166
+ };
167
+ C911D65A16C3C62A004D8F4B /* test */ = {
168
+ isa = PBXGroup;
169
+ children = (
170
+ C930F0C717B249EE00EAB245 /* test-loader */,
171
+ C911D65B16C3C62A004D8F4B /* main */,
172
+ C9E977D516C90619006C7F64 /* ExampleSpec.m */,
173
+ );
174
+ path = test;
175
+ sourceTree = SOURCE_ROOT;
176
+ };
177
+ C911D65B16C3C62A004D8F4B /* main */ = {
178
+ isa = PBXGroup;
179
+ children = (
180
+ C9E977C516C8CE9C006C7F64 /* UnitTestsPrefix.pch */,
181
+ );
182
+ name = main;
183
+ sourceTree = "<group>";
184
+ };
185
+ C930F0C717B249EE00EAB245 /* test-loader */ = {
186
+ isa = PBXGroup;
187
+ children = (
188
+ C930F0C817B249FD00EAB245 /* main.m */,
189
+ C930F0C917B249FD00EAB245 /* TestLoaderAppDelegate.h */,
190
+ C930F0CA17B249FD00EAB245 /* TestLoaderAppDelegate.m */,
191
+ C930F0CB17B249FD00EAB245 /* TestLoaderAppPrefix.pch */,
192
+ );
193
+ name = "test-loader";
194
+ sourceTree = "<group>";
195
+ };
196
+ C969682216CA1C8800F1C1FD /* configuration */ = {
197
+ isa = PBXGroup;
198
+ children = (
199
+ C980295B179FF13D008F0C0B /* analyzer.xcconfig */,
200
+ C969682316CA1C8800F1C1FD /* test-loader.xcconfig */,
201
+ C980295A179FF0CE008F0C0B /* architectures.xcconfig */,
202
+ C980295C179FF13D008F0C0B /* compiler.xcconfig */,
203
+ C980295D179FF13D008F0C0B /* debug-code-sign.xcconfig */,
204
+ C969682416CA1C8800F1C1FD /* debug.xcconfig */,
205
+ EC7B302516B146FFB11825D4 /* Pods-test.xcconfig */,
206
+ CDFE709DDE4442428B2D9AC6 /* Pods.xcconfig */,
207
+ C980295E179FF13D008F0C0B /* release-code-sign.xcconfig */,
208
+ C969682516CA1C8800F1C1FD /* release.xcconfig */,
209
+ C969682616CA1C8800F1C1FD /* shared.xcconfig */,
210
+ C969682716CA1C8800F1C1FD /* unit-tests.xcconfig */,
211
+ C930F0B217B2486000EAB245 /* lib.xcconfig */,
212
+ );
213
+ path = configuration;
214
+ sourceTree = "<group>";
215
+ };
216
+ C9E977C616C8CFC6006C7F64 /* resources */ = {
217
+ isa = PBXGroup;
218
+ children = (
219
+ C9E977D416C8D0E1006C7F64 /* icons */,
220
+ C9E977C816C8D004006C7F64 /* TestLoaderAppInfo.plist */,
221
+ C9E977D316C8D0A8006C7F64 /* UnitTestsInfo.plist */,
222
+ );
223
+ path = resources;
224
+ sourceTree = SOURCE_ROOT;
225
+ };
226
+ C9E977D416C8D0E1006C7F64 /* icons */ = {
227
+ isa = PBXGroup;
228
+ children = (
229
+ C9E977C716C8D004006C7F64 /* Default-568h@2x.png */,
230
+ C9E977C916C8D004006C7F64 /* Default.png */,
231
+ C9E977CA16C8D004006C7F64 /* Default@2x.png */,
232
+ );
233
+ name = icons;
234
+ sourceTree = "<group>";
235
+ };
236
+ /* End PBXGroup section */
237
+
238
+ /* Begin PBXNativeTarget section */
239
+ C911D63216C3C62A004D8F4B /* test-loader */ = {
240
+ isa = PBXNativeTarget;
241
+ buildConfigurationList = C911D66516C3C62A004D8F4B /* Build configuration list for PBXNativeTarget "test-loader" */;
242
+ buildPhases = (
243
+ C911D62F16C3C62A004D8F4B /* Sources */,
244
+ C911D63016C3C62A004D8F4B /* Frameworks */,
245
+ C911D63116C3C62A004D8F4B /* Resources */,
246
+ );
247
+ buildRules = (
248
+ );
249
+ dependencies = (
250
+ );
251
+ name = "test-loader";
252
+ productName = default;
253
+ productReference = C911D63316C3C62A004D8F4B /* test-loader.app */;
254
+ productType = "com.apple.product-type.application";
255
+ };
256
+ C911D65216C3C62A004D8F4B /* unit-tests */ = {
257
+ isa = PBXNativeTarget;
258
+ buildConfigurationList = C911D66816C3C62A004D8F4B /* Build configuration list for PBXNativeTarget "unit-tests" */;
259
+ buildPhases = (
260
+ C911D64E16C3C62A004D8F4B /* Sources */,
261
+ C911D64F16C3C62A004D8F4B /* Frameworks */,
262
+ C911D65016C3C62A004D8F4B /* Resources */,
263
+ 9401A6A469C64F029998B93F /* Copy Pods Resources */,
264
+ );
265
+ buildRules = (
266
+ );
267
+ dependencies = (
268
+ C93CF96C17B252C800C33271 /* PBXTargetDependency */,
269
+ C911D65916C3C62A004D8F4B /* PBXTargetDependency */,
270
+ );
271
+ name = "unit-tests";
272
+ productName = defaultTests;
273
+ productReference = C911D65316C3C62A004D8F4B /* unit-tests.octest */;
274
+ productType = "com.apple.product-type.bundle";
275
+ };
276
+ C91FD35617B24BE500750EF9 /* static-lib */ = {
277
+ isa = PBXNativeTarget;
278
+ buildConfigurationList = C91FD36017B24BE500750EF9 /* Build configuration list for PBXNativeTarget "static-lib" */;
279
+ buildPhases = (
280
+ 87472160FC57414F80153797 /* Check Pods Manifest.lock */,
281
+ C91FD35317B24BE500750EF9 /* Sources */,
282
+ C91FD35417B24BE500750EF9 /* Frameworks */,
283
+ C9673A1417B25AD5000B66C5 /* Copy Headers To Output */,
284
+ AB9640CB283746189265EB08 /* Copy Pods Resources */,
285
+ );
286
+ buildRules = (
287
+ );
288
+ dependencies = (
289
+ );
290
+ name = "static-lib";
291
+ productName = staticlib;
292
+ productReference = C91FD35717B24BE500750EF9 /* libstatic-lib.a */;
293
+ productType = "com.apple.product-type.library.static";
294
+ };
295
+ /* End PBXNativeTarget section */
296
+
297
+ /* Begin PBXProject section */
298
+ C911D62B16C3C62A004D8F4B /* Project object */ = {
299
+ isa = PBXProject;
300
+ attributes = {
301
+ LastUpgradeCheck = 0460;
302
+ ORGANIZATIONNAME = yourcompanyname;
303
+ };
304
+ buildConfigurationList = C911D62E16C3C62A004D8F4B /* Build configuration list for PBXProject "static-lib" */;
305
+ compatibilityVersion = "Xcode 3.2";
306
+ developmentRegion = English;
307
+ hasScannedForEncodings = 0;
308
+ knownRegions = (
309
+ en,
310
+ );
311
+ mainGroup = C911D62A16C3C62A004D8F4B;
312
+ productRefGroup = C911D63416C3C62A004D8F4B /* Products */;
313
+ projectDirPath = "";
314
+ projectRoot = "";
315
+ targets = (
316
+ C91FD35617B24BE500750EF9 /* static-lib */,
317
+ C911D63216C3C62A004D8F4B /* test-loader */,
318
+ C911D65216C3C62A004D8F4B /* unit-tests */,
319
+ );
320
+ };
321
+ /* End PBXProject section */
322
+
323
+ /* Begin PBXResourcesBuildPhase section */
324
+ C911D63116C3C62A004D8F4B /* Resources */ = {
325
+ isa = PBXResourcesBuildPhase;
326
+ buildActionMask = 2147483647;
327
+ files = (
328
+ C9E977CE16C8D004006C7F64 /* Default-568h@2x.png in Resources */,
329
+ C9E977D016C8D004006C7F64 /* Default.png in Resources */,
330
+ C9E977D116C8D004006C7F64 /* Default@2x.png in Resources */,
331
+ );
332
+ runOnlyForDeploymentPostprocessing = 0;
333
+ };
334
+ C911D65016C3C62A004D8F4B /* Resources */ = {
335
+ isa = PBXResourcesBuildPhase;
336
+ buildActionMask = 2147483647;
337
+ files = (
338
+ );
339
+ runOnlyForDeploymentPostprocessing = 0;
340
+ };
341
+ /* End PBXResourcesBuildPhase section */
342
+
343
+ /* Begin PBXShellScriptBuildPhase section */
344
+ 87472160FC57414F80153797 /* Check Pods Manifest.lock */ = {
345
+ isa = PBXShellScriptBuildPhase;
346
+ buildActionMask = 2147483647;
347
+ files = (
348
+ );
349
+ inputPaths = (
350
+ );
351
+ name = "Check Pods Manifest.lock";
352
+ outputPaths = (
353
+ );
354
+ runOnlyForDeploymentPostprocessing = 0;
355
+ shellPath = /bin/sh;
356
+ shellScript = "diff \"${PODS_ROOT}/../Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [[ $? != 0 ]] ; then\n cat << EOM\nerror: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\nEOM\n exit 1\nfi\n";
357
+ showEnvVarsInLog = 0;
358
+ };
359
+ 9401A6A469C64F029998B93F /* Copy Pods Resources */ = {
360
+ isa = PBXShellScriptBuildPhase;
361
+ buildActionMask = 2147483647;
362
+ files = (
363
+ );
364
+ inputPaths = (
365
+ );
366
+ name = "Copy Pods Resources";
367
+ outputPaths = (
368
+ );
369
+ runOnlyForDeploymentPostprocessing = 0;
370
+ shellPath = /bin/sh;
371
+ shellScript = "\"${SRCROOT}/../Pods/Pods-test-resources.sh\"\n";
372
+ showEnvVarsInLog = 0;
373
+ };
374
+ AB9640CB283746189265EB08 /* Copy Pods Resources */ = {
375
+ isa = PBXShellScriptBuildPhase;
376
+ buildActionMask = 2147483647;
377
+ files = (
378
+ );
379
+ inputPaths = (
380
+ );
381
+ name = "Copy Pods Resources";
382
+ outputPaths = (
383
+ );
384
+ runOnlyForDeploymentPostprocessing = 0;
385
+ shellPath = /bin/sh;
386
+ shellScript = "\"${SRCROOT}/../Pods/Pods-resources.sh\"\n";
387
+ showEnvVarsInLog = 0;
388
+ };
389
+ C9673A1417B25AD5000B66C5 /* Copy Headers To Output */ = {
390
+ isa = PBXShellScriptBuildPhase;
391
+ buildActionMask = 2147483647;
392
+ files = (
393
+ );
394
+ inputPaths = (
395
+ );
396
+ name = "Copy Headers To Output";
397
+ outputPaths = (
398
+ );
399
+ runOnlyForDeploymentPostprocessing = 0;
400
+ shellPath = /bin/sh;
401
+ shellScript = "mkdir -p ${PUBLIC_HEADERS_FOLDER_PATH}\ncp ${SRCROOT}/src/*.h ${PUBLIC_HEADERS_FOLDER_PATH}";
402
+ showEnvVarsInLog = 0;
403
+ };
404
+ /* End PBXShellScriptBuildPhase section */
405
+
406
+ /* Begin PBXSourcesBuildPhase section */
407
+ C911D62F16C3C62A004D8F4B /* Sources */ = {
408
+ isa = PBXSourcesBuildPhase;
409
+ buildActionMask = 2147483647;
410
+ files = (
411
+ C930F0CC17B249FD00EAB245 /* main.m in Sources */,
412
+ C930F0CD17B249FD00EAB245 /* TestLoaderAppDelegate.m in Sources */,
413
+ );
414
+ runOnlyForDeploymentPostprocessing = 0;
415
+ };
416
+ C911D64E16C3C62A004D8F4B /* Sources */ = {
417
+ isa = PBXSourcesBuildPhase;
418
+ buildActionMask = 2147483647;
419
+ files = (
420
+ C9E977D616C90619006C7F64 /* ExampleSpec.m in Sources */,
421
+ );
422
+ runOnlyForDeploymentPostprocessing = 0;
423
+ };
424
+ C91FD35317B24BE500750EF9 /* Sources */ = {
425
+ isa = PBXSourcesBuildPhase;
426
+ buildActionMask = 2147483647;
427
+ files = (
428
+ C91FD37C17B24E7000750EF9 /* MyFirstLibObject.m in Sources */,
429
+ );
430
+ runOnlyForDeploymentPostprocessing = 0;
431
+ };
432
+ /* End PBXSourcesBuildPhase section */
433
+
434
+ /* Begin PBXTargetDependency section */
435
+ C911D65916C3C62A004D8F4B /* PBXTargetDependency */ = {
436
+ isa = PBXTargetDependency;
437
+ target = C911D63216C3C62A004D8F4B /* test-loader */;
438
+ targetProxy = C911D65816C3C62A004D8F4B /* PBXContainerItemProxy */;
439
+ };
440
+ C93CF96C17B252C800C33271 /* PBXTargetDependency */ = {
441
+ isa = PBXTargetDependency;
442
+ target = C91FD35617B24BE500750EF9 /* static-lib */;
443
+ targetProxy = C93CF96B17B252C800C33271 /* PBXContainerItemProxy */;
444
+ };
445
+ /* End PBXTargetDependency section */
446
+
447
+ /* Begin XCBuildConfiguration section */
448
+ C911D66316C3C62A004D8F4B /* Debug */ = {
449
+ isa = XCBuildConfiguration;
450
+ baseConfigurationReference = C969682416CA1C8800F1C1FD /* debug.xcconfig */;
451
+ buildSettings = {
452
+ };
453
+ name = Debug;
454
+ };
455
+ C911D66416C3C62A004D8F4B /* Release */ = {
456
+ isa = XCBuildConfiguration;
457
+ baseConfigurationReference = C969682516CA1C8800F1C1FD /* release.xcconfig */;
458
+ buildSettings = {
459
+ };
460
+ name = Release;
461
+ };
462
+ C911D66616C3C62A004D8F4B /* Debug */ = {
463
+ isa = XCBuildConfiguration;
464
+ baseConfigurationReference = C969682316CA1C8800F1C1FD /* test-loader.xcconfig */;
465
+ buildSettings = {
466
+ };
467
+ name = Debug;
468
+ };
469
+ C911D66716C3C62A004D8F4B /* Release */ = {
470
+ isa = XCBuildConfiguration;
471
+ baseConfigurationReference = C969682316CA1C8800F1C1FD /* test-loader.xcconfig */;
472
+ buildSettings = {
473
+ };
474
+ name = Release;
475
+ };
476
+ C911D66916C3C62A004D8F4B /* Debug */ = {
477
+ isa = XCBuildConfiguration;
478
+ baseConfigurationReference = C969682716CA1C8800F1C1FD /* unit-tests.xcconfig */;
479
+ buildSettings = {
480
+ };
481
+ name = Debug;
482
+ };
483
+ C911D66A16C3C62A004D8F4B /* Release */ = {
484
+ isa = XCBuildConfiguration;
485
+ baseConfigurationReference = C969682716CA1C8800F1C1FD /* unit-tests.xcconfig */;
486
+ buildSettings = {
487
+ };
488
+ name = Release;
489
+ };
490
+ C91FD36117B24BE500750EF9 /* Debug */ = {
491
+ isa = XCBuildConfiguration;
492
+ baseConfigurationReference = C930F0B217B2486000EAB245 /* lib.xcconfig */;
493
+ buildSettings = {
494
+ };
495
+ name = Debug;
496
+ };
497
+ C91FD36217B24BE500750EF9 /* Release */ = {
498
+ isa = XCBuildConfiguration;
499
+ baseConfigurationReference = C930F0B217B2486000EAB245 /* lib.xcconfig */;
500
+ buildSettings = {
501
+ };
502
+ name = Release;
503
+ };
504
+ /* End XCBuildConfiguration section */
505
+
506
+ /* Begin XCConfigurationList section */
507
+ C911D62E16C3C62A004D8F4B /* Build configuration list for PBXProject "static-lib" */ = {
508
+ isa = XCConfigurationList;
509
+ buildConfigurations = (
510
+ C911D66316C3C62A004D8F4B /* Debug */,
511
+ C911D66416C3C62A004D8F4B /* Release */,
512
+ );
513
+ defaultConfigurationIsVisible = 0;
514
+ defaultConfigurationName = Debug;
515
+ };
516
+ C911D66516C3C62A004D8F4B /* Build configuration list for PBXNativeTarget "test-loader" */ = {
517
+ isa = XCConfigurationList;
518
+ buildConfigurations = (
519
+ C911D66616C3C62A004D8F4B /* Debug */,
520
+ C911D66716C3C62A004D8F4B /* Release */,
521
+ );
522
+ defaultConfigurationIsVisible = 0;
523
+ defaultConfigurationName = Debug;
524
+ };
525
+ C911D66816C3C62A004D8F4B /* Build configuration list for PBXNativeTarget "unit-tests" */ = {
526
+ isa = XCConfigurationList;
527
+ buildConfigurations = (
528
+ C911D66916C3C62A004D8F4B /* Debug */,
529
+ C911D66A16C3C62A004D8F4B /* Release */,
530
+ );
531
+ defaultConfigurationIsVisible = 0;
532
+ defaultConfigurationName = Debug;
533
+ };
534
+ C91FD36017B24BE500750EF9 /* Build configuration list for PBXNativeTarget "static-lib" */ = {
535
+ isa = XCConfigurationList;
536
+ buildConfigurations = (
537
+ C91FD36117B24BE500750EF9 /* Debug */,
538
+ C91FD36217B24BE500750EF9 /* Release */,
539
+ );
540
+ defaultConfigurationIsVisible = 0;
541
+ defaultConfigurationName = Debug;
542
+ };
543
+ /* End XCConfigurationList section */
544
+ };
545
+ rootObject = C911D62B16C3C62A004D8F4B /* Project object */;
546
+ }
@@ -0,0 +1,97 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <Scheme
3
+ LastUpgradeVersion = "0460"
4
+ version = "1.3">
5
+ <BuildAction
6
+ parallelizeBuildables = "YES"
7
+ buildImplicitDependencies = "YES">
8
+ <BuildActionEntries>
9
+ <BuildActionEntry
10
+ buildForTesting = "YES"
11
+ buildForRunning = "YES"
12
+ buildForProfiling = "YES"
13
+ buildForArchiving = "YES"
14
+ buildForAnalyzing = "YES">
15
+ <BuildableReference
16
+ BuildableIdentifier = "primary"
17
+ BlueprintIdentifier = "C91FD35617B24BE500750EF9"
18
+ BuildableName = "libstatic-lib.a"
19
+ BlueprintName = "static-lib"
20
+ ReferencedContainer = "container:static-lib.xcodeproj">
21
+ </BuildableReference>
22
+ </BuildActionEntry>
23
+ <BuildActionEntry
24
+ buildForTesting = "YES"
25
+ buildForRunning = "NO"
26
+ buildForProfiling = "NO"
27
+ buildForArchiving = "NO"
28
+ buildForAnalyzing = "YES">
29
+ <BuildableReference
30
+ BuildableIdentifier = "primary"
31
+ BlueprintIdentifier = "C911D65216C3C62A004D8F4B"
32
+ BuildableName = "unit-tests.octest"
33
+ BlueprintName = "unit-tests"
34
+ ReferencedContainer = "container:static-lib.xcodeproj">
35
+ </BuildableReference>
36
+ </BuildActionEntry>
37
+ <BuildActionEntry
38
+ buildForTesting = "YES"
39
+ buildForRunning = "NO"
40
+ buildForProfiling = "NO"
41
+ buildForArchiving = "NO"
42
+ buildForAnalyzing = "YES">
43
+ <BuildableReference
44
+ BuildableIdentifier = "primary"
45
+ BlueprintIdentifier = "C911D63216C3C62A004D8F4B"
46
+ BuildableName = "test-loader.app"
47
+ BlueprintName = "test-loader"
48
+ ReferencedContainer = "container:static-lib.xcodeproj">
49
+ </BuildableReference>
50
+ </BuildActionEntry>
51
+ </BuildActionEntries>
52
+ </BuildAction>
53
+ <TestAction
54
+ selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
55
+ selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
56
+ shouldUseLaunchSchemeArgsEnv = "YES"
57
+ buildConfiguration = "Debug">
58
+ <Testables>
59
+ <TestableReference
60
+ skipped = "NO">
61
+ <BuildableReference
62
+ BuildableIdentifier = "primary"
63
+ BlueprintIdentifier = "C911D65216C3C62A004D8F4B"
64
+ BuildableName = "unit-tests.octest"
65
+ BlueprintName = "unit-tests"
66
+ ReferencedContainer = "container:static-lib.xcodeproj">
67
+ </BuildableReference>
68
+ </TestableReference>
69
+ </Testables>
70
+ </TestAction>
71
+ <LaunchAction
72
+ selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
73
+ selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
74
+ launchStyle = "0"
75
+ useCustomWorkingDirectory = "NO"
76
+ buildConfiguration = "Debug"
77
+ ignoresPersistentStateOnLaunch = "NO"
78
+ debugDocumentVersioning = "YES"
79
+ allowLocationSimulation = "YES">
80
+ <AdditionalOptions>
81
+ </AdditionalOptions>
82
+ </LaunchAction>
83
+ <ProfileAction
84
+ shouldUseLaunchSchemeArgsEnv = "YES"
85
+ savedToolIdentifier = ""
86
+ useCustomWorkingDirectory = "NO"
87
+ buildConfiguration = "Release"
88
+ debugDocumentVersioning = "YES">
89
+ </ProfileAction>
90
+ <AnalyzeAction
91
+ buildConfiguration = "Debug">
92
+ </AnalyzeAction>
93
+ <ArchiveAction
94
+ buildConfiguration = "Release"
95
+ revealArchiveInOrganizer = "YES">
96
+ </ArchiveAction>
97
+ </Scheme>
@@ -0,0 +1,34 @@
1
+ #import "Kiwi.h"
2
+ #import "ObjectiveSugar.h"
3
+ #import "MyFirstLibObject.h"
4
+
5
+ SPEC_BEGIN(ExampleSpec)
6
+
7
+ describe(@"an object from the static library", ^{
8
+
9
+ __block MyFirstLibObject *item;
10
+
11
+ beforeEach(^{
12
+ item = [[MyFirstLibObject alloc] init];
13
+ });
14
+
15
+ context(@"when initialised", ^{
16
+ it(@"should have been created", ^{
17
+ [item shouldNotBeNil];
18
+ });
19
+
20
+ it(@"should get the name", ^{
21
+ [[[item name] should] equal:@"my-first-lib-object"];
22
+ });
23
+ });
24
+
25
+ it(@"should be able to use objective sugar", ^{
26
+ NSArray *mapped = [@[@1, @2, @3] map:^id(id element) {
27
+ return [element stringValue];
28
+ }];
29
+ [[mapped should] equal:@[@"1", @"2", @"3"]];
30
+ });
31
+ });
32
+
33
+ SPEC_END
34
+