cocoapods-packager-next 2.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (78) hide show
  1. checksums.yaml +7 -0
  2. data/.coveralls.yml +1 -0
  3. data/.gitignore +4 -0
  4. data/.rubocop-cocoapods.yml +71 -0
  5. data/.rubocop.yml +38 -0
  6. data/.travis.yml +17 -0
  7. data/Gemfile +12 -0
  8. data/Gemfile.lock +129 -0
  9. data/LICENSE +22 -0
  10. data/README.md +39 -0
  11. data/Rakefile +29 -0
  12. data/cocoapods-packager-next.gemspec +22 -0
  13. data/lib/cocoapods-packager/builder.rb +334 -0
  14. data/lib/cocoapods-packager/framework.rb +66 -0
  15. data/lib/cocoapods-packager/mangle.rb +32 -0
  16. data/lib/cocoapods-packager/pod_utils.rb +250 -0
  17. data/lib/cocoapods-packager/spec_builder.rb +63 -0
  18. data/lib/cocoapods-packager/symbols.rb +42 -0
  19. data/lib/cocoapods-packager/user_interface/build_failed_report.rb +15 -0
  20. data/lib/cocoapods_packager.rb +5 -0
  21. data/lib/cocoapods_plugin.rb +8 -0
  22. data/lib/pod/command/package.rb +177 -0
  23. data/scripts/lstconst.sh +9 -0
  24. data/scripts/lstsym.sh +8 -0
  25. data/spec/command/error_spec.rb +81 -0
  26. data/spec/command/package_spec.rb +420 -0
  27. data/spec/command/subspecs_spec.rb +30 -0
  28. data/spec/fixtures/Archs.podspec +13 -0
  29. data/spec/fixtures/Builder.podspec +25 -0
  30. data/spec/fixtures/CPDColors.podspec +19 -0
  31. data/spec/fixtures/FH.podspec +18 -0
  32. data/spec/fixtures/KFData.podspec +73 -0
  33. data/spec/fixtures/LibraryConsumerDemo/.gitignore +22 -0
  34. data/spec/fixtures/LibraryConsumerDemo/LibraryConsumer/AppDelegate.h +17 -0
  35. data/spec/fixtures/LibraryConsumerDemo/LibraryConsumer/AppDelegate.m +27 -0
  36. data/spec/fixtures/LibraryConsumerDemo/LibraryConsumer/Info.plist +40 -0
  37. data/spec/fixtures/LibraryConsumerDemo/LibraryConsumer/main.m +16 -0
  38. data/spec/fixtures/LibraryConsumerDemo/LibraryConsumer.xcodeproj/project.pbxproj +311 -0
  39. data/spec/fixtures/LibraryConsumerDemo/LibraryConsumer.xcodeproj/project.xcworkspace/contents.xcworkspacedata +7 -0
  40. data/spec/fixtures/LibraryConsumerDemo/LibraryConsumer.xcodeproj/xcshareddata/xcschemes/LibraryConsumer.xcscheme +100 -0
  41. data/spec/fixtures/LibraryConsumerDemo/LibraryConsumer.xcworkspace/contents.xcworkspacedata +10 -0
  42. data/spec/fixtures/LibraryConsumerDemo/Podfile +5 -0
  43. data/spec/fixtures/LibraryDemo.podspec +14 -0
  44. data/spec/fixtures/LocalSources/LICENSE +0 -0
  45. data/spec/fixtures/LocalSources/LocalNikeKit.h +4 -0
  46. data/spec/fixtures/LocalSources/LocalNikeKit.m +9 -0
  47. data/spec/fixtures/LocalSources/LocalNikeKit.podspec +19 -0
  48. data/spec/fixtures/NikeKit.podspec +19 -0
  49. data/spec/fixtures/OpenSans.podspec +18 -0
  50. data/spec/fixtures/PackagerTest/.gitignore +21 -0
  51. data/spec/fixtures/PackagerTest/PackagerTest/CPDAppDelegate.h +15 -0
  52. data/spec/fixtures/PackagerTest/PackagerTest/CPDAppDelegate.m +49 -0
  53. data/spec/fixtures/PackagerTest/PackagerTest/Images.xcassets/AppIcon.appiconset/Contents.json +23 -0
  54. data/spec/fixtures/PackagerTest/PackagerTest/Images.xcassets/LaunchImage.launchimage/Contents.json +23 -0
  55. data/spec/fixtures/PackagerTest/PackagerTest/PackagerTest-Info.plist +38 -0
  56. data/spec/fixtures/PackagerTest/PackagerTest/PackagerTest-Prefix.pch +16 -0
  57. data/spec/fixtures/PackagerTest/PackagerTest/en.lproj/InfoPlist.strings +2 -0
  58. data/spec/fixtures/PackagerTest/PackagerTest/main.m +18 -0
  59. data/spec/fixtures/PackagerTest/PackagerTest.xcodeproj/project.pbxproj +507 -0
  60. data/spec/fixtures/PackagerTest/PackagerTest.xcodeproj/project.xcworkspace/contents.xcworkspacedata +7 -0
  61. data/spec/fixtures/PackagerTest/PackagerTest.xcodeproj/xcshareddata/xcschemes/PackagerTest.xcscheme +110 -0
  62. data/spec/fixtures/PackagerTest/PackagerTest.xcworkspace/contents.xcworkspacedata +1 -0
  63. data/spec/fixtures/PackagerTest/PackagerTestTests/PackagerTestTests-Info.plist +22 -0
  64. data/spec/fixtures/PackagerTest/PackagerTestTests/PackagerTestTests.m +34 -0
  65. data/spec/fixtures/PackagerTest/PackagerTestTests/en.lproj/InfoPlist.strings +2 -0
  66. data/spec/fixtures/PackagerTest/Podfile +10 -0
  67. data/spec/fixtures/PackagerTest/Podfile.lock +36 -0
  68. data/spec/fixtures/Weakly.podspec +13 -0
  69. data/spec/fixtures/a.podspec +19 -0
  70. data/spec/fixtures/foo-bar.podspec +19 -0
  71. data/spec/fixtures/layer-client-messaging-schema.podspec +13 -0
  72. data/spec/integration/project_spec.rb +70 -0
  73. data/spec/spec_helper.rb +79 -0
  74. data/spec/unit/pod/utils_spec.rb +58 -0
  75. data/spec/unit/specification/builder_spec.rb +62 -0
  76. data/spec/unit/specification/spec_builder_spec.rb +61 -0
  77. data/spec/unit/user_interface/build_failed_report_spec.rb +11 -0
  78. metadata +223 -0
