Skip to content

Commit

Permalink
Add OS X target
Browse files Browse the repository at this point in the history
  • Loading branch information
soffes committed Jun 1, 2016
1 parent 8c505d9 commit 53589a7
Show file tree
Hide file tree
Showing 2 changed files with 200 additions and 2 deletions.
122 changes: 120 additions & 2 deletions Cache.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,13 @@
objects = {

/* Begin PBXBuildFile section */
21B5054B1CFF9E7F0067FB9A /* Cache.swift in Sources */ = {isa = PBXBuildFile; fileRef = 21E8791A1CEA6CFE0046ACE2 /* Cache.swift */; };
21B5054C1CFF9E7F0067FB9A /* MemoryCache.swift in Sources */ = {isa = PBXBuildFile; fileRef = 21E8791C1CEA6CFE0046ACE2 /* MemoryCache.swift */; };
21B5054D1CFF9E7F0067FB9A /* DiskCache.swift in Sources */ = {isa = PBXBuildFile; fileRef = 21E8791B1CEA6CFE0046ACE2 /* DiskCache.swift */; };
21B5054E1CFF9E7F0067FB9A /* MultiCache.swift in Sources */ = {isa = PBXBuildFile; fileRef = 21E8791D1CEA6CFE0046ACE2 /* MultiCache.swift */; };
21B5054F1CFF9E7F0067FB9A /* AnyCache.swift in Sources */ = {isa = PBXBuildFile; fileRef = 21E879181CEA6CFE0046ACE2 /* AnyCache.swift */; };
21B505501CFF9E7F0067FB9A /* Box.swift in Sources */ = {isa = PBXBuildFile; fileRef = 21E879191CEA6CFE0046ACE2 /* Box.swift */; };
21B505511CFF9E830067FB9A /* Cache.h in Headers */ = {isa = PBXBuildFile; fileRef = 21E8791F1CEA6CFE0046ACE2 /* Cache.h */; settings = {ATTRIBUTES = (Public, ); }; };
21E879211CEA6CFE0046ACE2 /* AnyCache.swift in Sources */ = {isa = PBXBuildFile; fileRef = 21E879181CEA6CFE0046ACE2 /* AnyCache.swift */; };
21E879221CEA6CFE0046ACE2 /* Box.swift in Sources */ = {isa = PBXBuildFile; fileRef = 21E879191CEA6CFE0046ACE2 /* Box.swift */; };
21E879231CEA6CFE0046ACE2 /* Cache.swift in Sources */ = {isa = PBXBuildFile; fileRef = 21E8791A1CEA6CFE0046ACE2 /* Cache.swift */; };
Expand All @@ -18,6 +25,7 @@

/* Begin PBXFileReference section */
21256E2A1CEA6CCD003B9F67 /* Cache.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Cache.framework; sourceTree = BUILT_PRODUCTS_DIR; };
21B505431CFF9E610067FB9A /* Cache.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Cache.framework; sourceTree = BUILT_PRODUCTS_DIR; };
21E879181CEA6CFE0046ACE2 /* AnyCache.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = AnyCache.swift; sourceTree = "<group>"; };
21E879191CEA6CFE0046ACE2 /* Box.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Box.swift; sourceTree = "<group>"; };
21E8791A1CEA6CFE0046ACE2 /* Cache.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Cache.swift; sourceTree = "<group>"; };
Expand All @@ -36,6 +44,13 @@
);
runOnlyForDeploymentPostprocessing = 0;
};
21B5053F1CFF9E610067FB9A /* Frameworks */ = {
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXFrameworksBuildPhase section */

/* Begin PBXGroup section */
Expand All @@ -53,6 +68,7 @@
isa = PBXGroup;
children = (
21256E2A1CEA6CCD003B9F67 /* Cache.framework */,
21B505431CFF9E610067FB9A /* Cache.framework */,
);
name = Products;
sourceTree = "<group>";
Expand Down Expand Up @@ -90,6 +106,14 @@
);
runOnlyForDeploymentPostprocessing = 0;
};
21B505401CFF9E610067FB9A /* Headers */ = {
isa = PBXHeadersBuildPhase;
buildActionMask = 2147483647;
files = (
21B505511CFF9E830067FB9A /* Cache.h in Headers */,
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXHeadersBuildPhase section */

/* Begin PBXNativeTarget section */
Expand All @@ -111,6 +135,24 @@
productReference = 21256E2A1CEA6CCD003B9F67 /* Cache.framework */;
productType = "com.apple.product-type.framework";
};
21B505421CFF9E610067FB9A /* Cache-OSX */ = {
isa = PBXNativeTarget;
buildConfigurationList = 21B5054A1CFF9E610067FB9A /* Build configuration list for PBXNativeTarget "Cache-OSX" */;
buildPhases = (
21B5053E1CFF9E610067FB9A /* Sources */,
21B5053F1CFF9E610067FB9A /* Frameworks */,
21B505401CFF9E610067FB9A /* Headers */,
21B505411CFF9E610067FB9A /* Resources */,
);
buildRules = (
);
dependencies = (
);
name = "Cache-OSX";
productName = "Cache-OSX";
productReference = 21B505431CFF9E610067FB9A /* Cache.framework */;
productType = "com.apple.product-type.framework";
};
/* End PBXNativeTarget section */

/* Begin PBXProject section */
Expand All @@ -123,6 +165,9 @@
21256E291CEA6CCD003B9F67 = {
CreatedOnToolsVersion = 7.3.1;
};
21B505421CFF9E610067FB9A = {
CreatedOnToolsVersion = 7.3.1;
};
};
};
buildConfigurationList = 21256E241CEA6CCD003B9F67 /* Build configuration list for PBXProject "Cache" */;
Expand All @@ -138,6 +183,7 @@
projectRoot = "";
targets = (
21256E291CEA6CCD003B9F67 /* Cache-iOS */,
21B505421CFF9E610067FB9A /* Cache-OSX */,
);
};
/* End PBXProject section */
Expand All @@ -150,6 +196,13 @@
);
runOnlyForDeploymentPostprocessing = 0;
};
21B505411CFF9E610067FB9A /* Resources */ = {
isa = PBXResourcesBuildPhase;
buildActionMask = 2147483647;
files = (
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXResourcesBuildPhase section */

/* Begin PBXSourcesBuildPhase section */
Expand All @@ -166,6 +219,19 @@
);
runOnlyForDeploymentPostprocessing = 0;
};
21B5053E1CFF9E610067FB9A /* Sources */ = {
isa = PBXSourcesBuildPhase;
buildActionMask = 2147483647;
files = (
21B5054B1CFF9E7F0067FB9A /* Cache.swift in Sources */,
21B5054C1CFF9E7F0067FB9A /* MemoryCache.swift in Sources */,
21B5054E1CFF9E7F0067FB9A /* MultiCache.swift in Sources */,
21B505501CFF9E7F0067FB9A /* Box.swift in Sources */,
21B5054F1CFF9E7F0067FB9A /* AnyCache.swift in Sources */,
21B5054D1CFF9E7F0067FB9A /* DiskCache.swift in Sources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXSourcesBuildPhase section */

/* Begin XCBuildConfiguration section */
Expand Down Expand Up @@ -207,7 +273,8 @@
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
IPHONEOS_DEPLOYMENT_TARGET = 9.0;
IPHONEOS_DEPLOYMENT_TARGET = 8.0;
MACOSX_DEPLOYMENT_TARGET = 10.10;
MTL_ENABLE_DEBUG_INFO = YES;
ONLY_ACTIVE_ARCH = YES;
SDKROOT = iphoneos;
Expand Down Expand Up @@ -250,7 +317,8 @@
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
IPHONEOS_DEPLOYMENT_TARGET = 9.0;
IPHONEOS_DEPLOYMENT_TARGET = 8.0;
MACOSX_DEPLOYMENT_TARGET = 10.10;
MTL_ENABLE_DEBUG_INFO = NO;
SDKROOT = iphoneos;
TARGETED_DEVICE_FAMILY = "1,2";
Expand Down Expand Up @@ -294,6 +362,48 @@
};
name = Release;
};
21B505481CFF9E610067FB9A /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
APPLICATION_EXTENSION_API_ONLY = YES;
CODE_SIGN_IDENTITY = "-";
COMBINE_HIDPI_IMAGES = YES;
DEFINES_MODULE = YES;
DYLIB_COMPATIBILITY_VERSION = 1;
DYLIB_CURRENT_VERSION = 1;
DYLIB_INSTALL_NAME_BASE = "@rpath";
FRAMEWORK_VERSION = A;
INFOPLIST_FILE = "$(SRCROOT)/Support/Info.plist";
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks @loader_path/Frameworks";
PRODUCT_BUNDLE_IDENTIFIER = com.samsoffes.cache;
PRODUCT_NAME = Cache;
SDKROOT = macosx;
SKIP_INSTALL = YES;
};
name = Debug;
};
21B505491CFF9E610067FB9A /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
APPLICATION_EXTENSION_API_ONLY = YES;
CODE_SIGN_IDENTITY = "-";
COMBINE_HIDPI_IMAGES = YES;
DEFINES_MODULE = YES;
DYLIB_COMPATIBILITY_VERSION = 1;
DYLIB_CURRENT_VERSION = 1;
DYLIB_INSTALL_NAME_BASE = "@rpath";
FRAMEWORK_VERSION = A;
INFOPLIST_FILE = "$(SRCROOT)/Support/Info.plist";
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks @loader_path/Frameworks";
PRODUCT_BUNDLE_IDENTIFIER = com.samsoffes.cache;
PRODUCT_NAME = Cache;
SDKROOT = macosx;
SKIP_INSTALL = YES;
};
name = Release;
};
/* End XCBuildConfiguration section */

