Skip to content

Commit a442527

Browse files
committed
Carthage Support: expose a shared framework scheme, slightly modify imports
1 parent 0f1aa74 commit a442527

File tree

5 files changed

+286
-1
lines changed

5 files changed

+286
-1
lines changed

KVNProgress.xcodeproj/project.pbxproj

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

3648
/* Begin PBXContainerItemProxy section */
@@ -80,6 +92,9 @@
8092
1482704D1AE2CBB100873272 /* KVNUIColor+KVNContrastSpec.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = "KVNUIColor+KVNContrastSpec.m"; sourceTree = "<group>"; };
8193
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>"; };
8294
B43D6870AC5276C24F2B9384 /* libPods-KVNProgressTests.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-KVNProgressTests.a"; sourceTree = BUILT_PRODUCTS_DIR; };
95+
FF5F4FEB1C18F0F400177A67 /* KVNProgressKit.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = KVNProgressKit.framework; sourceTree = BUILT_PRODUCTS_DIR; };
96+
FF5F4FED1C18F0F400177A67 /* KVNProgressKit.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = KVNProgressKit.h; sourceTree = "<group>"; };
97+
FF5F4FEF1C18F0F400177A67 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
8398
/* End PBXFileReference section */
8499

85100
/* Begin PBXFrameworksBuildPhase section */
@@ -104,6 +119,13 @@
104119
);
105120
runOnlyForDeploymentPostprocessing = 0;
106121
};
122+
FF5F4FE71C18F0F400177A67 /* Frameworks */ = {
123+
isa = PBXFrameworksBuildPhase;
124+
buildActionMask = 2147483647;
125+
files = (
126+
);
127+
runOnlyForDeploymentPostprocessing = 0;
128+
};
107129
/* End PBXFrameworksBuildPhase section */
108130

109131
/* Begin PBXGroup section */
@@ -125,6 +147,7 @@
125147
children = (
126148
0AA0DCF01930DFAD00FDD29F /* KVNProgress */,
127149
0AA0DD0F1930DFAD00FDD29F /* KVNProgressTests */,
150+
FF5F4FEC1C18F0F400177A67 /* KVNProgressKit */,
128151
0AA0DCE91930DFAD00FDD29F /* Frameworks */,
129152
0AA0DCE81930DFAD00FDD29F /* Products */,
130153
CB962F7FECF6EC14A938952F /* Pods */,
@@ -136,6 +159,7 @@
136159
children = (
137160
0AA0DCE71930DFAD00FDD29F /* KVNProgress.app */,
138161
0AA0DD081930DFAD00FDD29F /* KVNProgressTests.xctest */,
162+
FF5F4FEB1C18F0F400177A67 /* KVNProgressKit.framework */,
139163
);
140164
name = Products;
141165
sourceTree = "<group>";
@@ -237,8 +261,33 @@
237261
name = Pods;
238262
sourceTree = "<group>";
239263
};
264+
FF5F4FEC1C18F0F400177A67 /* KVNProgressKit */ = {
265+
isa = PBXGroup;
266+
children = (
267+
FF5F4FED1C18F0F400177A67 /* KVNProgressKit.h */,
268+
FF5F4FEF1C18F0F400177A67 /* Info.plist */,
269+
);
270+
path = KVNProgressKit;
271+
sourceTree = "<group>";
272+
};
240273
/* End PBXGroup section */
241274

275+
/* Begin PBXHeadersBuildPhase section */
276+
FF5F4FE81C18F0F400177A67 /* Headers */ = {
277+
isa = PBXHeadersBuildPhase;
278+
buildActionMask = 2147483647;
279+
files = (
280+
FF5F4FEE1C18F0F400177A67 /* KVNProgressKit.h in Headers */,
281+
FF5F4FF91C18F18E00177A67 /* UIImage+KVNImageEffects.h in Headers */,
282+
FF5F4FFA1C18F18E00177A67 /* UIImage+KVNEmpty.h in Headers */,
283+
FF5F4FFB1C18F18E00177A67 /* UIColor+KVNContrast.h in Headers */,
284+
FF5F4FFC1C18F18E00177A67 /* KVNProgress.h in Headers */,
285+
FF5F4FFD1C18F18E00177A67 /* KVNProgressConfiguration.h in Headers */,
286+
);
287+
runOnlyForDeploymentPostprocessing = 0;
288+
};
289+
/* End PBXHeadersBuildPhase section */
290+
242291
/* Begin PBXNativeTarget section */
243292
0AA0DCE61930DFAD00FDD29F /* KVNProgress */ = {
244293
isa = PBXNativeTarget;
@@ -279,6 +328,24 @@
279328
productReference = 0AA0DD081930DFAD00FDD29F /* KVNProgressTests.xctest */;
280329
productType = "com.apple.product-type.bundle.unit-test";
281330
};
331+
FF5F4FEA1C18F0F400177A67 /* KVNProgressKit */ = {
332+
isa = PBXNativeTarget;
333+
buildConfigurationList = FF5F4FF21C18F0F400177A67 /* Build configuration list for PBXNativeTarget "KVNProgressKit" */;
334+
buildPhases = (
335+
FF5F4FE61C18F0F400177A67 /* Sources */,
336+
FF5F4FE71C18F0F400177A67 /* Frameworks */,
337+
FF5F4FE81C18F0F400177A67 /* Headers */,
338+
FF5F4FE91C18F0F400177A67 /* Resources */,
339+
);
340+
buildRules = (
341+
);
342+
dependencies = (
343+
);
344+
name = KVNProgressKit;
345+
productName = KVNProgressKit;
346+
productReference = FF5F4FEB1C18F0F400177A67 /* KVNProgressKit.framework */;
347+
productType = "com.apple.product-type.framework";
348+
};
282349
/* End PBXNativeTarget section */
283350

