Skip to content

Commit ead85d4

Browse files
rroy1590rroy-fitbit
authored andcommitted
Carthage Support: expose a shared framework scheme, slightly modify imports
1 parent afc2bf4 commit ead85d4

File tree

5 files changed

+286
-0
lines changed

5 files changed

+286
-0
lines changed

KVNProgress.xcodeproj/project.pbxproj

Lines changed: 153 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,18 @@
3232
1482704A1AE2B4E500873272 /* KVNProgressConfigurationTestsSpec.m in Sources */ = {isa = PBXBuildFile; fileRef = 148270491AE2B4E500873272 /* KVNProgressConfigurationTestsSpec.m */; };
3333
1482704E1AE2CBB100873272 /* KVNUIColor+KVNContrastSpec.m in Sources */ = {isa = PBXBuildFile; fileRef = 1482704D1AE2CBB100873272 /* KVNUIColor+KVNContrastSpec.m */; };
3434
B7AEA695F14877870205F81C /* libPods-KVNProgressTests.a in Frameworks */ = {isa = PBXBuildFile; fileRef = B43D6870AC5276C24F2B9384 /* libPods-KVNProgressTests.a */; };
35+
FF5F4FEE1C18F0F400177A67 /* KVNProgressKit.h in Headers */ = {isa = PBXBuildFile; fileRef = FF5F4FED1C18F0F400177A67 /* KVNProgressKit.h */; settings = {ATTRIBUTES = (Public, ); }; };
36+
FF5F4FF31C18F17D00177A67 /* UIImage+KVNImageEffects.m in Sources */ = {isa = PBXBuildFile; fileRef = 0AA0DD271930E62A00FDD29F /* UIImage+KVNImageEffects.m */; };
37+
FF5F4FF41C18F17D00177A67 /* UIImage+KVNEmpty.m in Sources */ = {isa = PBXBuildFile; fileRef = 0AA0DD2F1931EB3D00FDD29F /* UIImage+KVNEmpty.m */; };
38+
FF5F4FF51C18F17D00177A67 /* UIColor+KVNContrast.m in Sources */ = {isa = PBXBuildFile; fileRef = 0A835D681AB339E900CB321A /* UIColor+KVNContrast.m */; };
39+
FF5F4FF61C18F17D00177A67 /* KVNProgressView.xib in Sources */ = {isa = PBXBuildFile; fileRef = 0AA0DD2C1930F76A00FDD29F /* KVNProgressView.xib */; };
40+
FF5F4FF71C18F17D00177A67 /* KVNProgress.m in Sources */ = {isa = PBXBuildFile; fileRef = 0AA0DD231930E0C000FDD29F /* KVNProgress.m */; };
41+
FF5F4FF81C18F17D00177A67 /* KVNProgressConfiguration.m in Sources */ = {isa = PBXBuildFile; fileRef = 0A53757A1A45784200A7743C /* KVNProgressConfiguration.m */; };
42+
FF5F4FF91C18F18E00177A67 /* UIImage+KVNImageEffects.h in Headers */ = {isa = PBXBuildFile; fileRef = 0AA0DD261930E62A00FDD29F /* UIImage+KVNImageEffects.h */; settings = {ATTRIBUTES = (Public, ); }; };
43+
FF5F4FFA1C18F18E00177A67 /* UIImage+KVNEmpty.h in Headers */ = {isa = PBXBuildFile; fileRef = 0AA0DD2E1931EB3D00FDD29F /* UIImage+KVNEmpty.h */; settings = {ATTRIBUTES = (Public, ); }; };
44+
FF5F4FFB1C18F18E00177A67 /* UIColor+KVNContrast.h in Headers */ = {isa = PBXBuildFile; fileRef = 0A835D671AB339E900CB321A /* UIColor+KVNContrast.h */; settings = {ATTRIBUTES = (Public, ); }; };
45+
FF5F4FFC1C18F18E00177A67 /* KVNProgress.h in Headers */ = {isa = PBXBuildFile; fileRef = 0AA0DD221930E0C000FDD29F /* KVNProgress.h */; settings = {ATTRIBUTES = (Public, ); }; };
46+
FF5F4FFD1C18F18E00177A67 /* KVNProgressConfiguration.h in Headers */ = {isa = PBXBuildFile; fileRef = 0A5375791A45784200A7743C /* KVNProgressConfiguration.h */; settings = {ATTRIBUTES = (Public, ); }; };
3547
/* End PBXBuildFile section */
3648

