Commit 25f4adc1 by Rune Madsen

Removed static scheme, updated targets and schemes for improved carthage…

Removed static scheme, updated targets and schemes for improved carthage support. Updated readmes to reflect the changes.
parent cc556543
...@@ -7,15 +7,15 @@ ...@@ -7,15 +7,15 @@
objects = { objects = {
/* Begin PBXAggregateTarget section */ /* Begin PBXAggregateTarget section */
904FB61A1AE03DC500EA1758 /* Universal Framework */ = { 904FB61A1AE03DC500EA1758 /* Static Universal Framework */ = {
isa = PBXAggregateTarget; isa = PBXAggregateTarget;
buildConfigurationList = 904FB61B1AE03DC500EA1758 /* Build configuration list for PBXAggregateTarget "Universal Framework" */; buildConfigurationList = 904FB61B1AE03DC500EA1758 /* Build configuration list for PBXAggregateTarget "Static Universal Framework" */;
buildPhases = ( buildPhases = (
904FB61F1AE03DCF00EA1758 /* ShellScript */, 904FB61F1AE03DCF00EA1758 /* ShellScript */,
); );
dependencies = ( dependencies = (
); );
name = "Universal Framework"; name = "Static Universal Framework";
productName = "Mobile Buy SDK-Universal"; productName = "Mobile Buy SDK-Universal";
}; };
90E80E401AFAB0B9003A9909 /* Documentation */ = { 90E80E401AFAB0B9003A9909 /* Documentation */ = {
...@@ -176,6 +176,8 @@ ...@@ -176,6 +176,8 @@
901931691BC5B9BC00D1134E /* BUYProduct.h in Headers */ = {isa = PBXBuildFile; fileRef = 2AF52A7C1A700B0A0087DB2C /* BUYProduct.h */; settings = {ATTRIBUTES = (Public, ); }; }; 901931691BC5B9BC00D1134E /* BUYProduct.h in Headers */ = {isa = PBXBuildFile; fileRef = 2AF52A7C1A700B0A0087DB2C /* BUYProduct.h */; settings = {ATTRIBUTES = (Public, ); }; };
9019316A1BC5B9BC00D1134E /* BUYSerializable.h in Headers */ = {isa = PBXBuildFile; fileRef = F76CFF1E19CB7C500079C703 /* BUYSerializable.h */; settings = {ATTRIBUTES = (Public, ); }; }; 9019316A1BC5B9BC00D1134E /* BUYSerializable.h in Headers */ = {isa = PBXBuildFile; fileRef = F76CFF1E19CB7C500079C703 /* BUYSerializable.h */; settings = {ATTRIBUTES = (Public, ); }; };
9019316B1BC5B9BC00D1134E /* BUYProductVariant.h in Headers */ = {isa = PBXBuildFile; fileRef = 2AF52A811A700B0A0087DB2C /* BUYProductVariant.h */; settings = {ATTRIBUTES = (Public, ); }; }; 9019316B1BC5B9BC00D1134E /* BUYProductVariant.h in Headers */ = {isa = PBXBuildFile; fileRef = 2AF52A811A700B0A0087DB2C /* BUYProductVariant.h */; settings = {ATTRIBUTES = (Public, ); }; };
9035F5FA1BC81D050009DD3B /* Buy.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 901931701BC5B9BC00D1134E /* Buy.framework */; };
9035F5FB1BC81D050009DD3B /* Buy.framework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = 901931701BC5B9BC00D1134E /* Buy.framework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; };
903BCC7C1B7D1C2D00C21FEB /* BUYProductViewErrorView.h in Headers */ = {isa = PBXBuildFile; fileRef = 903BCC7A1B7D1C2D00C21FEB /* BUYProductViewErrorView.h */; }; 903BCC7C1B7D1C2D00C21FEB /* BUYProductViewErrorView.h in Headers */ = {isa = PBXBuildFile; fileRef = 903BCC7A1B7D1C2D00C21FEB /* BUYProductViewErrorView.h */; };
903BCC7D1B7D1C2D00C21FEB /* BUYProductViewErrorView.m in Sources */ = {isa = PBXBuildFile; fileRef = 903BCC7B1B7D1C2D00C21FEB /* BUYProductViewErrorView.m */; }; 903BCC7D1B7D1C2D00C21FEB /* BUYProductViewErrorView.m in Sources */ = {isa = PBXBuildFile; fileRef = 903BCC7B1B7D1C2D00C21FEB /* BUYProductViewErrorView.m */; };
904606AF1B6BC8D700754173 /* BUYProductImageCollectionViewCell.h in Headers */ = {isa = PBXBuildFile; fileRef = 904606AD1B6BC8D700754173 /* BUYProductImageCollectionViewCell.h */; }; 904606AF1B6BC8D700754173 /* BUYProductImageCollectionViewCell.h in Headers */ = {isa = PBXBuildFile; fileRef = 904606AD1B6BC8D700754173 /* BUYProductImageCollectionViewCell.h */; };
...@@ -230,7 +232,6 @@ ...@@ -230,7 +232,6 @@
BE6C07061BB1E46900BD9F7B /* mocked_responses.json in Resources */ = {isa = PBXBuildFile; fileRef = BE6C07051BB1E46900BD9F7B /* mocked_responses.json */; }; BE6C07061BB1E46900BD9F7B /* mocked_responses.json in Resources */ = {isa = PBXBuildFile; fileRef = BE6C07051BB1E46900BD9F7B /* mocked_responses.json */; };
BE98DB4F1BB1ED3E00C29564 /* OHHTTPStubs in Resources */ = {isa = PBXBuildFile; fileRef = BE98DB4E1BB1ED3E00C29564 /* OHHTTPStubs */; settings = {ASSET_TAGS = (); }; }; BE98DB4F1BB1ED3E00C29564 /* OHHTTPStubs in Resources */ = {isa = PBXBuildFile; fileRef = BE98DB4E1BB1ED3E00C29564 /* OHHTTPStubs */; settings = {ASSET_TAGS = (); }; };
BE98DB5C1BB1F4D000C29564 /* OHHTTPStubsResponse+Helpers.m in Sources */ = {isa = PBXBuildFile; fileRef = BE98DB5B1BB1F4D000C29564 /* OHHTTPStubsResponse+Helpers.m */; settings = {ASSET_TAGS = (); }; }; BE98DB5C1BB1F4D000C29564 /* OHHTTPStubsResponse+Helpers.m in Sources */ = {isa = PBXBuildFile; fileRef = BE98DB5B1BB1F4D000C29564 /* OHHTTPStubsResponse+Helpers.m */; settings = {ASSET_TAGS = (); }; };
BE9A643F1B503C2F0033E558 /* Buy.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = BE9A64281B503C2F0033E558 /* Buy.framework */; };
BE9A64471B503C8B0033E558 /* BUYClient.h in Headers */ = {isa = PBXBuildFile; fileRef = F7FDA17019C93F6F00AF4E93 /* BUYClient.h */; settings = {ATTRIBUTES = (Public, ); }; }; BE9A64471B503C8B0033E558 /* BUYClient.h in Headers */ = {isa = PBXBuildFile; fileRef = F7FDA17019C93F6F00AF4E93 /* BUYClient.h */; settings = {ATTRIBUTES = (Public, ); }; };
BE9A64481B503C900033E558 /* BUYClient.m in Sources */ = {isa = PBXBuildFile; fileRef = F7FDA17119C93F6F00AF4E93 /* BUYClient.m */; }; BE9A64481B503C900033E558 /* BUYClient.m in Sources */ = {isa = PBXBuildFile; fileRef = F7FDA17119C93F6F00AF4E93 /* BUYClient.m */; };
BE9A64491B503C940033E558 /* BUYCart.h in Headers */ = {isa = PBXBuildFile; fileRef = F773744719C77A210039681C /* BUYCart.h */; settings = {ATTRIBUTES = (Public, ); }; }; BE9A64491B503C940033E558 /* BUYCart.h in Headers */ = {isa = PBXBuildFile; fileRef = F773744719C77A210039681C /* BUYCart.h */; settings = {ATTRIBUTES = (Public, ); }; };
...@@ -330,14 +331,14 @@ ...@@ -330,14 +331,14 @@
/* End PBXBuildFile section */ /* End PBXBuildFile section */
/* Begin PBXContainerItemProxy section */ /* Begin PBXContainerItemProxy section */
90DAEC341BC6E50B007555A5 /* PBXContainerItemProxy */ = { 9035F5FE1BC81D280009DD3B /* PBXContainerItemProxy */ = {
isa = PBXContainerItemProxy; isa = PBXContainerItemProxy;
containerPortal = F773741519C770CB0039681C /* Project object */; containerPortal = F773741519C770CB0039681C /* Project object */;
proxyType = 1; proxyType = 1;
remoteGlobalIDString = BE9A64271B503C2F0033E558; remoteGlobalIDString = BE9A64271B503C2F0033E558;
remoteInfo = Buy; remoteInfo = "Buy Static";
}; };
BE9A643D1B503C2F0033E558 /* PBXContainerItemProxy */ = { 90DAEC341BC6E50B007555A5 /* PBXContainerItemProxy */ = {
isa = PBXContainerItemProxy; isa = PBXContainerItemProxy;
containerPortal = F773741519C770CB0039681C /* Project object */; containerPortal = F773741519C770CB0039681C /* Project object */;
proxyType = 1; proxyType = 1;
...@@ -353,6 +354,7 @@ ...@@ -353,6 +354,7 @@
dstPath = ""; dstPath = "";
dstSubfolderSpec = 10; dstSubfolderSpec = 10;
files = ( files = (
9035F5FB1BC81D050009DD3B /* Buy.framework in Embed Frameworks */,
); );
name = "Embed Frameworks"; name = "Embed Frameworks";
runOnlyForDeploymentPostprocessing = 0; runOnlyForDeploymentPostprocessing = 0;
...@@ -572,7 +574,7 @@ ...@@ -572,7 +574,7 @@
isa = PBXFrameworksBuildPhase; isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647; buildActionMask = 2147483647;
files = ( files = (
BE9A643F1B503C2F0033E558 /* Buy.framework in Frameworks */, 9035F5FA1BC81D050009DD3B /* Buy.framework in Frameworks */,
); );
runOnlyForDeploymentPostprocessing = 0; runOnlyForDeploymentPostprocessing = 0;
}; };
...@@ -1091,9 +1093,9 @@ ...@@ -1091,9 +1093,9 @@
/* End PBXHeadersBuildPhase section */ /* End PBXHeadersBuildPhase section */
/* Begin PBXNativeTarget section */ /* Begin PBXNativeTarget section */
901930E11BC5B9BC00D1134E /* Buy Dynamic */ = { 901930E11BC5B9BC00D1134E /* Buy */ = {
isa = PBXNativeTarget; isa = PBXNativeTarget;
buildConfigurationList = 9019316D1BC5B9BC00D1134E /* Build configuration list for PBXNativeTarget "Buy Dynamic" */; buildConfigurationList = 9019316D1BC5B9BC00D1134E /* Build configuration list for PBXNativeTarget "Buy" */;
buildPhases = ( buildPhases = (
901930E21BC5B9BC00D1134E /* Sources */, 901930E21BC5B9BC00D1134E /* Sources */,
901931251BC5B9BC00D1134E /* Frameworks */, 901931251BC5B9BC00D1134E /* Frameworks */,
...@@ -1104,7 +1106,7 @@ ...@@ -1104,7 +1106,7 @@
); );
dependencies = ( dependencies = (
); );
name = "Buy Dynamic"; name = Buy;
productName = Buy; productName = Buy;
productReference = 901931701BC5B9BC00D1134E /* Buy.framework */; productReference = 901931701BC5B9BC00D1134E /* Buy.framework */;
productType = "com.apple.product-type.framework"; productType = "com.apple.product-type.framework";
...@@ -1139,16 +1141,16 @@ ...@@ -1139,16 +1141,16 @@
buildRules = ( buildRules = (
); );
dependencies = ( dependencies = (
BE9A643E1B503C2F0033E558 /* PBXTargetDependency */, 9035F5FF1BC81D280009DD3B /* PBXTargetDependency */,
); );
name = Playground; name = Playground;
productName = Playground; productName = Playground;
productReference = 90F7BA681B0D1DAF0067864D /* Playground.app */; productReference = 90F7BA681B0D1DAF0067864D /* Playground.app */;
productType = "com.apple.product-type.application"; productType = "com.apple.product-type.application";
}; };
BE9A64271B503C2F0033E558 /* Buy */ = { BE9A64271B503C2F0033E558 /* Buy Static */ = {
isa = PBXNativeTarget; isa = PBXNativeTarget;
buildConfigurationList = BE9A64411B503C2F0033E558 /* Build configuration list for PBXNativeTarget "Buy" */; buildConfigurationList = BE9A64411B503C2F0033E558 /* Build configuration list for PBXNativeTarget "Buy Static" */;
buildPhases = ( buildPhases = (
BE9A64231B503C2F0033E558 /* Sources */, BE9A64231B503C2F0033E558 /* Sources */,
BE9A64241B503C2F0033E558 /* Frameworks */, BE9A64241B503C2F0033E558 /* Frameworks */,
...@@ -1159,7 +1161,7 @@ ...@@ -1159,7 +1161,7 @@
); );
dependencies = ( dependencies = (
); );
name = Buy; name = "Buy Static";
productName = Buy; productName = Buy;
productReference = BE9A64281B503C2F0033E558 /* Buy.framework */; productReference = BE9A64281B503C2F0033E558 /* Buy.framework */;
productType = "com.apple.product-type.framework"; productType = "com.apple.product-type.framework";
...@@ -1174,6 +1176,9 @@ ...@@ -1174,6 +1176,9 @@
LastUpgradeCheck = 0630; LastUpgradeCheck = 0630;
ORGANIZATIONNAME = "Shopify Inc."; ORGANIZATIONNAME = "Shopify Inc.";
TargetAttributes = { TargetAttributes = {
901930E11BC5B9BC00D1134E = {
DevelopmentTeam = A7XGC83MZE;
};
904FB61A1AE03DC500EA1758 = { 904FB61A1AE03DC500EA1758 = {
CreatedOnToolsVersion = 6.3; CreatedOnToolsVersion = 6.3;
}; };
...@@ -1194,6 +1199,7 @@ ...@@ -1194,6 +1199,7 @@
}; };
BE9A64271B503C2F0033E558 = { BE9A64271B503C2F0033E558 = {
CreatedOnToolsVersion = 6.4; CreatedOnToolsVersion = 6.4;
DevelopmentTeam = A7XGC83MZE;
}; };
}; };
}; };
...@@ -1210,12 +1216,12 @@ ...@@ -1210,12 +1216,12 @@
projectDirPath = ""; projectDirPath = "";
projectRoot = ""; projectRoot = "";
targets = ( targets = (
904FB61A1AE03DC500EA1758 /* Universal Framework */, 904FB61A1AE03DC500EA1758 /* Static Universal Framework */,
90E80E401AFAB0B9003A9909 /* Documentation */, 90E80E401AFAB0B9003A9909 /* Documentation */,
90F7BA671B0D1DAF0067864D /* Playground */, 90F7BA671B0D1DAF0067864D /* Playground */,
90F592EB1B0D5EFE0026B382 /* Mobile Buy SDK Tests */, 90F592EB1B0D5EFE0026B382 /* Mobile Buy SDK Tests */,
BE9A64271B503C2F0033E558 /* Buy */, BE9A64271B503C2F0033E558 /* Buy Static */,
901930E11BC5B9BC00D1134E /* Buy Dynamic */, 901930E11BC5B9BC00D1134E /* Buy */,
); );
}; };
/* End PBXProject section */ /* End PBXProject section */
...@@ -1467,15 +1473,15 @@ ...@@ -1467,15 +1473,15 @@
/* End PBXSourcesBuildPhase section */ /* End PBXSourcesBuildPhase section */
/* Begin PBXTargetDependency section */ /* Begin PBXTargetDependency section */
90DAEC351BC6E50B007555A5 /* PBXTargetDependency */ = { 9035F5FF1BC81D280009DD3B /* PBXTargetDependency */ = {
isa = PBXTargetDependency; isa = PBXTargetDependency;
target = BE9A64271B503C2F0033E558 /* Buy */; target = BE9A64271B503C2F0033E558 /* Buy Static */;
targetProxy = 90DAEC341BC6E50B007555A5 /* PBXContainerItemProxy */; targetProxy = 9035F5FE1BC81D280009DD3B /* PBXContainerItemProxy */;
}; };
BE9A643E1B503C2F0033E558 /* PBXTargetDependency */ = { 90DAEC351BC6E50B007555A5 /* PBXTargetDependency */ = {
isa = PBXTargetDependency; isa = PBXTargetDependency;
target = BE9A64271B503C2F0033E558 /* Buy */; target = BE9A64271B503C2F0033E558 /* Buy Static */;
targetProxy = BE9A643D1B503C2F0033E558 /* PBXContainerItemProxy */; targetProxy = 90DAEC341BC6E50B007555A5 /* PBXContainerItemProxy */;
}; };
/* End PBXTargetDependency section */ /* End PBXTargetDependency section */
...@@ -1503,6 +1509,7 @@ ...@@ -1503,6 +1509,7 @@
isa = XCBuildConfiguration; isa = XCBuildConfiguration;
buildSettings = { buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO; ALWAYS_SEARCH_USER_PATHS = NO;
CODE_SIGN_IDENTITY = "iPhone Developer";
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
CURRENT_PROJECT_VERSION = 1; CURRENT_PROJECT_VERSION = 1;
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
...@@ -1521,7 +1528,7 @@ ...@@ -1521,7 +1528,7 @@
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
MACH_O_TYPE = mh_dylib; MACH_O_TYPE = mh_dylib;
MODULEMAP_FILE = ""; MODULEMAP_FILE = "";
PRODUCT_NAME = Buy; PRODUCT_NAME = "$(TARGET_NAME)";
SKIP_INSTALL = YES; SKIP_INSTALL = YES;
TARGETED_DEVICE_FAMILY = "1,2"; TARGETED_DEVICE_FAMILY = "1,2";
VERSIONING_SYSTEM = "apple-generic"; VERSIONING_SYSTEM = "apple-generic";
...@@ -1533,6 +1540,7 @@ ...@@ -1533,6 +1540,7 @@
isa = XCBuildConfiguration; isa = XCBuildConfiguration;
buildSettings = { buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO; ALWAYS_SEARCH_USER_PATHS = NO;
CODE_SIGN_IDENTITY = "iPhone Developer";
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
COPY_PHASE_STRIP = NO; COPY_PHASE_STRIP = NO;
CURRENT_PROJECT_VERSION = 1; CURRENT_PROJECT_VERSION = 1;
...@@ -1548,7 +1556,7 @@ ...@@ -1548,7 +1556,7 @@
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
MACH_O_TYPE = mh_dylib; MACH_O_TYPE = mh_dylib;
MODULEMAP_FILE = ""; MODULEMAP_FILE = "";
PRODUCT_NAME = Buy; PRODUCT_NAME = "$(TARGET_NAME)";
SKIP_INSTALL = YES; SKIP_INSTALL = YES;
TARGETED_DEVICE_FAMILY = "1,2"; TARGETED_DEVICE_FAMILY = "1,2";
VERSIONING_SYSTEM = "apple-generic"; VERSIONING_SYSTEM = "apple-generic";
...@@ -1698,6 +1706,7 @@ ...@@ -1698,6 +1706,7 @@
isa = XCBuildConfiguration; isa = XCBuildConfiguration;
buildSettings = { buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO; ALWAYS_SEARCH_USER_PATHS = NO;
CODE_SIGN_IDENTITY = "iPhone Developer";
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
CURRENT_PROJECT_VERSION = 1; CURRENT_PROJECT_VERSION = 1;
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
...@@ -1716,7 +1725,7 @@ ...@@ -1716,7 +1725,7 @@
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
MACH_O_TYPE = staticlib; MACH_O_TYPE = staticlib;
MODULEMAP_FILE = "${PROJECT_DIR}/Mobile Buy SDK/Static Framework/Buy.modulemap"; MODULEMAP_FILE = "${PROJECT_DIR}/Mobile Buy SDK/Static Framework/Buy.modulemap";
PRODUCT_NAME = "$(TARGET_NAME)"; PRODUCT_NAME = Buy;
SKIP_INSTALL = YES; SKIP_INSTALL = YES;
TARGETED_DEVICE_FAMILY = "1,2"; TARGETED_DEVICE_FAMILY = "1,2";
VERSIONING_SYSTEM = "apple-generic"; VERSIONING_SYSTEM = "apple-generic";
...@@ -1728,6 +1737,7 @@ ...@@ -1728,6 +1737,7 @@
isa = XCBuildConfiguration; isa = XCBuildConfiguration;
buildSettings = { buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO; ALWAYS_SEARCH_USER_PATHS = NO;
CODE_SIGN_IDENTITY = "iPhone Developer";
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
COPY_PHASE_STRIP = NO; COPY_PHASE_STRIP = NO;
CURRENT_PROJECT_VERSION = 1; CURRENT_PROJECT_VERSION = 1;
...@@ -1743,7 +1753,7 @@ ...@@ -1743,7 +1753,7 @@
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
MACH_O_TYPE = staticlib; MACH_O_TYPE = staticlib;
MODULEMAP_FILE = "${PROJECT_DIR}/Mobile Buy SDK/Static Framework/Buy.modulemap"; MODULEMAP_FILE = "${PROJECT_DIR}/Mobile Buy SDK/Static Framework/Buy.modulemap";
PRODUCT_NAME = "$(TARGET_NAME)"; PRODUCT_NAME = Buy;
SKIP_INSTALL = YES; SKIP_INSTALL = YES;
TARGETED_DEVICE_FAMILY = "1,2"; TARGETED_DEVICE_FAMILY = "1,2";
VERSIONING_SYSTEM = "apple-generic"; VERSIONING_SYSTEM = "apple-generic";
...@@ -1836,7 +1846,7 @@ ...@@ -1836,7 +1846,7 @@
/* End XCBuildConfiguration section */ /* End XCBuildConfiguration section */
/* Begin XCConfigurationList section */ /* Begin XCConfigurationList section */
9019316D1BC5B9BC00D1134E /* Build configuration list for PBXNativeTarget "Buy Dynamic" */ = { 9019316D1BC5B9BC00D1134E /* Build configuration list for PBXNativeTarget "Buy" */ = {
isa = XCConfigurationList; isa = XCConfigurationList;
buildConfigurations = ( buildConfigurations = (
9019316E1BC5B9BC00D1134E /* Debug */, 9019316E1BC5B9BC00D1134E /* Debug */,
...@@ -1845,7 +1855,7 @@ ...@@ -1845,7 +1855,7 @@
defaultConfigurationIsVisible = 0; defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release; defaultConfigurationName = Release;
}; };
904FB61B1AE03DC500EA1758 /* Build configuration list for PBXAggregateTarget "Universal Framework" */ = { 904FB61B1AE03DC500EA1758 /* Build configuration list for PBXAggregateTarget "Static Universal Framework" */ = {
isa = XCConfigurationList; isa = XCConfigurationList;
buildConfigurations = ( buildConfigurations = (
904FB61C1AE03DC500EA1758 /* Debug */, 904FB61C1AE03DC500EA1758 /* Debug */,
...@@ -1881,7 +1891,7 @@ ...@@ -1881,7 +1891,7 @@
defaultConfigurationIsVisible = 0; defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release; defaultConfigurationName = Release;
}; };
BE9A64411B503C2F0033E558 /* Build configuration list for PBXNativeTarget "Buy" */ = { BE9A64411B503C2F0033E558 /* Build configuration list for PBXNativeTarget "Buy Static" */ = {
isa = XCConfigurationList; isa = XCConfigurationList;
buildConfigurations = ( buildConfigurations = (
BE9A64421B503C2F0033E558 /* Debug */, BE9A64421B503C2F0033E558 /* Debug */,
......
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "0700"
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"
buildImplicitDependencies = "YES">
<BuildActionEntries>
<BuildActionEntry
buildForTesting = "YES"
buildForRunning = "YES"
buildForProfiling = "YES"
buildForArchiving = "YES"
buildForAnalyzing = "YES">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "901930E11BC5B9BC00D1134E"
BuildableName = "Buy.framework"
BlueprintName = "Buy Dynamic"
ReferencedContainer = "container:Mobile Buy SDK.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 = "901930E11BC5B9BC00D1134E"
BuildableName = "Buy.framework"
BlueprintName = "Buy Dynamic"
ReferencedContainer = "container:Mobile Buy SDK.xcodeproj">
</BuildableReference>
</MacroExpansion>
<AdditionalOptions>
</AdditionalOptions>
</LaunchAction>
<ProfileAction
buildConfiguration = "Release"
shouldUseLaunchSchemeArgsEnv = "YES"
savedToolIdentifier = ""
useCustomWorkingDirectory = "NO"
debugDocumentVersioning = "YES">
<MacroExpansion>
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "901930E11BC5B9BC00D1134E"
BuildableName = "Buy.framework"
BlueprintName = "Buy Dynamic"
ReferencedContainer = "container:Mobile Buy SDK.xcodeproj">
</BuildableReference>
</MacroExpansion>
</ProfileAction>
<AnalyzeAction
buildConfiguration = "Debug">
</AnalyzeAction>
<ArchiveAction
buildConfiguration = "Release"
revealArchiveInOrganizer = "YES">
</ArchiveAction>
</Scheme>
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
buildForAnalyzing = "YES"> buildForAnalyzing = "YES">
<BuildableReference <BuildableReference
BuildableIdentifier = "primary" BuildableIdentifier = "primary"
BlueprintIdentifier = "BE9A64271B503C2F0033E558" BlueprintIdentifier = "901930E11BC5B9BC00D1134E"
BuildableName = "Buy.framework" BuildableName = "Buy.framework"
BlueprintName = "Buy" BlueprintName = "Buy"
ReferencedContainer = "container:Mobile Buy SDK.xcodeproj"> ReferencedContainer = "container:Mobile Buy SDK.xcodeproj">
...@@ -45,7 +45,7 @@ ...@@ -45,7 +45,7 @@
<MacroExpansion> <MacroExpansion>
<BuildableReference <BuildableReference
BuildableIdentifier = "primary" BuildableIdentifier = "primary"
BlueprintIdentifier = "BE9A64271B503C2F0033E558" BlueprintIdentifier = "901930E11BC5B9BC00D1134E"
BuildableName = "Buy.framework" BuildableName = "Buy.framework"
BlueprintName = "Buy" BlueprintName = "Buy"
ReferencedContainer = "container:Mobile Buy SDK.xcodeproj"> ReferencedContainer = "container:Mobile Buy SDK.xcodeproj">
...@@ -63,7 +63,7 @@ ...@@ -63,7 +63,7 @@
<MacroExpansion> <MacroExpansion>
<BuildableReference <BuildableReference
BuildableIdentifier = "primary" BuildableIdentifier = "primary"
BlueprintIdentifier = "BE9A64271B503C2F0033E558" BlueprintIdentifier = "901930E11BC5B9BC00D1134E"
BuildableName = "Buy.framework" BuildableName = "Buy.framework"
BlueprintName = "Buy" BlueprintName = "Buy"
ReferencedContainer = "container:Mobile Buy SDK.xcodeproj"> ReferencedContainer = "container:Mobile Buy SDK.xcodeproj">
...@@ -71,7 +71,7 @@ ...@@ -71,7 +71,7 @@
</MacroExpansion> </MacroExpansion>
</ProfileAction> </ProfileAction>
<AnalyzeAction <AnalyzeAction
buildConfiguration = "Release"> buildConfiguration = "Debug">
</AnalyzeAction> </AnalyzeAction>
<ArchiveAction <ArchiveAction
buildConfiguration = "Release" buildConfiguration = "Release"
......
...@@ -15,8 +15,8 @@ ...@@ -15,8 +15,8 @@
<BuildableReference <BuildableReference
BuildableIdentifier = "primary" BuildableIdentifier = "primary"
BlueprintIdentifier = "904FB61A1AE03DC500EA1758" BlueprintIdentifier = "904FB61A1AE03DC500EA1758"
BuildableName = "Universal Framework" BuildableName = "Static Universal Framework"
BlueprintName = "Universal Framework" BlueprintName = "Static Universal Framework"
ReferencedContainer = "container:Mobile Buy SDK.xcodeproj"> ReferencedContainer = "container:Mobile Buy SDK.xcodeproj">
</BuildableReference> </BuildableReference>
</BuildActionEntry> </BuildActionEntry>
...@@ -46,8 +46,8 @@ ...@@ -46,8 +46,8 @@
<BuildableReference <BuildableReference
BuildableIdentifier = "primary" BuildableIdentifier = "primary"
BlueprintIdentifier = "904FB61A1AE03DC500EA1758" BlueprintIdentifier = "904FB61A1AE03DC500EA1758"
BuildableName = "Universal Framework" BuildableName = "Static Universal Framework"
BlueprintName = "Universal Framework" BlueprintName = "Static Universal Framework"
ReferencedContainer = "container:Mobile Buy SDK.xcodeproj"> ReferencedContainer = "container:Mobile Buy SDK.xcodeproj">
</BuildableReference> </BuildableReference>
</MacroExpansion> </MacroExpansion>
...@@ -64,8 +64,8 @@ ...@@ -64,8 +64,8 @@
<BuildableReference <BuildableReference
BuildableIdentifier = "primary" BuildableIdentifier = "primary"
BlueprintIdentifier = "904FB61A1AE03DC500EA1758" BlueprintIdentifier = "904FB61A1AE03DC500EA1758"
BuildableName = "Universal Framework" BuildableName = "Static Universal Framework"
BlueprintName = "Universal Framework" BlueprintName = "Static Universal Framework"
ReferencedContainer = "container:Mobile Buy SDK.xcodeproj"> ReferencedContainer = "container:Mobile Buy SDK.xcodeproj">
</BuildableReference> </BuildableReference>
</MacroExpansion> </MacroExpansion>
......
...@@ -30,8 +30,8 @@ See the [Sample Apps](/Mobile Buy SDK Sample Apps/) for an example of Dynamic Fr ...@@ -30,8 +30,8 @@ See the [Sample Apps](/Mobile Buy SDK Sample Apps/) for an example of Dynamic Fr
If you would like to not include the Mobile Buy SDK Project within your existing project, you can link directly to the `Buy.framework`. If you would like to not include the Mobile Buy SDK Project within your existing project, you can link directly to the `Buy.framework`.
1. Open the `Mobile Buy SDK.xcodeproj` and build the `Universal Framework` Target 1. Open the `Mobile Buy SDK.xcodeproj` and build the `Static Universal Framework` scheme
2. Drag the `Buy.framework` that was just created from `Mobile Buy SDK Sample Apps` onto the `Linked Frameworks and Libraries` section for the target you want to add the framework to. Check Copy items if needed so the framework is copied to your project 2. Drag the `Buy.framework` that was just created from `Mobile Buy SDK Sample Apps` into the `Linked Frameworks and Libraries` section for the target you want to add the framework to. Check Copy items if needed so the framework is copied to your project
3. In the `Build Settings` tab, add `-all_load` to `Other Linker Flags` 3. In the `Build Settings` tab, add `-all_load` to `Other Linker Flags`
#### CocoaPods #### CocoaPods
...@@ -98,17 +98,17 @@ The workspace includes the Mobile Buy SDK project. ...@@ -98,17 +98,17 @@ The workspace includes the Mobile Buy SDK project.
The Mobile Buy SDK includes a number of targets and schemes: The Mobile Buy SDK includes a number of targets and schemes:
* **Buy**: This is the Mobile Buy SDK static framework. This build is based on the current build configuration. To build a universal framework that can run on a device and on the Simulator and to be included in your app, please refer to the `Universal Framework` target below * **Buy**: This is the Mobile Buy SDK dynamic framework. Please refer to the installation section above
* **Buy Dynamic**: This is the Mobile Buy SDK dynamic framework. Please refer to the installation section above. * **Buy Static** (target only): This is the Mobile Buy SDK static framework. This build is based on the current build configuration. To build a universal framework that can run on a device and on the Simulator and to be included in your app, please refer to the `Universal Framework` target below
* **Universal Framework**: This builds a static framework using `build_universal.sh` script in the `Universal Framework` target and copies the built framework in the `/Mobile Buy SDK Sample Apps` folder. This is a fat binary that includes arm and i386 slices. Build this target if you have made any changes to the framework that you want to test with the sample apps as the sample apps do not build the framework directly but embed the already built framework * **Static Universal Framework**: This builds a **static** framework from the `Buy Static` target using the `build_universal.sh` script in the `Static Universal Framework` target and copies the built framework in the `/Mobile Buy SDK Sample Apps` folder. This is a fat binary that includes arm and i386 slices. Build this target if you have made any changes to the framework that you want to test with the sample apps as the sample apps do not build the framework directly but embed the already built framework
* **Mobile Buy SDK Tests**: Tests for the Mobile Buy SDK framework. See instructions below * **Mobile Buy SDK Tests**: Tests for the Mobile Buy SDK framework. See instructions below
* **Documentation**: This generates appledoc documentation for the framework * **Documentation**: This generates appledoc documentation for the framework
* **Playground**: This target is a basic app that depends directly on the `Buy` framework target and builds the framework every time using the `Playground` app's build configuration. You may use this app and target to play around with the SDK. Be sure not to check in any changes you may have made in files related to this app * **Playground**: This is a basic app that depends directly on the `Buy` dynamic framework. You may use this app and target to play around with the SDK. Be sure not to check in any changes you may have made in files related to this app
### Sample Apps ### Sample Apps
......
#!/bin/sh #!/bin/sh
UNIVERSAL_OUTPUTFOLDER=${BUILD_DIR}/${CONFIGURATION}-universal UNIVERSAL_OUTPUTFOLDER=${BUILD_DIR}/${CONFIGURATION}-universal
TARGET_NAME="Buy Static"
FRAMEWORK_NAME="Buy" FRAMEWORK_NAME="Buy"
# make sure the output directory exists # make sure the output directory exists
mkdir -p "${UNIVERSAL_OUTPUTFOLDER}" mkdir -p "${UNIVERSAL_OUTPUTFOLDER}"
# Build Device and Simulator versions # Build Device and Simulator versions
xcodebuild -target "${FRAMEWORK_NAME}" ONLY_ACTIVE_ARCH=NO -configuration ${CONFIGURATION} -OBJROOT="${OBJROOT}" -sdk iphoneos BUILD_DIR="${BUILD_DIR}" SYMROOT="${SYMROOT}" BUILD_ROOT="${BUILD_ROOT}" clean build xcodebuild -target "${TARGET_NAME}" ONLY_ACTIVE_ARCH=NO -configuration ${CONFIGURATION} -OBJROOT="${OBJROOT}" -sdk iphoneos BUILD_DIR="${BUILD_DIR}" SYMROOT="${SYMROOT}" BUILD_ROOT="${BUILD_ROOT}" clean build
xcodebuild -target "${FRAMEWORK_NAME}" ONLY_ACTIVE_ARCH=NO -configuration ${CONFIGURATION} -OBJROOT="${OBJROOT}" -sdk iphonesimulator BUILD_DIR="${BUILD_DIR}" SYMROOT="${SYMROOT}" BUILD_ROOT="${BUILD_ROOT}" clean build xcodebuild -target "${TARGET_NAME}" ONLY_ACTIVE_ARCH=NO -configuration ${CONFIGURATION} -OBJROOT="${OBJROOT}" -sdk iphonesimulator BUILD_DIR="${BUILD_DIR}" SYMROOT="${SYMROOT}" BUILD_ROOT="${BUILD_ROOT}" clean build
# Copy the framework structure (from iphoneos build) to the universal folder # Copy the framework structure (from iphoneos build) to the universal folder
cp -R "${BUILD_DIR}/${CONFIGURATION}-iphoneos/${FRAMEWORK_NAME}.framework" "${UNIVERSAL_OUTPUTFOLDER}/" cp -R "${BUILD_DIR}/${CONFIGURATION}-iphoneos/${FRAMEWORK_NAME}.framework" "${UNIVERSAL_OUTPUTFOLDER}/"
...@@ -17,6 +18,6 @@ cp -R "${BUILD_DIR}/${CONFIGURATION}-iphoneos/${FRAMEWORK_NAME}.framework" "${UN ...@@ -17,6 +18,6 @@ cp -R "${BUILD_DIR}/${CONFIGURATION}-iphoneos/${FRAMEWORK_NAME}.framework" "${UN
lipo -create -output "${UNIVERSAL_OUTPUTFOLDER}/${FRAMEWORK_NAME}.framework/${FRAMEWORK_NAME}" "${BUILD_DIR}/${CONFIGURATION}-iphonesimulator/${FRAMEWORK_NAME}.framework/${FRAMEWORK_NAME}" "${BUILD_DIR}/${CONFIGURATION}-iphoneos/${FRAMEWORK_NAME}.framework/${FRAMEWORK_NAME}" lipo -create -output "${UNIVERSAL_OUTPUTFOLDER}/${FRAMEWORK_NAME}.framework/${FRAMEWORK_NAME}" "${BUILD_DIR}/${CONFIGURATION}-iphonesimulator/${FRAMEWORK_NAME}.framework/${FRAMEWORK_NAME}" "${BUILD_DIR}/${CONFIGURATION}-iphoneos/${FRAMEWORK_NAME}.framework/${FRAMEWORK_NAME}"
# Copy the framework to the sample apps folder # Copy the framework to the sample apps folder
rm -rf "${SRCROOT}/../Mobile Buy SDK Sample Apps/${FRAMEWORK_NAME}.framework" rm -rf "${SRCROOT}/../Mobile Buy SDK Sample Apps/${TARGET_NAME}.framework"
cp -r "${UNIVERSAL_OUTPUTFOLDER}/${FRAMEWORK_NAME}.framework" "${SRCROOT}/../Mobile Buy SDK Sample Apps" cp -r "${UNIVERSAL_OUTPUTFOLDER}/${FRAMEWORK_NAME}.framework" "${SRCROOT}/../Mobile Buy SDK Sample Apps"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment