Skip to content
This repository has been archived by the owner on Dec 10, 2017. It is now read-only.

Commit

Permalink
Add Mac Target
Browse files Browse the repository at this point in the history
  • Loading branch information
bhargavg committed Apr 19, 2016
1 parent c79737d commit dfb714c
Show file tree
Hide file tree
Showing 5 changed files with 360 additions and 79 deletions.
251 changes: 235 additions & 16 deletions Banana.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,18 @@
7CC8CCB91CBC176600896C9C /* Types.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7CC8CCB61CBC176600896C9C /* Types.swift */; };
7CC8CCBA1CBC176600896C9C /* Operators.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7CC8CCB71CBC176600896C9C /* Operators.swift */; };
7CC8CCBB1CBC176600896C9C /* Functions.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7CC8CCB81CBC176600896C9C /* Functions.swift */; };
7CE5B6D11CC69CF2009D355F /* Banana.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 7CE5B6C01CC69CDE009D355F /* Banana.framework */; };
7CE5B6D71CC69DBD009D355F /* Types.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7CC8CCB61CBC176600896C9C /* Types.swift */; };
7CE5B6D81CC69DBD009D355F /* Operators.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7CC8CCB71CBC176600896C9C /* Operators.swift */; };
7CE5B6D91CC69DBD009D355F /* Functions.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7CC8CCB81CBC176600896C9C /* Functions.swift */; };
7CE5B6DA1CC69DBD009D355F /* Banana.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7CA2DF3A1CBFB3FA00E91622 /* Banana.swift */; };
7CE5B6DB1CC69E67009D355F /* Banana.h in Headers */ = {isa = PBXBuildFile; fileRef = 7CA20E9B1CBCFB8F0098EC8E /* Banana.h */; settings = {ATTRIBUTES = (Public, ); }; };
7CE5B6DC1CC69FD1009D355F /* GetTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7C76D4301CBE594A00363423 /* GetTests.swift */; };
7CE5B6DD1CC69FD1009D355F /* PlainObjectTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7C76D43D1CBE692A00363423 /* PlainObjectTests.swift */; };
7CE5B6DE1CC69FD1009D355F /* NestedObjectTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7C76D4431CBE700C00363423 /* NestedObjectTests.swift */; };
7CE5B6DF1CC69FD1009D355F /* PerfTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7C2053DC1CBE792A00069051 /* PerfTests.swift */; };
7CE5B6E01CC69FE1009D355F /* person.json in Resources */ = {isa = PBXBuildFile; fileRef = 7C76D43F1CBE6F6C00363423 /* person.json */; };
7CE5B6E11CC69FE1009D355F /* personWithTODOItems.json in Resources */ = {isa = PBXBuildFile; fileRef = 7C76D4411CBE6FA100363423 /* personWithTODOItems.json */; };
/* End PBXBuildFile section */

/* Begin PBXContainerItemProxy section */
Expand All @@ -29,11 +41,18 @@
remoteGlobalIDString = 7CC8CC9F1CBC107200896C9C;
remoteInfo = Banana;
};
7CE5B6D21CC69CF2009D355F /* PBXContainerItemProxy */ = {
isa = PBXContainerItemProxy;
containerPortal = 7CC8CC971CBC107200896C9C /* Project object */;
proxyType = 1;
remoteGlobalIDString = 7CE5B6BF1CC69CDE009D355F;
remoteInfo = "Banana-Mac";
};
/* End PBXContainerItemProxy section */

/* Begin PBXFileReference section */
7C2053DC1CBE792A00069051 /* PerfTests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = PerfTests.swift; sourceTree = "<group>"; };
7C76D42E1CBE594A00363423 /* BananaTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = BananaTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; };
7C76D42E1CBE594A00363423 /* Banana-iOSTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = "Banana-iOSTests.xctest"; sourceTree = BUILT_PRODUCTS_DIR; };
7C76D4301CBE594A00363423 /* GetTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = GetTests.swift; sourceTree = "<group>"; };
7C76D4321CBE594A00363423 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
7C76D43D1CBE692A00363423 /* PlainObjectTests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = PlainObjectTests.swift; sourceTree = "<group>"; };
Expand All @@ -47,6 +66,8 @@
7CC8CCB61CBC176600896C9C /* Types.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; name = Types.swift; path = Sources/Types.swift; sourceTree = "<group>"; };
7CC8CCB71CBC176600896C9C /* Operators.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; name = Operators.swift; path = Sources/Operators.swift; sourceTree = "<group>"; };
7CC8CCB81CBC176600896C9C /* Functions.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; name = Functions.swift; path = Sources/Functions.swift; sourceTree = "<group>"; };
7CE5B6C01CC69CDE009D355F /* Banana.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Banana.framework; sourceTree = BUILT_PRODUCTS_DIR; };
7CE5B6CC1CC69CF2009D355F /* Banana-MacTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = "Banana-MacTests.xctest"; sourceTree = BUILT_PRODUCTS_DIR; };
/* End PBXFileReference section */