3749
/* Begin PBXContainerItemProxy section */
@@ -83,6 +95,9 @@
8395
1482704D1AE2CBB100873272 /* KVNUIColor+KVNContrastSpec.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = "KVNUIColor+KVNContrastSpec.m"; sourceTree = "<group>"; };
8496
AC926D9E042446C786108BC3 /* Pods-KVNProgressTests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-KVNProgressTests.release.xcconfig"; path = "Pods/Target Support Files/Pods-KVNProgressTests/Pods-KVNProgressTests.release.xcconfig"; sourceTree = "<group>"; };
8597
B43D6870AC5276C24F2B9384 /* libPods-KVNProgressTests.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-KVNProgressTests.a"; sourceTree = BUILT_PRODUCTS_DIR; };
98+
FF5F4FEB1C18F0F400177A67 /* KVNProgressKit.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = KVNProgressKit.framework; sourceTree = BUILT_PRODUCTS_DIR; };
99+
FF5F4FED1C18F0F400177A67 /* KVNProgressKit.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = KVNProgressKit.h; sourceTree = "<group>"; };
100+
FF5F4FEF1C18F0F400177A67 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
86101
/* End PBXFileReference section */
87102

88103
/* Begin PBXFrameworksBuildPhase section */
@@ -107,6 +122,13 @@
107122
);
108123
runOnlyForDeploymentPostprocessing = 0;
109124
};
125+
FF5F4FE71C18F0F400177A67 /* Frameworks */ = {
126+
isa = PBXFrameworksBuildPhase;
127+
buildActionMask = 2147483647;
128+
files = (
129+
);
130+
runOnlyForDeploymentPostprocessing = 0;
131+
};
110132
/* End PBXFrameworksBuildPhase section */
111133

112134
/* Begin PBXGroup section */
@@ -128,6 +150,7 @@
128150
children = (
129151
0AA0DCF01930DFAD00FDD29F /* KVNProgress */,
130152
0AA0DD0F1930DFAD00FDD29F /* KVNProgressTests */,
153+
FF5F4FEC1C18F0F400177A67 /* KVNProgressKit */,
131154
0AA0DCE91930DFAD00FDD29F /* Frameworks */,
132155
0AA0DCE81930DFAD00FDD29F /* Products */,
133156
CB962F7FECF6EC14A938952F /* Pods */,
@@ -139,6 +162,7 @@
139162
children = (
140163
0AA0DCE71930DFAD00FDD29F /* KVNProgress.app */,
141164
0AA0DD081930DFAD00FDD29F /* KVNProgressTests.xctest */,
165+
FF5F4FEB1C18F0F400177A67 /* KVNProgressKit.framework */,
142166
);
143167
name = Products;
144168
sourceTree = "<group>";
@@ -242,8 +266,33 @@
242266
name = Pods;
243267
sourceTree = "<group>";
244268
};
269+
FF5F4FEC1C18F0F400177A67 /* KVNProgressKit */ = {
270+
isa = PBXGroup;
271+
children = (
272+
FF5F4FED1C18F0F400177A67 /* KVNProgressKit.h */,
273+
FF5F4FEF1C18F0F400177A67 /* Info.plist */,
274+
);
275+
path = KVNProgressKit;
276+
sourceTree = "<group>";
277+
};
245278
/* End PBXGroup section */
246279