/* Begin XCConfigurationList section */
Expand All @@ -315,6 +425,14 @@
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
21B5054A1CFF9E610067FB9A /* Build configuration list for PBXNativeTarget "Cache-OSX" */ = {
isa = XCConfigurationList;
buildConfigurations = (
21B505481CFF9E610067FB9A /* Debug */,
21B505491CFF9E610067FB9A /* Release */,
);
defaultConfigurationIsVisible = 0;
};
/* End XCConfigurationList section */
};
rootObject = 21256E211CEA6CCD003B9F67 /* Project object */;
Expand Down
80 changes: 80 additions & 0 deletions Cache.xcodeproj/xcshareddata/xcschemes/Cache-OSX.xcscheme
Original file line number Diff line number Diff line change
@@ -0,0 +1,80 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "0730"
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"
buildImplicitDependencies = "YES">
<BuildActionEntries>
<BuildActionEntry
buildForTesting = "YES"
buildForRunning = "YES"
buildForProfiling = "YES"
buildForArchiving = "YES"
buildForAnalyzing = "YES">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "21B505421CFF9E610067FB9A"
BuildableName = "Cache.framework"
BlueprintName = "Cache-OSX"
ReferencedContainer = "container:Cache.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 = "21B505421CFF9E610067FB9A"
BuildableName = "Cache.framework"
BlueprintName = "Cache-OSX"
ReferencedContainer = "container:Cache.xcodeproj">
</BuildableReference>
</MacroExpansion>
<AdditionalOptions>
</AdditionalOptions>
</LaunchAction>
<ProfileAction
buildConfiguration = "Release"
shouldUseLaunchSchemeArgsEnv = "YES"
savedToolIdentifier = ""
useCustomWorkingDirectory = "NO"
debugDocumentVersioning = "YES">
<MacroExpansion>
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "21B505421CFF9E610067FB9A"
BuildableName = "Cache.framework"
BlueprintName = "Cache-OSX"
ReferencedContainer = "container:Cache.xcodeproj">
</BuildableReference>
</MacroExpansion>
</ProfileAction>
<AnalyzeAction
buildConfiguration = "Debug">
</AnalyzeAction>
<ArchiveAction
buildConfiguration = "Release"
revealArchiveInOrganizer = "YES">
</ArchiveAction>
</Scheme>

0 comments on commit 53589a7

Please sign in to comment.