/* Begin PBXFrameworksBuildPhase section */
Expand All @@ -65,6 +86,21 @@
);
runOnlyForDeploymentPostprocessing = 0;
};
7CE5B6BC1CC69CDE009D355F /* Frameworks */ = {
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
);
runOnlyForDeploymentPostprocessing = 0;
};
7CE5B6C91CC69CF2009D355F /* Frameworks */ = {
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
7CE5B6D11CC69CF2009D355F /* Banana.framework in Frameworks */,
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXFrameworksBuildPhase section */

/* Begin PBXGroup section */
Expand Down Expand Up @@ -96,7 +132,9 @@
isa = PBXGroup;
children = (
7CC8CCA01CBC107200896C9C /* Banana.framework */,
7C76D42E1CBE594A00363423 /* BananaTests.xctest */,
7C76D42E1CBE594A00363423 /* Banana-iOSTests.xctest */,
7CE5B6C01CC69CDE009D355F /* Banana.framework */,
7CE5B6CC1CC69CF2009D355F /* Banana-MacTests.xctest */,
);
name = Products;
sourceTree = "<group>";
Expand Down Expand Up @@ -133,12 +171,20 @@
);
runOnlyForDeploymentPostprocessing = 0;
};
7CE5B6BD1CC69CDE009D355F /* Headers */ = {
isa = PBXHeadersBuildPhase;
buildActionMask = 2147483647;
files = (
7CE5B6DB1CC69E67009D355F /* Banana.h in Headers */,
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXHeadersBuildPhase section */

/* Begin PBXNativeTarget section */
7C76D42D1CBE594A00363423 /* BananaTests */ = {
7C76D42D1CBE594A00363423 /* Banana-iOSTests */ = {
isa = PBXNativeTarget;
buildConfigurationList = 7C76D4381CBE594A00363423 /* Build configuration list for PBXNativeTarget "BananaTests" */;
buildConfigurationList = 7C76D4381CBE594A00363423 /* Build configuration list for PBXNativeTarget "Banana-iOSTests" */;
buildPhases = (
7C76D42A1CBE594A00363423 /* Sources */,
7C76D42B1CBE594A00363423 /* Frameworks */,
Expand All @@ -149,14 +195,14 @@
dependencies = (
7C76D4351CBE594A00363423 /* PBXTargetDependency */,
);
name = BananaTests;
name = "Banana-iOSTests";
productName = BananaTests;
productReference = 7C76D42E1CBE594A00363423 /* BananaTests.xctest */;
productReference = 7C76D42E1CBE594A00363423 /* Banana-iOSTests.xctest */;
productType = "com.apple.product-type.bundle.unit-test";
};
7CC8CC9F1CBC107200896C9C /* Banana */ = {
7CC8CC9F1CBC107200896C9C /* Banana-iOS */ = {
isa = PBXNativeTarget;
buildConfigurationList = 7CC8CCA81CBC107200896C9C /* Build configuration list for PBXNativeTarget "Banana" */;
buildConfigurationList = 7CC8CCA81CBC107200896C9C /* Build configuration list for PBXNativeTarget "Banana-iOS" */;
buildPhases = (
7CC8CC9B1CBC107200896C9C /* Sources */,
7CC8CC9C1CBC107200896C9C /* Frameworks */,
Expand All @@ -167,11 +213,47 @@
);
dependencies = (
);
name = Banana;
name = "Banana-iOS";
productName = Banana;
productReference = 7CC8CCA01CBC107200896C9C /* Banana.framework */;
productType = "com.apple.product-type.framework";
};
7CE5B6BF1CC69CDE009D355F /* Banana-Mac */ = {
isa = PBXNativeTarget;
buildConfigurationList = 7CE5B6C51CC69CDE009D355F /* Build configuration list for PBXNativeTarget "Banana-Mac" */;
buildPhases = (
7CE5B6BB1CC69CDE009D355F /* Sources */,
7CE5B6BC1CC69CDE009D355F /* Frameworks */,
7CE5B6BD1CC69CDE009D355F /* Headers */,
7CE5B6BE1CC69CDE009D355F /* Resources */,
);
buildRules = (
);
dependencies = (
);
name = "Banana-Mac";
productName = "Banana-Mac";
productReference = 7CE5B6C01CC69CDE009D355F /* Banana.framework */;
productType = "com.apple.product-type.framework";
};
7CE5B6CB1CC69CF2009D355F /* Banana-MacTests */ = {
isa = PBXNativeTarget;
buildConfigurationList = 7CE5B6D41CC69CF2009D355F /* Build configuration list for PBXNativeTarget "Banana-MacTests" */;
buildPhases = (
7CE5B6C81CC69CF2009D355F /* Sources */,
7CE5B6C91CC69CF2009D355F /* Frameworks */,
7CE5B6CA1CC69CF2009D355F /* Resources */,
);
buildRules = (
);
dependencies = (
7CE5B6D31CC69CF2009D355F /* PBXTargetDependency */,
);
name = "Banana-MacTests";
productName = "Banana-MacTests";
productReference = 7CE5B6CC1CC69CF2009D355F /* Banana-MacTests.xctest */;
productType = "com.apple.product-type.bundle.unit-test";
};
/* End PBXNativeTarget section */

/* Begin PBXProject section */
Expand All @@ -188,6 +270,12 @@
7CC8CC9F1CBC107200896C9C = {
CreatedOnToolsVersion = 7.3;
};
7CE5B6BF1CC69CDE009D355F = {
CreatedOnToolsVersion = 7.3;
};
7CE5B6CB1CC69CF2009D355F = {
CreatedOnToolsVersion = 7.3;
};
};
};
buildConfigurationList = 7CC8CC9A1CBC107200896C9C /* Build configuration list for PBXProject "Banana" */;
Expand All @@ -202,8 +290,10 @@
projectDirPath = "";
projectRoot = "";
targets = (
7CC8CC9F1CBC107200896C9C /* Banana */,
7C76D42D1CBE594A00363423 /* BananaTests */,
7CC8CC9F1CBC107200896C9C /* Banana-iOS */,
7C76D42D1CBE594A00363423 /* Banana-iOSTests */,
7CE5B6BF1CC69CDE009D355F /* Banana-Mac */,
7CE5B6CB1CC69CF2009D355F /* Banana-MacTests */,
);
};
/* End PBXProject section */
Expand All @@ -225,6 +315,22 @@
);
runOnlyForDeploymentPostprocessing = 0;
};
7CE5B6BE1CC69CDE009D355F /* Resources */ = {
isa = PBXResourcesBuildPhase;
buildActionMask = 2147483647;
files = (
);
runOnlyForDeploymentPostprocessing = 0;
};
7CE5B6CA1CC69CF2009D355F /* Resources */ = {
isa = PBXResourcesBuildPhase;
buildActionMask = 2147483647;
files = (
7CE5B6E01CC69FE1009D355F /* person.json in Resources */,
7CE5B6E11CC69FE1009D355F /* personWithTODOItems.json in Resources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXResourcesBuildPhase section */

/* Begin PBXSourcesBuildPhase section */
Expand All @@ -250,14 +356,41 @@
);
runOnlyForDeploymentPostprocessing = 0;
};
7CE5B6BB1CC69CDE009D355F /* Sources */ = {
isa = PBXSourcesBuildPhase;
buildActionMask = 2147483647;
files = (
7CE5B6D71CC69DBD009D355F /* Types.swift in Sources */,
7CE5B6D81CC69DBD009D355F /* Operators.swift in Sources */,
7CE5B6D91CC69DBD009D355F /* Functions.swift in Sources */,
7CE5B6DA1CC69DBD009D355F /* Banana.swift in Sources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
7CE5B6C81CC69CF2009D355F /* Sources */ = {
isa = PBXSourcesBuildPhase;
buildActionMask = 2147483647;
files = (
7CE5B6DC1CC69FD1009D355F /* GetTests.swift in Sources */,
7CE5B6DD1CC69FD1009D355F /* PlainObjectTests.swift in Sources */,
7CE5B6DE1CC69FD1009D355F /* NestedObjectTests.swift in Sources */,
7CE5B6DF1CC69FD1009D355F /* PerfTests.swift in Sources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXSourcesBuildPhase section */

/* Begin PBXTargetDependency section */
7C76D4351CBE594A00363423 /* PBXTargetDependency */ = {
isa = PBXTargetDependency;
target = 7CC8CC9F1CBC107200896C9C /* Banana */;
target = 7CC8CC9F1CBC107200896C9C /* Banana-iOS */;
targetProxy = 7C76D4341CBE594A00363423 /* PBXContainerItemProxy */;
};
7CE5B6D31CC69CF2009D355F /* PBXTargetDependency */ = {
isa = PBXTargetDependency;
target = 7CE5B6BF1CC69CDE009D355F /* Banana-Mac */;
targetProxy = 7CE5B6D21CC69CF2009D355F /* PBXContainerItemProxy */;
};
/* End PBXTargetDependency section */

/* Begin XCBuildConfiguration section */
Expand Down Expand Up @@ -384,7 +517,7 @@
IPHONEOS_DEPLOYMENT_TARGET = 8.0;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
PRODUCT_BUNDLE_IDENTIFIER = com.bhargavg.Banana;
PRODUCT_NAME = "$(TARGET_NAME)";
PRODUCT_NAME = Banana;
SKIP_INSTALL = YES;
};
name = Debug;
Expand All @@ -401,15 +534,85 @@
IPHONEOS_DEPLOYMENT_TARGET = 8.0;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
PRODUCT_BUNDLE_IDENTIFIER = com.bhargavg.Banana;
PRODUCT_NAME = "$(TARGET_NAME)";
PRODUCT_NAME = Banana;
SKIP_INSTALL = YES;
};
name = Release;
};
7CE5B6C61CC69CDE009D355F /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
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";
MACOSX_DEPLOYMENT_TARGET = 10.11;
PRODUCT_BUNDLE_IDENTIFIER = "com.thoughtbot.$(PRODUCT_NAME)";
PRODUCT_NAME = Banana;
SDKROOT = macosx;
SKIP_INSTALL = YES;
};
name = Debug;
};
7CE5B6C71CC69CDE009D355F /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
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";
MACOSX_DEPLOYMENT_TARGET = 10.11;
PRODUCT_BUNDLE_IDENTIFIER = "com.thoughtbot.$(PRODUCT_NAME)";
PRODUCT_NAME = Banana;
SDKROOT = macosx;
SKIP_INSTALL = YES;
};
name = Release;
};
7CE5B6D51CC69CF2009D355F /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
CODE_SIGN_IDENTITY = "-";
COMBINE_HIDPI_IMAGES = YES;
INFOPLIST_FILE = BananaTests/Info.plist;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks @loader_path/../Frameworks";
MACOSX_DEPLOYMENT_TARGET = 10.11;
PRODUCT_BUNDLE_IDENTIFIER = "com.bhargavg.Banana-MacTests";
PRODUCT_NAME = "$(TARGET_NAME)";
SDKROOT = macosx;
};
name = Debug;
};
7CE5B6D61CC69CF2009D355F /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
CODE_SIGN_IDENTITY = "-";
COMBINE_HIDPI_IMAGES = YES;
INFOPLIST_FILE = BananaTests/Info.plist;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks @loader_path/../Frameworks";
MACOSX_DEPLOYMENT_TARGET = 10.11;
PRODUCT_BUNDLE_IDENTIFIER = "com.bhargavg.Banana-MacTests";
PRODUCT_NAME = "$(TARGET_NAME)";
SDKROOT = macosx;
};
name = Release;
};
/* End XCBuildConfiguration section */

/* Begin XCConfigurationList section */
7C76D4381CBE594A00363423 /* Build configuration list for PBXNativeTarget "BananaTests" */ = {
7C76D4381CBE594A00363423 /* Build configuration list for PBXNativeTarget "Banana-iOSTests" */ = {
isa = XCConfigurationList;
buildConfigurations = (
7C76D4361CBE594A00363423 /* Debug */,
Expand All @@ -427,7 +630,7 @@
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
7CC8CCA81CBC107200896C9C /* Build configuration list for PBXNativeTarget "Banana" */ = {
7CC8CCA81CBC107200896C9C /* Build configuration list for PBXNativeTarget "Banana-iOS" */ = {
isa = XCConfigurationList;
buildConfigurations = (
7CC8CCA91CBC107200896C9C /* Debug */,
Expand All @@ -436,6 +639,22 @@
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
7CE5B6C51CC69CDE009D355F /* Build configuration list for PBXNativeTarget "Banana-Mac" */ = {
isa = XCConfigurationList;
buildConfigurations = (
7CE5B6C61CC69CDE009D355F /* Debug */,
7CE5B6C71CC69CDE009D355F /* Release */,
);
defaultConfigurationIsVisible = 0;
};
7CE5B6D41CC69CF2009D355F /* Build configuration list for PBXNativeTarget "Banana-MacTests" */ = {
isa = XCConfigurationList;
buildConfigurations = (
7CE5B6D51CC69CF2009D355F /* Debug */,
7CE5B6D61CC69CF2009D355F /* Release */,
);
defaultConfigurationIsVisible = 0;
};
/* End XCConfigurationList section */
};
rootObject = 7CC8CC971CBC107200896C9C /* Project object */;
Expand Down
Loading

0 comments on commit dfb714c

Please sign in to comment.