280+
/* Begin PBXHeadersBuildPhase section */
281+
FF5F4FE81C18F0F400177A67 /* Headers */ = {
282+
isa = PBXHeadersBuildPhase;
283+
buildActionMask = 2147483647;
284+
files = (
285+
FF5F4FEE1C18F0F400177A67 /* KVNProgressKit.h in Headers */,
286+
FF5F4FF91C18F18E00177A67 /* UIImage+KVNImageEffects.h in Headers */,
287+
FF5F4FFA1C18F18E00177A67 /* UIImage+KVNEmpty.h in Headers */,
288+
FF5F4FFB1C18F18E00177A67 /* UIColor+KVNContrast.h in Headers */,
289+
FF5F4FFC1C18F18E00177A67 /* KVNProgress.h in Headers */,
290+
FF5F4FFD1C18F18E00177A67 /* KVNProgressConfiguration.h in Headers */,
291+
);
292+
runOnlyForDeploymentPostprocessing = 0;
293+
};
294+
/* End PBXHeadersBuildPhase section */
295+
247296
/* Begin PBXNativeTarget section */
248297
0AA0DCE61930DFAD00FDD29F /* KVNProgress */ = {
249298
isa = PBXNativeTarget;
@@ -284,6 +333,24 @@
284333
productReference = 0AA0DD081930DFAD00FDD29F /* KVNProgressTests.xctest */;
285334
productType = "com.apple.product-type.bundle.unit-test";
286335
};
336+
FF5F4FEA1C18F0F400177A67 /* KVNProgressKit */ = {
337+
isa = PBXNativeTarget;
338+
buildConfigurationList = FF5F4FF21C18F0F400177A67 /* Build configuration list for PBXNativeTarget "KVNProgressKit" */;
339+
buildPhases = (
340+
FF5F4FE61C18F0F400177A67 /* Sources */,
341+
FF5F4FE71C18F0F400177A67 /* Frameworks */,
342+
FF5F4FE81C18F0F400177A67 /* Headers */,
343+
FF5F4FE91C18F0F400177A67 /* Resources */,
344+
);
345+
buildRules = (
346+
);
347+
dependencies = (
348+
);
349+
name = KVNProgressKit;
350+
productName = KVNProgressKit;
351+
productReference = FF5F4FEB1C18F0F400177A67 /* KVNProgressKit.framework */;
352+
productType = "com.apple.product-type.framework";
353+
};
287354
/* End PBXNativeTarget section */
288355

289356
/* Begin PBXProject section */
@@ -300,6 +367,9 @@
300367
0AA0DD071930DFAD00FDD29F = {
301368
TestTargetID = 0AA0DCE61930DFAD00FDD29F;
302369
};
370+
FF5F4FEA1C18F0F400177A67 = {
371+
CreatedOnToolsVersion = 7.1;
372+
};
303373
};
304374
};
305375
buildConfigurationList = 0AA0DCE21930DFAD00FDD29F /* Build configuration list for PBXProject "KVNProgress" */;
@@ -317,6 +387,7 @@
317387
targets = (
318388
0AA0DCE61930DFAD00FDD29F /* KVNProgress */,
319389
0AA0DD071930DFAD00FDD29F /* KVNProgressTests */,
390+
FF5F4FEA1C18F0F400177A67 /* KVNProgressKit */,
320391
);
321392
};
322393
/* End PBXProject section */
@@ -341,6 +412,13 @@
341412
);
342413
runOnlyForDeploymentPostprocessing = 0;
343414
};
415+
FF5F4FE91C18F0F400177A67 /* Resources */ = {
416+
isa = PBXResourcesBuildPhase;
417+
buildActionMask = 2147483647;
418+
files = (
419+
);
420+
runOnlyForDeploymentPostprocessing = 0;
421+
};
344422
/* End PBXResourcesBuildPhase section */
345423

346424
/* Begin PBXShellScriptBuildPhase section */
@@ -432,6 +510,19 @@
432510
);
433511
runOnlyForDeploymentPostprocessing = 0;
434512
};
513+
FF5F4FE61C18F0F400177A67 /* Sources */ = {
514+
isa = PBXSourcesBuildPhase;
515+
buildActionMask = 2147483647;
516+
files = (
517+
FF5F4FF31C18F17D00177A67 /* UIImage+KVNImageEffects.m in Sources */,
518+
FF5F4FF41C18F17D00177A67 /* UIImage+KVNEmpty.m in Sources */,
519+
FF5F4FF51C18F17D00177A67 /* UIColor+KVNContrast.m in Sources */,
520+
FF5F4FF61C18F17D00177A67 /* KVNProgressView.xib in Sources */,
521+
FF5F4FF71C18F17D00177A67 /* KVNProgress.m in Sources */,
522+
FF5F4FF81C18F17D00177A67 /* KVNProgressConfiguration.m in Sources */,
523+
);
524+
runOnlyForDeploymentPostprocessing = 0;
525+
};
435526
/* End PBXSourcesBuildPhase section */
436527

