Skip to content

Commit

Permalink
Created framework target and added support for Carthage
Browse files Browse the repository at this point in the history
  • Loading branch information
William Archimède committed Oct 12, 2016
1 parent a2f224b commit d550692
Show file tree
Hide file tree
Showing 7 changed files with 330 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@

Carthage/*
170 changes: 170 additions & 0 deletions RangeSlider.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@
objects = {

/* Begin PBXBuildFile section */
5C33A2D11DAE9C5600DDCF9E /* RangeSliderFramework.h in Headers */ = {isa = PBXBuildFile; fileRef = 5C33A2CF1DAE9C5600DDCF9E /* RangeSliderFramework.h */; settings = {ATTRIBUTES = (Public, ); }; };
5C33A2D41DAE9C5600DDCF9E /* RangeSliderFramework.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 5C33A2CD1DAE9C5600DDCF9E /* RangeSliderFramework.framework */; };
5C33A2D51DAE9C5600DDCF9E /* RangeSliderFramework.framework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = 5C33A2CD1DAE9C5600DDCF9E /* RangeSliderFramework.framework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; };
5C33A2DA1DAE9C6B00DDCF9E /* RangeSlider.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5C3917261BA4A89300515C54 /* RangeSlider.swift */; };
5C3917151BA4A83600515C54 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5C3917141BA4A83600515C54 /* AppDelegate.swift */; };
5C3917171BA4A83600515C54 /* ViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5C3917161BA4A83600515C54 /* ViewController.swift */; };
5C39171A1BA4A83600515C54 /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 5C3917181BA4A83600515C54 /* Main.storyboard */; };
Expand All @@ -15,7 +19,34 @@
5C3917271BA4A89300515C54 /* RangeSlider.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5C3917261BA4A89300515C54 /* RangeSlider.swift */; };
/* End PBXBuildFile section */

/* Begin PBXContainerItemProxy section */
5C33A2D21DAE9C5600DDCF9E /* PBXContainerItemProxy */ = {
isa = PBXContainerItemProxy;
containerPortal = 5C3917091BA4A83600515C54 /* Project object */;
proxyType = 1;
remoteGlobalIDString = 5C33A2CC1DAE9C5600DDCF9E;
remoteInfo = RangeSliderFramework;
};
/* End PBXContainerItemProxy section */

/* Begin PBXCopyFilesBuildPhase section */
5C33A2D91DAE9C5600DDCF9E /* Embed Frameworks */ = {
isa = PBXCopyFilesBuildPhase;
buildActionMask = 2147483647;
dstPath = "";
dstSubfolderSpec = 10;
files = (
5C33A2D51DAE9C5600DDCF9E /* RangeSliderFramework.framework in Embed Frameworks */,
);
name = "Embed Frameworks";
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXCopyFilesBuildPhase section */

/* Begin PBXFileReference section */
5C33A2CD1DAE9C5600DDCF9E /* RangeSliderFramework.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = RangeSliderFramework.framework; sourceTree = BUILT_PRODUCTS_DIR; };
5C33A2CF1DAE9C5600DDCF9E /* RangeSliderFramework.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = RangeSliderFramework.h; sourceTree = "<group>"; };
5C33A2D01DAE9C5600DDCF9E /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
5C3917111BA4A83600515C54 /* RangeSlider.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = RangeSlider.app; sourceTree = BUILT_PRODUCTS_DIR; };
5C3917141BA4A83600515C54 /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = "<group>"; };
5C3917161BA4A83600515C54 /* ViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ViewController.swift; sourceTree = "<group>"; };
Expand All @@ -27,20 +58,38 @@
/* End PBXFileReference section */

/* Begin PBXFrameworksBuildPhase section */
5C33A2C91DAE9C5600DDCF9E /* Frameworks */ = {
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
);
runOnlyForDeploymentPostprocessing = 0;
};
5C39170E1BA4A83600515C54 /* Frameworks */ = {
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
5C33A2D41DAE9C5600DDCF9E /* RangeSliderFramework.framework in Frameworks */,
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXFrameworksBuildPhase section */

/* Begin PBXGroup section */
5C33A2CE1DAE9C5600DDCF9E /* RangeSliderFramework */ = {
isa = PBXGroup;
children = (
5C33A2CF1DAE9C5600DDCF9E /* RangeSliderFramework.h */,
5C33A2D01DAE9C5600DDCF9E /* Info.plist */,
);
path = RangeSliderFramework;
sourceTree = "<group>";
};
5C3917081BA4A83600515C54 = {
isa = PBXGroup;
children = (
5C3917131BA4A83600515C54 /* RangeSlider */,
5C33A2CE1DAE9C5600DDCF9E /* RangeSliderFramework */,
5C3917121BA4A83600515C54 /* Products */,
);
sourceTree = "<group>";
Expand All @@ -49,6 +98,7 @@
isa = PBXGroup;
children = (
5C3917111BA4A83600515C54 /* RangeSlider.app */,
5C33A2CD1DAE9C5600DDCF9E /* RangeSliderFramework.framework */,
);
name = Products;
sourceTree = "<group>";
Expand All @@ -69,18 +119,49 @@
};
/* End PBXGroup section */

/* Begin PBXHeadersBuildPhase section */
5C33A2CA1DAE9C5600DDCF9E /* Headers */ = {
isa = PBXHeadersBuildPhase;
buildActionMask = 2147483647;
files = (
5C33A2D11DAE9C5600DDCF9E /* RangeSliderFramework.h in Headers */,
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXHeadersBuildPhase section */

/* Begin PBXNativeTarget section */
5C33A2CC1DAE9C5600DDCF9E /* RangeSliderFramework */ = {
isa = PBXNativeTarget;
buildConfigurationList = 5C33A2D61DAE9C5600DDCF9E /* Build configuration list for PBXNativeTarget "RangeSliderFramework" */;
buildPhases = (
5C33A2C81DAE9C5600DDCF9E /* Sources */,
5C33A2C91DAE9C5600DDCF9E /* Frameworks */,
5C33A2CA1DAE9C5600DDCF9E /* Headers */,
5C33A2CB1DAE9C5600DDCF9E /* Resources */,
);
buildRules = (
);
dependencies = (
);
name = RangeSliderFramework;
productName = RangeSliderFramework;
productReference = 5C33A2CD1DAE9C5600DDCF9E /* RangeSliderFramework.framework */;
productType = "com.apple.product-type.framework";
};
5C3917101BA4A83600515C54 /* RangeSlider */ = {
isa = PBXNativeTarget;
buildConfigurationList = 5C3917231BA4A83600515C54 /* Build configuration list for PBXNativeTarget "RangeSlider" */;
buildPhases = (
5C39170D1BA4A83600515C54 /* Sources */,
5C39170E1BA4A83600515C54 /* Frameworks */,
5C39170F1BA4A83600515C54 /* Resources */,
5C33A2D91DAE9C5600DDCF9E /* Embed Frameworks */,
);
buildRules = (
);
dependencies = (
5C33A2D31DAE9C5600DDCF9E /* PBXTargetDependency */,
);
name = RangeSlider;
productName = RangeSlider;
Expand All @@ -96,6 +177,10 @@
LastUpgradeCheck = 0800;
ORGANIZATIONNAME = "William Archimède";
TargetAttributes = {
5C33A2CC1DAE9C5600DDCF9E = {
CreatedOnToolsVersion = 8.0;
ProvisioningStyle = Automatic;
};
5C3917101BA4A83600515C54 = {
CreatedOnToolsVersion = 7.0;
LastSwiftMigration = 0800;
Expand All @@ -116,11 +201,19 @@
projectRoot = "";
targets = (
5C3917101BA4A83600515C54 /* RangeSlider */,
5C33A2CC1DAE9C5600DDCF9E /* RangeSliderFramework */,
);
};
/* End PBXProject section */

/* Begin PBXResourcesBuildPhase section */
5C33A2CB1DAE9C5600DDCF9E /* Resources */ = {
isa = PBXResourcesBuildPhase;
buildActionMask = 2147483647;
files = (
);
runOnlyForDeploymentPostprocessing = 0;
};
5C39170F1BA4A83600515C54 /* Resources */ = {
isa = PBXResourcesBuildPhase;
buildActionMask = 2147483647;
Expand All @@ -134,6 +227,14 @@
/* End PBXResourcesBuildPhase section */

/* Begin PBXSourcesBuildPhase section */
5C33A2C81DAE9C5600DDCF9E /* Sources */ = {
isa = PBXSourcesBuildPhase;
buildActionMask = 2147483647;
files = (
5C33A2DA1DAE9C6B00DDCF9E /* RangeSlider.swift in Sources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
5C39170D1BA4A83600515C54 /* Sources */ = {
isa = PBXSourcesBuildPhase;
buildActionMask = 2147483647;
Expand All @@ -146,6 +247,14 @@
};
/* End PBXSourcesBuildPhase section */

/* Begin PBXTargetDependency section */
5C33A2D31DAE9C5600DDCF9E /* PBXTargetDependency */ = {
isa = PBXTargetDependency;
target = 5C33A2CC1DAE9C5600DDCF9E /* RangeSliderFramework */;
targetProxy = 5C33A2D21DAE9C5600DDCF9E /* PBXContainerItemProxy */;
};
/* End PBXTargetDependency section */

/* Begin PBXVariantGroup section */
5C3917181BA4A83600515C54 /* Main.storyboard */ = {
isa = PBXVariantGroup;
Expand All @@ -166,6 +275,57 @@
/* End PBXVariantGroup section */

/* Begin XCBuildConfiguration section */
5C33A2D71DAE9C5600DDCF9E /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
CLANG_ANALYZER_NONNULL = YES;
CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
CLANG_WARN_SUSPICIOUS_MOVES = YES;
CODE_SIGN_IDENTITY = "";
CURRENT_PROJECT_VERSION = 1;
DEFINES_MODULE = YES;
DYLIB_COMPATIBILITY_VERSION = 1;
DYLIB_CURRENT_VERSION = 1;
DYLIB_INSTALL_NAME_BASE = "@rpath";
INFOPLIST_FILE = RangeSliderFramework/Info.plist;
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
IPHONEOS_DEPLOYMENT_TARGET = 10.0;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
PRODUCT_BUNDLE_IDENTIFIER = wa.RangeSliderFramework;
PRODUCT_NAME = "$(TARGET_NAME)";
SKIP_INSTALL = YES;
SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG;
SWIFT_VERSION = 3.0;
VERSIONING_SYSTEM = "apple-generic";
VERSION_INFO_PREFIX = "";
};
name = Debug;
};
5C33A2D81DAE9C5600DDCF9E /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
CLANG_ANALYZER_NONNULL = YES;
CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
CLANG_WARN_SUSPICIOUS_MOVES = YES;
CODE_SIGN_IDENTITY = "";
CURRENT_PROJECT_VERSION = 1;
DEFINES_MODULE = YES;
DYLIB_COMPATIBILITY_VERSION = 1;
DYLIB_CURRENT_VERSION = 1;
DYLIB_INSTALL_NAME_BASE = "@rpath";
INFOPLIST_FILE = RangeSliderFramework/Info.plist;
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
IPHONEOS_DEPLOYMENT_TARGET = 10.0;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
PRODUCT_BUNDLE_IDENTIFIER = wa.RangeSliderFramework;
PRODUCT_NAME = "$(TARGET_NAME)";
SKIP_INSTALL = YES;
SWIFT_VERSION = 3.0;
VERSIONING_SYSTEM = "apple-generic";
VERSION_INFO_PREFIX = "";
};
name = Release;
};
5C3917211BA4A83600515C54 /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
Expand Down Expand Up @@ -257,6 +417,7 @@
5C3917241BA4A83600515C54 /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES;
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
INFOPLIST_FILE = RangeSlider/Info.plist;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
Expand All @@ -269,6 +430,7 @@
5C3917251BA4A83600515C54 /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES;
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
INFOPLIST_FILE = RangeSlider/Info.plist;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
Expand All @@ -281,6 +443,14 @@
/* End XCBuildConfiguration section */

/* Begin XCConfigurationList section */
5C33A2D61DAE9C5600DDCF9E /* Build configuration list for PBXNativeTarget "RangeSliderFramework" */ = {
isa = XCConfigurationList;
buildConfigurations = (
5C33A2D71DAE9C5600DDCF9E /* Debug */,
5C33A2D81DAE9C5600DDCF9E /* Release */,
);
defaultConfigurationIsVisible = 0;
};
5C39170C1BA4A83600515C54 /* Build configuration list for PBXProject "RangeSlider" */ = {
isa = XCConfigurationList;
buildConfigurations = (
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,80 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "0800"
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"
buildImplicitDependencies = "YES">
<BuildActionEntries>
<BuildActionEntry
buildForTesting = "YES"
buildForRunning = "YES"
buildForProfiling = "YES"
buildForArchiving = "YES"
buildForAnalyzing = "YES">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "5C33A2CC1DAE9C5600DDCF9E"
BuildableName = "RangeSliderFramework.framework"
BlueprintName = "RangeSliderFramework"
ReferencedContainer = "container:RangeSlider.xcodeproj">
</BuildableReference>
</BuildActionEntry>
</BuildActionEntries>
</BuildAction>
<TestAction
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
shouldUseLaunchSchemeArgsEnv = "YES">
<Testables>
</Testables>
<AdditionalOptions>
</AdditionalOptions>
</TestAction>
<LaunchAction
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
launchStyle = "0"
useCustomWorkingDirectory = "NO"
ignoresPersistentStateOnLaunch = "NO"
debugDocumentVersioning = "YES"
debugServiceExtension = "internal"
allowLocationSimulation = "YES">
<MacroExpansion>
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "5C33A2CC1DAE9C5600DDCF9E"
BuildableName = "RangeSliderFramework.framework"
BlueprintName = "RangeSliderFramework"
ReferencedContainer = "container:RangeSlider.xcodeproj">
</BuildableReference>
</MacroExpansion>
<AdditionalOptions>
</AdditionalOptions>
</LaunchAction>
<ProfileAction
buildConfiguration = "Release"
shouldUseLaunchSchemeArgsEnv = "YES"
savedToolIdentifier = ""
useCustomWorkingDirectory = "NO"
debugDocumentVersioning = "YES">
<MacroExpansion>
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "5C33A2CC1DAE9C5600DDCF9E"
BuildableName = "RangeSliderFramework.framework"
BlueprintName = "RangeSliderFramework"
ReferencedContainer = "container:RangeSlider.xcodeproj">
</BuildableReference>
</MacroExpansion>
</ProfileAction>
<AnalyzeAction
buildConfiguration = "Debug">
</AnalyzeAction>
<ArchiveAction
buildConfiguration = "Release"
revealArchiveInOrganizer = "YES">
</ArchiveAction>
</Scheme>
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,19 @@
<key>orderHint</key>
<integer>0</integer>
</dict>
<key>RangeSliderFramework.xcscheme_^#shared#^_</key>
<dict>
<key>orderHint</key>
<integer>1</integer>
</dict>
</dict>
<key>SuppressBuildableAutocreation</key>
<dict>
<key>5C33A2CC1DAE9C5600DDCF9E</key>
<dict>
<key>primary</key>
<true/>
</dict>
<key>5C3917101BA4A83600515C54</key>
<dict>
<key>primary</key>
Expand Down
Loading

0 comments on commit d550692

Please sign in to comment.