@@ -0,0 +1,40 @@
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>dk.shape.$(PRODUCT_NAME:rfc1034identifier)</string>
11
+ <key>CFBundleInfoDictionaryVersion</key>
12
+ <string>6.0</string>
13
+ <key>CFBundleName</key>
14
+ <string>$(PRODUCT_NAME)</string>
15
+ <key>CFBundlePackageType</key>
16
+ <string>APPL</string>
17
+ <key>CFBundleShortVersionString</key>
18
+ <string>1.0</string>
19
+ <key>CFBundleSignature</key>
20
+ <string>????</string>
21
+ <key>CFBundleVersion</key>
22
+ <string>1</string>
23
+ <key>LSRequiresIPhoneOS</key>
24
+ <true/>
25
+ <key>UILaunchStoryboardName</key>
26
+ <string>LaunchScreen</string>
27
+ <key>UIMainStoryboardFile</key>
28
+ <string>Main</string>
29
+ <key>UIRequiredDeviceCapabilities</key>
30
+ <array>
31
+ <string>armv7</string>
32
+ </array>
33
+ <key>UISupportedInterfaceOrientations</key>
34
+ <array>
35
+ <string>UIInterfaceOrientationPortrait</string>
36
+ <string>UIInterfaceOrientationLandscapeLeft</string>
37
+ <string>UIInterfaceOrientationLandscapeRight</string>
38
+ </array>
39
+ </dict>
40
+ </plist>
@@ -0,0 +1,16 @@
1
+ //
2
+ // main.m
3
+ // LibraryConsumer
4
+ //
5
+ // Created by Ole Gammelgaard Poulsen on 16/10/14.
6
+ // Copyright (c) 2014 Shape A/S. All rights reserved.
7
+ //
8
+
9
+ #import <UIKit/UIKit.h>
10
+ #import "AppDelegate.h"
11
+
12
+ int main(int argc, char * argv[]) {
13
+ @autoreleasepool {
14
+ return UIApplicationMain(argc, argv, nil, NSStringFromClass([AppDelegate class]));
15
+ }
16
+ }
@@ -0,0 +1,311 @@
1
+ // !$*UTF8*$!
2
+ {
3
+ archiveVersion = 1;
4
+ classes = {
5
+ };
6
+ objectVersion = 46;
7
+ objects = {
8
+
9
+ /* Begin PBXBuildFile section */
10
+ 7CE4CCEF5BF27FD4FBB972EB /* libPods-LibraryConsumer.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 34AD1A407B865D05B65A5301 /* libPods-LibraryConsumer.a */; };
11
+ 9B89D2E019EFC04D00803D42 /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 9B89D2DF19EFC04D00803D42 /* main.m */; };
12
+ 9B89D2E319EFC04D00803D42 /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 9B89D2E219EFC04D00803D42 /* AppDelegate.m */; };
13
+ /* End PBXBuildFile section */
14
+
15
+ /* Begin PBXFileReference section */
16
+ 0AA277EF1097393AE42174B8 /* Pods-LibraryConsumer.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-LibraryConsumer.release.xcconfig"; path = "Pods/Target Support Files/Pods-LibraryConsumer/Pods-LibraryConsumer.release.xcconfig"; sourceTree = "<group>"; };
17
+ 34AD1A407B865D05B65A5301 /* libPods-LibraryConsumer.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-LibraryConsumer.a"; sourceTree = BUILT_PRODUCTS_DIR; };
18
+ 4A66E303CCF429F9D7C502D1 /* Pods-LibraryConsumer.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-LibraryConsumer.debug.xcconfig"; path = "Pods/Target Support Files/Pods-LibraryConsumer/Pods-LibraryConsumer.debug.xcconfig"; sourceTree = "<group>"; };
19
+ 9B89D2DA19EFC04D00803D42 /* LibraryConsumer.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = LibraryConsumer.app; sourceTree = BUILT_PRODUCTS_DIR; };
20
+ 9B89D2DE19EFC04D00803D42 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
21
+ 9B89D2DF19EFC04D00803D42 /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = "<group>"; };
22
+ 9B89D2E119EFC04D00803D42 /* AppDelegate.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = AppDelegate.h; sourceTree = "<group>"; };
23
+ 9B89D2E219EFC04D00803D42 /* AppDelegate.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = AppDelegate.m; sourceTree = "<group>"; };
24
+ /* End PBXFileReference section */
25
+
26
+ /* Begin PBXFrameworksBuildPhase section */
27
+ 9B89D2D719EFC04D00803D42 /* Frameworks */ = {
28
+ isa = PBXFrameworksBuildPhase;
29
+ buildActionMask = 2147483647;
30
+ files = (
31
+ 7CE4CCEF5BF27FD4FBB972EB /* libPods-LibraryConsumer.a in Frameworks */,
32
+ );
33
+ runOnlyForDeploymentPostprocessing = 0;
34
+ };
35
+ /* End PBXFrameworksBuildPhase section */
36
+
37
+ /* Begin PBXGroup section */
38
+ 1CFA5E012476526B947AF945 /* Frameworks */ = {
39
+ isa = PBXGroup;
40
+ children = (
41
+ 34AD1A407B865D05B65A5301 /* libPods-LibraryConsumer.a */,
42
+ );
43
+ name = Frameworks;
44
+ sourceTree = "<group>";
45
+ };
46
+ 6DC8E89A3E645F7841B27894 /* Pods */ = {
47
+ isa = PBXGroup;
48
+ children = (
49
+ 4A66E303CCF429F9D7C502D1 /* Pods-LibraryConsumer.debug.xcconfig */,
50
+ 0AA277EF1097393AE42174B8 /* Pods-LibraryConsumer.release.xcconfig */,
51
+ );
52
+ name = Pods;
53
+ sourceTree = "<group>";
54
+ };
55
+ 9B89D2D119EFC04D00803D42 = {
56
+ isa = PBXGroup;
57
+ children = (
58
+ 9B89D2DC19EFC04D00803D42 /* LibraryConsumer */,
59
+ 9B89D2DB19EFC04D00803D42 /* Products */,
60
+ 6DC8E89A3E645F7841B27894 /* Pods */,
61
+ 1CFA5E012476526B947AF945 /* Frameworks */,
62
+ );
63
+ sourceTree = "<group>";
64
+ };
65
+ 9B89D2DB19EFC04D00803D42 /* Products */ = {
66
+ isa = PBXGroup;
67
+ children = (
68
+ 9B89D2DA19EFC04D00803D42 /* LibraryConsumer.app */,
69
+ );
70
+ name = Products;
71
+ sourceTree = "<group>";
72
+ };
73
+ 9B89D2DC19EFC04D00803D42 /* LibraryConsumer */ = {
74
+ isa = PBXGroup;
75
+ children = (
76
+ 9B89D2E119EFC04D00803D42 /* AppDelegate.h */,
77
+ 9B89D2E219EFC04D00803D42 /* AppDelegate.m */,
78
+ 9B89D2DD19EFC04D00803D42 /* Supporting Files */,
79
+ );
80
+ path = LibraryConsumer;
81
+ sourceTree = "<group>";
82
+ };
83
+ 9B89D2DD19EFC04D00803D42 /* Supporting Files */ = {
84
+ isa = PBXGroup;
85
+ children = (
86
+ 9B89D2DE19EFC04D00803D42 /* Info.plist */,
87
+ 9B89D2DF19EFC04D00803D42 /* main.m */,
88
+ );
89
+ name = "Supporting Files";
90
+ sourceTree = "<group>";
91
+ };
92
+ /* End PBXGroup section */
93
+
94
+ /* Begin PBXNativeTarget section */
95
+ 9B89D2D919EFC04D00803D42 /* LibraryConsumer */ = {
96
+ isa = PBXNativeTarget;
97
+ buildConfigurationList = 9B89D2FD19EFC04D00803D42 /* Build configuration list for PBXNativeTarget "LibraryConsumer" */;
98
+ buildPhases = (
99
+ 170A030C4EB518D9349852B9 /* [CP] Check Pods Manifest.lock */,
100
+ 9B89D2D619EFC04D00803D42 /* Sources */,
101
+ 9B89D2D719EFC04D00803D42 /* Frameworks */,
102
+ 9B89D2D819EFC04D00803D42 /* Resources */,
103
+ );
104
+ buildRules = (
105
+ );
106
+ dependencies = (
107
+ );
108
+ name = LibraryConsumer;
109
+ productName = LibraryConsumer;
110
+ productReference = 9B89D2DA19EFC04D00803D42 /* LibraryConsumer.app */;
111
+ productType = "com.apple.product-type.application";
112
+ };
113
+ /* End PBXNativeTarget section */
114
+
115
+ /* Begin PBXProject section */
116
+ 9B89D2D219EFC04D00803D42 /* Project object */ = {
117
+ isa = PBXProject;
118
+ attributes = {
119
+ LastUpgradeCheck = 0600;
120
+ ORGANIZATIONNAME = "Shape A/S";
121
+ TargetAttributes = {
122
+ 9B89D2D919EFC04D00803D42 = {
123
+ CreatedOnToolsVersion = 6.0.1;
124
+ };
125
+ };
126
+ };
127
+ buildConfigurationList = 9B89D2D519EFC04D00803D42 /* Build configuration list for PBXProject "LibraryConsumer" */;
128
+ compatibilityVersion = "Xcode 3.2";
129
+ developmentRegion = English;
130
+ hasScannedForEncodings = 0;
131
+ knownRegions = (
132
+ en,
133
+ Base,
134
+ );
135
+ mainGroup = 9B89D2D119EFC04D00803D42;
136
+ productRefGroup = 9B89D2DB19EFC04D00803D42 /* Products */;
137
+ projectDirPath = "";
138
+ projectRoot = "";
139
+ targets = (
140
+ 9B89D2D919EFC04D00803D42 /* LibraryConsumer */,
141
+ );
142
+ };
143
+ /* End PBXProject section */
144
+
145
+ /* Begin PBXResourcesBuildPhase section */
146
+ 9B89D2D819EFC04D00803D42 /* Resources */ = {
147
+ isa = PBXResourcesBuildPhase;
148
+ buildActionMask = 2147483647;
149
+ files = (
150
+ );
151
+ runOnlyForDeploymentPostprocessing = 0;
152
+ };
153
+ /* End PBXResourcesBuildPhase section */
154
+
155
+ /* Begin PBXShellScriptBuildPhase section */
156
+ 170A030C4EB518D9349852B9 /* [CP] Check Pods Manifest.lock */ = {
157
+ isa = PBXShellScriptBuildPhase;
158
+ buildActionMask = 2147483647;
159
+ files = (
160
+ );
161
+ inputPaths = (
162
+ "${PODS_PODFILE_DIR_PATH}/Podfile.lock",
163
+ "${PODS_ROOT}/Manifest.lock",
164
+ );
165
+ name = "[CP] Check Pods Manifest.lock";
166
+ outputPaths = (
167
+ "$(DERIVED_FILE_DIR)/Pods-LibraryConsumer-checkManifestLockResult.txt",
168
+ );
169
+ runOnlyForDeploymentPostprocessing = 0;
170
+ shellPath = /bin/sh;
171
+ shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n";
172
+ showEnvVarsInLog = 0;
173
+ };
174
+ /* End PBXShellScriptBuildPhase section */
175
+
176
+ /* Begin PBXSourcesBuildPhase section */
177
+ 9B89D2D619EFC04D00803D42 /* Sources */ = {
178
+ isa = PBXSourcesBuildPhase;
179
+ buildActionMask = 2147483647;
180
+ files = (
181
+ 9B89D2E319EFC04D00803D42 /* AppDelegate.m in Sources */,
182
+ 9B89D2E019EFC04D00803D42 /* main.m in Sources */,
183
+ );
184
+ runOnlyForDeploymentPostprocessing = 0;
185
+ };
186
+ /* End PBXSourcesBuildPhase section */
187
+
188
+ /* Begin XCBuildConfiguration section */
189
+ 9B89D2FB19EFC04D00803D42 /* Debug */ = {
190
+ isa = XCBuildConfiguration;
191
+ buildSettings = {
192
+ ALWAYS_SEARCH_USER_PATHS = NO;
193
+ CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
194
+ CLANG_CXX_LIBRARY = "libc++";
195
+ CLANG_ENABLE_MODULES = YES;
196
+ CLANG_ENABLE_OBJC_ARC = YES;
197
+ CLANG_WARN_BOOL_CONVERSION = YES;
198
+ CLANG_WARN_CONSTANT_CONVERSION = YES;
199
+ CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
200
+ CLANG_WARN_EMPTY_BODY = YES;
201
+ CLANG_WARN_ENUM_CONVERSION = YES;
202
+ CLANG_WARN_INT_CONVERSION = YES;
203
+ CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
204
+ CLANG_WARN_UNREACHABLE_CODE = YES;
205
+ CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
206
+ "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
207
+ COPY_PHASE_STRIP = NO;
208
+ ENABLE_STRICT_OBJC_MSGSEND = YES;
209
+ GCC_C_LANGUAGE_STANDARD = gnu99;
210
+ GCC_DYNAMIC_NO_PIC = NO;
211
+ GCC_OPTIMIZATION_LEVEL = 0;
212
+ GCC_PREPROCESSOR_DEFINITIONS = (
213
+ "DEBUG=1",
214
+ "$(inherited)",
215
+ );
216
+ GCC_SYMBOLS_PRIVATE_EXTERN = NO;
217
+ GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
218
+ GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
219
+ GCC_WARN_UNDECLARED_SELECTOR = YES;
220
+ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
221
+ GCC_WARN_UNUSED_FUNCTION = YES;
222
+ GCC_WARN_UNUSED_VARIABLE = YES;
223
+ IPHONEOS_DEPLOYMENT_TARGET = 8.0;
224
+ MTL_ENABLE_DEBUG_INFO = YES;
225
+ ONLY_ACTIVE_ARCH = YES;
226
+ SDKROOT = iphoneos;
227
+ };
228
+ name = Debug;
229
+ };
230
+ 9B89D2FC19EFC04D00803D42 /* Release */ = {
231
+ isa = XCBuildConfiguration;
232
+ buildSettings = {
233
+ ALWAYS_SEARCH_USER_PATHS = NO;
234
+ CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
235
+ CLANG_CXX_LIBRARY = "libc++";
236
+ CLANG_ENABLE_MODULES = YES;
237
+ CLANG_ENABLE_OBJC_ARC = YES;
238
+ CLANG_WARN_BOOL_CONVERSION = YES;
239
+ CLANG_WARN_CONSTANT_CONVERSION = YES;
240
+ CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
241
+ CLANG_WARN_EMPTY_BODY = YES;
242
+ CLANG_WARN_ENUM_CONVERSION = YES;
243
+ CLANG_WARN_INT_CONVERSION = YES;
244
+ CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
245
+ CLANG_WARN_UNREACHABLE_CODE = YES;
246
+ CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
247
+ "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
248
+ COPY_PHASE_STRIP = YES;
249
+ ENABLE_NS_ASSERTIONS = NO;
250
+ ENABLE_STRICT_OBJC_MSGSEND = YES;
251
+ GCC_C_LANGUAGE_STANDARD = gnu99;
252
+ GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
253
+ GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
254
+ GCC_WARN_UNDECLARED_SELECTOR = YES;
255
+ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
256
+ GCC_WARN_UNUSED_FUNCTION = YES;
257
+ GCC_WARN_UNUSED_VARIABLE = YES;
258
+ IPHONEOS_DEPLOYMENT_TARGET = 8.0;
259
+ MTL_ENABLE_DEBUG_INFO = NO;
260
+ SDKROOT = iphoneos;
261
+ VALIDATE_PRODUCT = YES;
262
+ };
263
+ name = Release;
264
+ };
265
+ 9B89D2FE19EFC04D00803D42 /* Debug */ = {
266
+ isa = XCBuildConfiguration;
267
+ baseConfigurationReference = 4A66E303CCF429F9D7C502D1 /* Pods-LibraryConsumer.debug.xcconfig */;
268
+ buildSettings = {
269
+ ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
270
+ INFOPLIST_FILE = LibraryConsumer/Info.plist;
271
+ LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
272
+ PRODUCT_NAME = "$(TARGET_NAME)";
273
+ };
274
+ name = Debug;
275
+ };
276
+ 9B89D2FF19EFC04D00803D42 /* Release */ = {
277
+ isa = XCBuildConfiguration;
278
+ baseConfigurationReference = 0AA277EF1097393AE42174B8 /* Pods-LibraryConsumer.release.xcconfig */;
279
+ buildSettings = {
280
+ ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
281
+ INFOPLIST_FILE = LibraryConsumer/Info.plist;
282
+ LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
283
+ PRODUCT_NAME = "$(TARGET_NAME)";
284
+ };
285
+ name = Release;
286
+ };
287
+ /* End XCBuildConfiguration section */
288
+
289
+ /* Begin XCConfigurationList section */
290
+ 9B89D2D519EFC04D00803D42 /* Build configuration list for PBXProject "LibraryConsumer" */ = {
291
+ isa = XCConfigurationList;
292
+ buildConfigurations = (
293
+ 9B89D2FB19EFC04D00803D42 /* Debug */,
294
+ 9B89D2FC19EFC04D00803D42 /* Release */,
295
+ );
296
+ defaultConfigurationIsVisible = 0;
297
+ defaultConfigurationName = Release;
298
+ };
299
+ 9B89D2FD19EFC04D00803D42 /* Build configuration list for PBXNativeTarget "LibraryConsumer" */ = {
300
+ isa = XCConfigurationList;
301
+ buildConfigurations = (
302
+ 9B89D2FE19EFC04D00803D42 /* Debug */,
303
+ 9B89D2FF19EFC04D00803D42 /* Release */,
304
+ );
305
+ defaultConfigurationIsVisible = 0;
306
+ defaultConfigurationName = Release;
307
+ };
308
+ /* End XCConfigurationList section */
309
+ };
310
+ rootObject = 9B89D2D219EFC04D00803D42 /* Project object */;
311
+ }
@@ -0,0 +1,7 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <Workspace
3
+ version = "1.0">
4
+ <FileRef
5
+ location = "self:LibraryConsumer.xcodeproj">
6
+ </FileRef>
7
+ </Workspace>
@@ -0,0 +1,100 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <Scheme
3
+ LastUpgradeVersion = "0600"
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 = "9B89D2D919EFC04D00803D42"
18
+ BuildableName = "LibraryConsumer.app"
19
+ BlueprintName = "LibraryConsumer"
20
+ ReferencedContainer = "container:LibraryConsumer.xcodeproj">
21
+ </BuildableReference>
22
+ </BuildActionEntry>
23
+ <BuildActionEntry
24
+ buildForTesting = "YES"
25
+ buildForRunning = "YES"
26
+ buildForProfiling = "NO"
27
+ buildForArchiving = "NO"
28
+ buildForAnalyzing = "YES">
29
+ <BuildableReference
30
+ BuildableIdentifier = "primary"
31
+ BlueprintIdentifier = "9B89D2F219EFC04D00803D42"
32
+ BuildableName = "LibraryConsumerTests.xctest"
33
+ BlueprintName = "LibraryConsumerTests"
34
+ ReferencedContainer = "container:LibraryConsumer.xcodeproj">
35
+ </BuildableReference>
36
+ </BuildActionEntry>
37
+ </BuildActionEntries>
38
+ </BuildAction>
39
+ <TestAction
40
+ selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
41
+ selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
42
+ shouldUseLaunchSchemeArgsEnv = "YES"
43
+ buildConfiguration = "Debug">
44
+ <Testables>
45
+ </Testables>
46
+ <MacroExpansion>
47
+ <BuildableReference
48
+ BuildableIdentifier = "primary"
49
+ BlueprintIdentifier = "9B89D2D919EFC04D00803D42"
50
+ BuildableName = "LibraryConsumer.app"
51
+ BlueprintName = "LibraryConsumer"
52
+ ReferencedContainer = "container:LibraryConsumer.xcodeproj">
53
+ </BuildableReference>
54
+ </MacroExpansion>
55
+ </TestAction>
56
+ <LaunchAction
57
+ selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
58
+ selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
59
+ launchStyle = "0"
60
+ useCustomWorkingDirectory = "NO"
61
+ buildConfiguration = "Debug"
62
+ ignoresPersistentStateOnLaunch = "NO"
63
+ debugDocumentVersioning = "YES"
64
+ allowLocationSimulation = "YES">
65
+ <BuildableProductRunnable>
66
+ <BuildableReference
67
+ BuildableIdentifier = "primary"
68
+ BlueprintIdentifier = "9B89D2D919EFC04D00803D42"
69
+ BuildableName = "LibraryConsumer.app"
70
+ BlueprintName = "LibraryConsumer"
71
+ ReferencedContainer = "container:LibraryConsumer.xcodeproj">
72
+ </BuildableReference>
73
+ </BuildableProductRunnable>
74
+ <AdditionalOptions>
75
+ </AdditionalOptions>
76
+ </LaunchAction>
77
+ <ProfileAction
78
+ shouldUseLaunchSchemeArgsEnv = "YES"
79
+ savedToolIdentifier = ""
80
+ useCustomWorkingDirectory = "NO"
81
+ buildConfiguration = "Release"
82
+ debugDocumentVersioning = "YES">
83
+ <BuildableProductRunnable>
84
+ <BuildableReference
85
+ BuildableIdentifier = "primary"
86
+ BlueprintIdentifier = "9B89D2D919EFC04D00803D42"
87
+ BuildableName = "LibraryConsumer.app"
88
+ BlueprintName = "LibraryConsumer"
89
+ ReferencedContainer = "container:LibraryConsumer.xcodeproj">
90
+ </BuildableReference>
91
+ </BuildableProductRunnable>
92
+ </ProfileAction>
93
+ <AnalyzeAction
94
+ buildConfiguration = "Debug">
95
+ </AnalyzeAction>
96
+ <ArchiveAction
97
+ buildConfiguration = "Release"
98
+ revealArchiveInOrganizer = "YES">
99
+ </ArchiveAction>
100
+ </Scheme>
@@ -0,0 +1,10 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <Workspace
3
+ version = "1.0">
4
+ <FileRef
5
+ location = "group:LibraryConsumer.xcodeproj">
6
+ </FileRef>
7
+ <FileRef
8
+ location = "group:Pods/Pods.xcodeproj">
9
+ </FileRef>
10
+ </Workspace>
@@ -0,0 +1,5 @@
1
+ target 'LibraryConsumer' do
2
+
3
+ pod 'LibraryDemo', :path => '../../../LibraryDemo-1.0.0'
4
+
5
+ end
@@ -0,0 +1,14 @@
1
+ Pod::Spec.new do |s|
2
+ s.name = 'LibraryDemo'
3
+ s.version = '1.0.0'
4
+ s.summary = 'Demo'
5
+ s.author = {'Ole Gammelgaard Poulsen' => 'ole@shape.dk' }
6
+ s.source = { :git => 'https://github.com/olegam/LibraryDemo.git', :tag => s.version.to_s }
7
+ s.source_files = 'sources/**/*.{h,m}'
8
+ s.requires_arc = true
9
+ s.ios.deployment_target = '6.0'
10
+ s.osx.deployment_target = '10.9'
11
+
12
+ s.license = 'GPL' # :trollface:
13
+ s.homepage = 'https://www.youtube.com/watch?v=32UGD0fV45g'
14
+ end
File without changes
@@ -0,0 +1,4 @@
1
+ #import <Foundation/Foundation.h>
2
+
3
+ @interface LocalNikeKit : NSObject
4
+ @end
@@ -0,0 +1,9 @@
1
+ #import "LocalNikeKit.h"
2
+
3
+ @implementation LocalNikeKit
4
+
5
+ - (void)localMethod {
6
+
7
+ }
8
+
9
+ @end
@@ -0,0 +1,19 @@
1
+ Pod::Spec.new do |s|
2
+ s.name = 'LocalNikeKit'
3
+ s.version = '0.0.1'
4
+ s.summary = 'Objective-C implementation of the Nike+ API.'
5
+ s.homepage = 'https://github.com/neonichu/NikeKit'
6
+ s.license = {:type => 'MIT', :file => 'LICENSE'}
7
+ s.authors = { 'Boris Bügling' => 'http://buegling.com' }
8
+ s.source = { :git => 'https://github.com/neonichu/NikeKit.git', :tag => s.version.to_s }
9
+ s.platform = :ios, '8.0'
10
+
11
+ s.public_header_files = '*.h'
12
+ s.source_files = '*.{h,m}'
13
+ s.frameworks = 'Foundation'
14
+ s.requires_arc = true
15
+
16
+ s.dependency 'AFNetworking'
17
+ s.dependency 'ISO8601DateFormatter'
18
+ s.dependency 'KZPropertyMapper'
19
+ end
@@ -0,0 +1,19 @@
1
+ Pod::Spec.new do |s|
2
+ s.name = 'NikeKit'
3
+ s.version = '0.0.1'
4
+ s.summary = 'Objective-C implementation of the Nike+ API.'
5
+ s.homepage = 'https://github.com/neonichu/NikeKit'
6
+ s.license = {:type => 'MIT', :file => 'LICENSE'}
7
+ s.authors = { 'Boris Bügling' => 'http://buegling.com' }
8
+ s.source = { :git => 'https://github.com/neonichu/NikeKit.git', :tag => s.version.to_s }
9
+ s.platform = :ios, '8.0'
10
+
11
+ s.public_header_files = '*.h'
12
+ s.source_files = '*.{h,m}'
13
+ s.frameworks = 'Foundation'
14
+ s.requires_arc = true
15
+
16
+ s.dependency 'AFNetworking'
17
+ s.dependency 'ISO8601DateFormatter'
18
+ s.dependency 'KZPropertyMapper'
19
+ end
@@ -0,0 +1,18 @@
1
+ Pod::Spec.new do |spec|
2
+ spec.name = 'OpenSans'
3
+ spec.version = '1.0.3'
4
+ spec.summary = 'A podspec encapsulating OpenSans font for iOS'
5
+ spec.description = "Open Sans is a humanist sans serif typeface designed by Steve Matteson, Type Director of Ascender Corp. This version contains the complete 897 character set, which includes the standard ISO Latin 1, Latin CE, Greek and Cyrillic character sets. Open Sans was designed with an upright stress, open forms and a neutral, yet friendly appearance. It was optimized for print, web, and mobile interfaces, and has excellent legibility characteristics in its letterforms."
6
+ spec.license = { :type => 'Apache License, Version 2.0', :file => 'LICENSE.txt' }
7
+ spec.authors = { 'Kyle Fuller' => 'inbox@kylefuller.co.uk' }
8
+ spec.homepage = 'https://github.com/CocoaPods-Fonts/OpenSans'
9
+ spec.screenshot = 'http://f.cl.ly/items/2t2F032e3W0h2T1i0j1n/opensans-ios7-iphone5.png'
10
+ spec.social_media_url = 'https://twitter.com/kylefuller'
11
+ spec.platform = :ios
12
+ spec.source = { :git => 'https://github.com/CocoaPods-Fonts/OpenSans.git', :tag => spec.version.to_s }
13
+ spec.source_files = 'UIFont+OpenSans.{h,m}'
14
+ spec.resource_bundle = { 'OpenSans' => 'Fonts/*.ttf' }
15
+ spec.frameworks = 'UIKit', 'CoreText'
16
+ spec.requires_arc = true
17
+ end
18
+
@@ -0,0 +1,21 @@
1
+ ## CocoaPods
2
+
3
+ Pods
4
+
5
+ ## Node
6
+
7
+ node_modules
8
+
9
+ ## OS X
10
+
11
+ .DS_Store
12
+
13
+ ## Other
14
+
15
+ .pt
16
+ NikeKit.framework
17
+
18
+ ## Xcode
19
+
20
+ *.xccheckout
21
+ xcuserdata
@@ -0,0 +1,15 @@
1
+ //
2
+ // CPDAppDelegate.h
3
+ // PackagerTest
4
+ //
5
+ // Created by Boris Bügling on 24/08/14.
6
+ // Copyright (c) 2014 CocoaPods. All rights reserved.
7
+ //
8
+
9
+ #import <UIKit/UIKit.h>
10
+
11
+ @interface CPDAppDelegate : UIResponder <UIApplicationDelegate>
12
+
13
+ @property (strong, nonatomic) UIWindow *window;
14
+
15
+ @end