284351
/* Begin PBXProject section */
@@ -295,6 +362,9 @@
295362
0AA0DD071930DFAD00FDD29F = {
296363
TestTargetID = 0AA0DCE61930DFAD00FDD29F;
297364
};
365+
FF5F4FEA1C18F0F400177A67 = {
366+
CreatedOnToolsVersion = 7.1;
367+
};
298368
};
299369
};
300370
buildConfigurationList = 0AA0DCE21930DFAD00FDD29F /* Build configuration list for PBXProject "KVNProgress" */;
@@ -312,6 +382,7 @@
312382
targets = (
313383
0AA0DCE61930DFAD00FDD29F /* KVNProgress */,
314384
0AA0DD071930DFAD00FDD29F /* KVNProgressTests */,
385+
FF5F4FEA1C18F0F400177A67 /* KVNProgressKit */,
315386
);
316387
};
317388
/* End PBXProject section */
@@ -336,6 +407,13 @@
336407
);
337408
runOnlyForDeploymentPostprocessing = 0;
338409
};
410+
FF5F4FE91C18F0F400177A67 /* Resources */ = {
411+
isa = PBXResourcesBuildPhase;
412+
buildActionMask = 2147483647;
413+
files = (
414+
);
415+
runOnlyForDeploymentPostprocessing = 0;
416+
};
339417
/* End PBXResourcesBuildPhase section */
340418

341419
/* Begin PBXShellScriptBuildPhase section */
@@ -426,6 +504,19 @@
426504
);
427505
runOnlyForDeploymentPostprocessing = 0;
428506
};
507+
FF5F4FE61C18F0F400177A67 /* Sources */ = {
508+
isa = PBXSourcesBuildPhase;
509+
buildActionMask = 2147483647;
510+
files = (
511+
FF5F4FF31C18F17D00177A67 /* UIImage+KVNImageEffects.m in Sources */,
512+
FF5F4FF41C18F17D00177A67 /* UIImage+KVNEmpty.m in Sources */,
513+
FF5F4FF51C18F17D00177A67 /* UIColor+KVNContrast.m in Sources */,
514+
FF5F4FF61C18F17D00177A67 /* KVNProgressView.xib in Sources */,
515+
FF5F4FF71C18F17D00177A67 /* KVNProgress.m in Sources */,
516+
FF5F4FF81C18F17D00177A67 /* KVNProgressConfiguration.m in Sources */,
517+
);
518+
runOnlyForDeploymentPostprocessing = 0;
519+
};
429520
/* End PBXSourcesBuildPhase section */
430521

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

628773
/* Begin XCConfigurationList section */
@@ -653,6 +798,14 @@
653798
defaultConfigurationIsVisible = 0;
654799
defaultConfigurationName = Release;
655800
};
801+
FF5F4FF21C18F0F400177A67 /* Build configuration list for PBXNativeTarget "KVNProgressKit" */ = {
802+
isa = XCConfigurationList;
803+
buildConfigurations = (
804+
FF5F4FF01C18F0F400177A67 /* Debug */,
805+
FF5F4FF11C18F0F400177A67 /* Release */,
806+
);
807+
defaultConfigurationIsVisible = 0;
808+
};
656809
/* End XCConfigurationList section */
657810
};
658811
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 & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
// Copyright (c) 2015 Pinch. All rights reserved.
77
//
88

9-
#import <Foundation/Foundation.h>
9+
@import UIKit;
1010

1111
@interface UIColor (KVNContrast)
1212

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)