437528
/* Begin PBXTargetDependency section */
@@ -629,6 +720,60 @@
629720
};
630721
name = Release;
631722
};
723+
FF5F4FF01C18F0F400177A67 /* Debug */ = {
724+
isa = XCBuildConfiguration;
725+
buildSettings = {
726+
CLANG_WARN_UNREACHABLE_CODE = YES;
727+
CURRENT_PROJECT_VERSION = 1;
728+
DEBUG_INFORMATION_FORMAT = dwarf;
729+
DEFINES_MODULE = YES;
730+
DYLIB_COMPATIBILITY_VERSION = 1;
731+
DYLIB_CURRENT_VERSION = 1;
732+
DYLIB_INSTALL_NAME_BASE = "@rpath";
733+
ENABLE_STRICT_OBJC_MSGSEND = YES;
734+
ENABLE_TESTABILITY = YES;
735+
GCC_NO_COMMON_BLOCKS = YES;
736+
INFOPLIST_FILE = KVNProgressKit/Info.plist;
737+
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
738+
IPHONEOS_DEPLOYMENT_TARGET = 9.1;
739+
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
740+
MTL_ENABLE_DEBUG_INFO = YES;
741+
PRODUCT_BUNDLE_IDENTIFIER = com.kevin.hirsch.kvnprogress.KVNProgressKit;
742+
PRODUCT_NAME = "$(TARGET_NAME)";
743+
SKIP_INSTALL = YES;
744+
TARGETED_DEVICE_FAMILY = "1,2";
745+
VERSIONING_SYSTEM = "apple-generic";
746+
VERSION_INFO_PREFIX = "";
747+
};
748+
name = Debug;
749+
};
750+
FF5F4FF11C18F0F400177A67 /* Release */ = {
751+
isa = XCBuildConfiguration;
752+
buildSettings = {
753+
CLANG_WARN_UNREACHABLE_CODE = YES;
754+
COPY_PHASE_STRIP = NO;
755+
CURRENT_PROJECT_VERSION = 1;
756+
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
757+
DEFINES_MODULE = YES;
758+
DYLIB_COMPATIBILITY_VERSION = 1;
759+
DYLIB_CURRENT_VERSION = 1;
760+
DYLIB_INSTALL_NAME_BASE = "@rpath";
761+
ENABLE_STRICT_OBJC_MSGSEND = YES;
762+
GCC_NO_COMMON_BLOCKS = YES;
763+
INFOPLIST_FILE = KVNProgressKit/Info.plist;
764+
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
765+
IPHONEOS_DEPLOYMENT_TARGET = 9.1;
766+
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
767+
MTL_ENABLE_DEBUG_INFO = NO;
768+
PRODUCT_BUNDLE_IDENTIFIER = com.kevin.hirsch.kvnprogress.KVNProgressKit;
769+
PRODUCT_NAME = "$(TARGET_NAME)";
770+
SKIP_INSTALL = YES;
771+
TARGETED_DEVICE_FAMILY = "1,2";
772+
VERSIONING_SYSTEM = "apple-generic";
773+
VERSION_INFO_PREFIX = "";
774+
};
775+
name = Release;
776+
};
632777
/* End XCBuildConfiguration section */
633778

634779
/* Begin XCConfigurationList section */
@@ -659,6 +804,14 @@
659804
defaultConfigurationIsVisible = 0;
660805
defaultConfigurationName = Release;
661806
};
807+
FF5F4FF21C18F0F400177A67 /* Build configuration list for PBXNativeTarget "KVNProgressKit" */ = {
808+
isa = XCConfigurationList;
809+
buildConfigurations = (
810+
FF5F4FF01C18F0F400177A67 /* Debug */,
811+
FF5F4FF11C18F0F400177A67 /* Release */,
812+
);
813+
defaultConfigurationIsVisible = 0;
814+
};
662815
/* End XCConfigurationList section */
663816
};
664817
rootObject = 0AA0DCDF1930DFAD00FDD29F /* Project object */;
Lines changed: 80 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,80 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<Scheme
3+
LastUpgradeVersion = "0710"
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 = "FF5F4FEA1C18F0F400177A67"
18+
BuildableName = "KVNProgressKit.framework"
19+
BlueprintName = "KVNProgressKit"
20+
ReferencedContainer = "container:KVNProgress.xcodeproj">
21+
</BuildableReference>
22+
</BuildActionEntry>
23+
</BuildActionEntries>
24+
</BuildAction>
25+
<TestAction
26+
buildConfiguration = "Debug"
27+
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
28+
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
29+
shouldUseLaunchSchemeArgsEnv = "YES">
30+
<Testables>
31+
</Testables>
32+
<AdditionalOptions>
33+
</AdditionalOptions>
34+
</TestAction>
35+
<LaunchAction
36+
buildConfiguration = "Debug"
37+
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
38+
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
39+
launchStyle = "0"
40+
useCustomWorkingDirectory = "NO"
41+
ignoresPersistentStateOnLaunch = "NO"
42+
debugDocumentVersioning = "YES"
43+
debugServiceExtension = "internal"
44+
allowLocationSimulation = "YES">
45+
<MacroExpansion>
46+
<BuildableReference
47+
BuildableIdentifier = "primary"
48+
BlueprintIdentifier = "FF5F4FEA1C18F0F400177A67"
49+
BuildableName = "KVNProgressKit.framework"
50+
BlueprintName = "KVNProgressKit"
51+
ReferencedContainer = "container:KVNProgress.xcodeproj">
52+
</BuildableReference>
53+
</MacroExpansion>
54+
<AdditionalOptions>
55+
</AdditionalOptions>
56+
</LaunchAction>
57+
<ProfileAction
58+
buildConfiguration = "Release"
59+
shouldUseLaunchSchemeArgsEnv = "YES"
60+
savedToolIdentifier = ""
61+
useCustomWorkingDirectory = "NO"
62+
debugDocumentVersioning = "YES">
63+
<MacroExpansion>
64+
<BuildableReference
65+
BuildableIdentifier = "primary"
66+
BlueprintIdentifier = "FF5F4FEA1C18F0F400177A67"
67+
BuildableName = "KVNProgressKit.framework"
68+
BlueprintName = "KVNProgressKit"
69+
ReferencedContainer = "container:KVNProgress.xcodeproj">
70+
</BuildableReference>
71+
</MacroExpansion>
72+
</ProfileAction>
73+
<AnalyzeAction
74+
buildConfiguration = "Debug">
75+
</AnalyzeAction>
76+
<ArchiveAction
77+
buildConfiguration = "Release"
78+
revealArchiveInOrganizer = "YES">
79+
</ArchiveAction>
80+
</Scheme>

KVNProgress/Categories/UIColor+KVNContrast.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88

99
#import <Foundation/Foundation.h>
1010
#import <UIKit/UIKit.h>
11+
1112
@interface UIColor (KVNContrast)
1213

1314
- (UIStatusBarStyle)statusBarStyleConstrastStyle;

KVNProgressKit/Info.plist

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
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>$(PRODUCT_BUNDLE_IDENTIFIER)</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>FMWK</string>
17+
<key>CFBundleShortVersionString</key>
18+
<string>1.0</string>
19+
<key>CFBundleSignature</key>
20+
<string>????</string>
21+
<key>CFBundleVersion</key>
22+
<string>$(CURRENT_PROJECT_VERSION)</string>
23+
<key>NSPrincipalClass</key>
24+
<string></string>
25+
</dict>
26+
</plist>

KVNProgressKit/KVNProgressKit.h

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
//
2+
// KVNProgressKit.h
3+
// KVNProgressKit
4+
//
5+
// Created by Raunak Roy on 12/9/15.
6+
// Copyright © 2015 Pinch. All rights reserved.
7+
//
8+
9+
#import <UIKit/UIKit.h>
10+
11+
#import "KVNProgress.h"
12+
#import "KVNProgressConfiguration.h"
13+
14+
#import "UIImage+KVNImageEffects.h"
15+
#import "UIImage+KVNEmpty.h"
16+
#import "UIColor+KVNContrast.h"
17+
18+
//! Project version number for KVNProgressKit.
19+
FOUNDATION_EXPORT double KVNProgressKitVersionNumber;
20+
21+
//! Project version string for KVNProgressKit.
22+
FOUNDATION_EXPORT const unsigned char KVNProgressKitVersionString[];
23+
24+
// In this header, you should import all the public headers of your framework using statements like #import <KVNProgressKit/PublicHeader.h>
25+
26+

0 commit comments

Comments
 (0)