From d678acd8ea2e35f3bd6bbf10750ed192c9e1dfb0 Mon Sep 17 00:00:00 2001 From: Ce Zheng Date: Fri, 25 Sep 2015 19:26:47 +0900 Subject: [PATCH] add WatchOS target --- PySwiftyRegex.xcodeproj/project.pbxproj | 114 ++++++++++++++++-- .../xcschemes/PySwiftyRegex-WatchOS.xcscheme | 80 ++++++++++++ 2 files changed, 182 insertions(+), 12 deletions(-) create mode 100644 PySwiftyRegex.xcodeproj/xcshareddata/xcschemes/PySwiftyRegex-WatchOS.xcscheme diff --git a/PySwiftyRegex.xcodeproj/project.pbxproj b/PySwiftyRegex.xcodeproj/project.pbxproj index 5bcd1d4..d18bcb8 100644 --- a/PySwiftyRegex.xcodeproj/project.pbxproj +++ b/PySwiftyRegex.xcodeproj/project.pbxproj @@ -18,6 +18,8 @@ 0CEBDD3C1B39C54B003A40BB /* ReRegexObjectTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0CEBDCED1B39B2FC003A40BB /* ReRegexObjectTests.swift */; }; 0CEBDD3D1B39C54B003A40BB /* ReMatchObjectTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0CEBDCFA1B39B48C003A40BB /* ReMatchObjectTests.swift */; }; 0CEBDD3E1B39C5EC003A40BB /* PySwiftyRegex.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0CEBDCF81B39B312003A40BB /* PySwiftyRegex.swift */; }; + 795AFFA81BB5571B0055D858 /* PySwiftyRegex.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0CEBDCF81B39B312003A40BB /* PySwiftyRegex.swift */; settings = {ASSET_TAGS = (); }; }; + 795AFFA91BB557320055D858 /* PySwiftyRegex.h in Headers */ = {isa = PBXBuildFile; fileRef = 0CEBDCE11B39B2FB003A40BB /* PySwiftyRegex.h */; settings = {ATTRIBUTES = (Public, ); }; }; /* End PBXBuildFile section */ /* Begin PBXContainerItemProxy section */ @@ -49,6 +51,7 @@ 0CEBDCFA1B39B48C003A40BB /* ReMatchObjectTests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ReMatchObjectTests.swift; sourceTree = ""; }; 0CEBDD241B39B8C3003A40BB /* PySwiftyRegex.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = PySwiftyRegex.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 0CEBDD2D1B39B8C4003A40BB /* PySwiftyRegex-OSXTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = "PySwiftyRegex-OSXTests.xctest"; sourceTree = BUILT_PRODUCTS_DIR; }; + 795AFFA01BB556F30055D858 /* PySwiftyRegex.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = PySwiftyRegex.framework; sourceTree = BUILT_PRODUCTS_DIR; }; /* End PBXFileReference section */ /* Begin PBXFrameworksBuildPhase section */ @@ -82,6 +85,13 @@ ); runOnlyForDeploymentPostprocessing = 0; }; + 795AFF9C1BB556F30055D858 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; /* End PBXFrameworksBuildPhase section */ /* Begin PBXGroup section */ @@ -101,6 +111,7 @@ 0CEBDCE81B39B2FC003A40BB /* PySwiftyRegex-iOSTests.xctest */, 0CEBDD241B39B8C3003A40BB /* PySwiftyRegex.framework */, 0CEBDD2D1B39B8C4003A40BB /* PySwiftyRegex-OSXTests.xctest */, + 795AFFA01BB556F30055D858 /* PySwiftyRegex.framework */, ); name = Products; sourceTree = ""; @@ -145,6 +156,14 @@ ); runOnlyForDeploymentPostprocessing = 0; }; + 795AFF9D1BB556F30055D858 /* Headers */ = { + isa = PBXHeadersBuildPhase; + buildActionMask = 2147483647; + files = ( + 795AFFA91BB557320055D858 /* PySwiftyRegex.h in Headers */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; /* End PBXHeadersBuildPhase section */ /* Begin PBXNativeTarget section */ @@ -220,6 +239,24 @@ productReference = 0CEBDD2D1B39B8C4003A40BB /* PySwiftyRegex-OSXTests.xctest */; productType = "com.apple.product-type.bundle.unit-test"; }; + 795AFF9F1BB556F30055D858 /* PySwiftyRegex-WatchOS */ = { + isa = PBXNativeTarget; + buildConfigurationList = 795AFFA71BB556F30055D858 /* Build configuration list for PBXNativeTarget "PySwiftyRegex-WatchOS" */; + buildPhases = ( + 795AFF9B1BB556F30055D858 /* Sources */, + 795AFF9C1BB556F30055D858 /* Frameworks */, + 795AFF9D1BB556F30055D858 /* Headers */, + 795AFF9E1BB556F30055D858 /* Resources */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = "PySwiftyRegex-WatchOS"; + productName = "PySwiftyRegex-WatchOS"; + productReference = 795AFFA01BB556F30055D858 /* PySwiftyRegex.framework */; + productType = "com.apple.product-type.framework"; + }; /* End PBXNativeTarget section */ /* Begin PBXProject section */ @@ -242,6 +279,9 @@ 0CEBDD2C1B39B8C4003A40BB = { CreatedOnToolsVersion = 7.0; }; + 795AFF9F1BB556F30055D858 = { + CreatedOnToolsVersion = 7.0; + }; }; }; buildConfigurationList = 0CEBDCD81B39B2FB003A40BB /* Build configuration list for PBXProject "PySwiftyRegex" */; @@ -260,6 +300,7 @@ 0CEBDCE71B39B2FC003A40BB /* PySwiftyRegex-iOSTests */, 0CEBDD231B39B8C3003A40BB /* PySwiftyRegex-OSX */, 0CEBDD2C1B39B8C4003A40BB /* PySwiftyRegex-OSXTests */, + 795AFF9F1BB556F30055D858 /* PySwiftyRegex-WatchOS */, ); }; /* End PBXProject section */ @@ -293,6 +334,13 @@ ); runOnlyForDeploymentPostprocessing = 0; }; + 795AFF9E1BB556F30055D858 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; /* End PBXResourcesBuildPhase section */ /* Begin PBXSourcesBuildPhase section */ @@ -331,6 +379,14 @@ ); runOnlyForDeploymentPostprocessing = 0; }; + 795AFF9B1BB556F30055D858 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 795AFFA81BB5571B0055D858 /* PySwiftyRegex.swift in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; /* End PBXSourcesBuildPhase section */ /* Begin PBXTargetDependency section */ @@ -384,9 +440,12 @@ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; + INFOPLIST_FILE = PySwiftyRegex/Info.plist; IPHONEOS_DEPLOYMENT_TARGET = 9.0; MTL_ENABLE_DEBUG_INFO = YES; ONLY_ACTIVE_ARCH = YES; + PRODUCT_BUNDLE_IDENTIFIER = me.cezheng.PySwiftyRegex; + PRODUCT_NAME = "$(PROJECT_NAME)"; SDKROOT = iphoneos; SWIFT_OPTIMIZATION_LEVEL = "-Onone"; TARGETED_DEVICE_FAMILY = "1,2"; @@ -426,8 +485,11 @@ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; + INFOPLIST_FILE = PySwiftyRegex/Info.plist; IPHONEOS_DEPLOYMENT_TARGET = 9.0; MTL_ENABLE_DEBUG_INFO = NO; + PRODUCT_BUNDLE_IDENTIFIER = me.cezheng.PySwiftyRegex; + PRODUCT_NAME = "$(PROJECT_NAME)"; SDKROOT = iphoneos; TARGETED_DEVICE_FAMILY = "1,2"; VALIDATE_PRODUCT = YES; @@ -445,13 +507,10 @@ DYLIB_CURRENT_VERSION = 1; DYLIB_INSTALL_NAME_BASE = "@rpath"; GCC_GENERATE_TEST_COVERAGE_FILES = YES; - INFOPLIST_FILE = PySwiftyRegex/Info.plist; INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; IPHONEOS_DEPLOYMENT_TARGET = 8.0; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; MACH_O_TYPE = mh_dylib; - PRODUCT_BUNDLE_IDENTIFIER = me.cezheng.PySwiftyRegex; - PRODUCT_NAME = "$(PROJECT_NAME)"; SKIP_INSTALL = YES; SWIFT_OPTIMIZATION_LEVEL = "-Onone"; }; @@ -466,13 +525,10 @@ DYLIB_CURRENT_VERSION = 1; DYLIB_INSTALL_NAME_BASE = "@rpath"; GCC_GENERATE_TEST_COVERAGE_FILES = YES; - INFOPLIST_FILE = PySwiftyRegex/Info.plist; INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; IPHONEOS_DEPLOYMENT_TARGET = 8.0; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; MACH_O_TYPE = mh_dylib; - PRODUCT_BUNDLE_IDENTIFIER = me.cezheng.PySwiftyRegex; - PRODUCT_NAME = "$(PROJECT_NAME)"; SKIP_INSTALL = YES; }; name = Release; @@ -509,13 +565,10 @@ DYLIB_INSTALL_NAME_BASE = "@rpath"; FRAMEWORK_VERSION = A; GCC_GENERATE_TEST_COVERAGE_FILES = YES; - INFOPLIST_FILE = PySwiftyRegex/Info.plist; INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks @loader_path/Frameworks"; MACH_O_TYPE = mh_dylib; MACOSX_DEPLOYMENT_TARGET = 10.9; - PRODUCT_BUNDLE_IDENTIFIER = me.cezheng.PySwiftyRegex; - PRODUCT_NAME = "$(PROJECT_NAME)"; SDKROOT = macosx; SKIP_INSTALL = YES; }; @@ -531,13 +584,10 @@ DYLIB_INSTALL_NAME_BASE = "@rpath"; FRAMEWORK_VERSION = A; GCC_GENERATE_TEST_COVERAGE_FILES = YES; - INFOPLIST_FILE = PySwiftyRegex/Info.plist; INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks @loader_path/Frameworks"; MACH_O_TYPE = mh_dylib; MACOSX_DEPLOYMENT_TARGET = 10.9; - PRODUCT_BUNDLE_IDENTIFIER = me.cezheng.PySwiftyRegex; - PRODUCT_NAME = "$(PROJECT_NAME)"; SDKROOT = macosx; SKIP_INSTALL = YES; }; @@ -569,6 +619,38 @@ }; name = Release; }; + 795AFFA51BB556F30055D858 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + DEFINES_MODULE = YES; + DYLIB_COMPATIBILITY_VERSION = 1; + DYLIB_CURRENT_VERSION = 1; + DYLIB_INSTALL_NAME_BASE = "@rpath"; + INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; + SDKROOT = watchos; + SKIP_INSTALL = YES; + TARGETED_DEVICE_FAMILY = 4; + WATCHOS_DEPLOYMENT_TARGET = 2.0; + }; + name = Debug; + }; + 795AFFA61BB556F30055D858 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + DEFINES_MODULE = YES; + DYLIB_COMPATIBILITY_VERSION = 1; + DYLIB_CURRENT_VERSION = 1; + DYLIB_INSTALL_NAME_BASE = "@rpath"; + INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; + SDKROOT = watchos; + SKIP_INSTALL = YES; + TARGETED_DEVICE_FAMILY = 4; + WATCHOS_DEPLOYMENT_TARGET = 2.0; + }; + name = Release; + }; /* End XCBuildConfiguration section */ /* Begin XCConfigurationList section */ @@ -617,6 +699,14 @@ defaultConfigurationIsVisible = 0; defaultConfigurationName = Release; }; + 795AFFA71BB556F30055D858 /* Build configuration list for PBXNativeTarget "PySwiftyRegex-WatchOS" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 795AFFA51BB556F30055D858 /* Debug */, + 795AFFA61BB556F30055D858 /* Release */, + ); + defaultConfigurationIsVisible = 0; + }; /* End XCConfigurationList section */ }; rootObject = 0CEBDCD51B39B2FB003A40BB /* Project object */; diff --git a/PySwiftyRegex.xcodeproj/xcshareddata/xcschemes/PySwiftyRegex-WatchOS.xcscheme b/PySwiftyRegex.xcodeproj/xcshareddata/xcschemes/PySwiftyRegex-WatchOS.xcscheme new file mode 100644 index 0000000..5efc9ee --- /dev/null +++ b/PySwiftyRegex.xcodeproj/xcshareddata/xcschemes/PySwiftyRegex-WatchOS.xcscheme @@ -0,0 +1,80 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +