Skip to content

Commit

Permalink
add WatchOS target
Browse files Browse the repository at this point in the history
  • Loading branch information
cezheng committed Sep 25, 2015
1 parent fae221e commit d678acd
Show file tree
Hide file tree
Showing 2 changed files with 182 additions and 12 deletions.
114 changes: 102 additions & 12 deletions PySwiftyRegex.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down Expand Up @@ -49,6 +51,7 @@
0CEBDCFA1B39B48C003A40BB /* ReMatchObjectTests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ReMatchObjectTests.swift; sourceTree = "<group>"; };
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 */
Expand Down Expand Up @@ -82,6 +85,13 @@
);
runOnlyForDeploymentPostprocessing = 0;
};
795AFF9C1BB556F30055D858 /* Frameworks */ = {
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXFrameworksBuildPhase section */

/* Begin PBXGroup section */
Expand All @@ -101,6 +111,7 @@
0CEBDCE81B39B2FC003A40BB /* PySwiftyRegex-iOSTests.xctest */,
0CEBDD241B39B8C3003A40BB /* PySwiftyRegex.framework */,
0CEBDD2D1B39B8C4003A40BB /* PySwiftyRegex-OSXTests.xctest */,
795AFFA01BB556F30055D858 /* PySwiftyRegex.framework */,
);
name = Products;
sourceTree = "<group>";
Expand Down Expand Up @@ -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 */
Expand Down Expand Up @@ -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 */
Expand All @@ -242,6 +279,9 @@
0CEBDD2C1B39B8C4003A40BB = {
CreatedOnToolsVersion = 7.0;
};
795AFF9F1BB556F30055D858 = {
CreatedOnToolsVersion = 7.0;
};
};
};
buildConfigurationList = 0CEBDCD81B39B2FB003A40BB /* Build configuration list for PBXProject "PySwiftyRegex" */;
Expand All @@ -260,6 +300,7 @@
0CEBDCE71B39B2FC003A40BB /* PySwiftyRegex-iOSTests */,
0CEBDD231B39B8C3003A40BB /* PySwiftyRegex-OSX */,
0CEBDD2C1B39B8C4003A40BB /* PySwiftyRegex-OSXTests */,
795AFF9F1BB556F30055D858 /* PySwiftyRegex-WatchOS */,
);
};
/* End PBXProject section */
Expand Down Expand Up @@ -293,6 +334,13 @@
);
runOnlyForDeploymentPostprocessing = 0;
};
795AFF9E1BB556F30055D858 /* Resources */ = {
isa = PBXResourcesBuildPhase;
buildActionMask = 2147483647;
files = (
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXResourcesBuildPhase section */

/* Begin PBXSourcesBuildPhase section */
Expand Down Expand Up @@ -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 */
Expand Down Expand Up @@ -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";
Expand Down Expand Up @@ -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;
Expand All @@ -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";
};
Expand All @@ -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;
Expand Down Expand Up @@ -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;
};
Expand All @@ -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;
};
Expand Down Expand Up @@ -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 */
Expand Down Expand Up @@ -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 */;
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 = "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 = "795AFF9F1BB556F30055D858"
BuildableName = "PySwiftyRegex-WatchOS.framework"
BlueprintName = "PySwiftyRegex-WatchOS"
ReferencedContainer = "container:PySwiftyRegex.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 = "795AFF9F1BB556F30055D858"
BuildableName = "PySwiftyRegex-WatchOS.framework"
BlueprintName = "PySwiftyRegex-WatchOS"
ReferencedContainer = "container:PySwiftyRegex.xcodeproj">
</BuildableReference>
</MacroExpansion>
<AdditionalOptions>
</AdditionalOptions>
</LaunchAction>
<ProfileAction
buildConfiguration = "Release"
shouldUseLaunchSchemeArgsEnv = "YES"
savedToolIdentifier = ""
useCustomWorkingDirectory = "NO"
debugDocumentVersioning = "YES">
<MacroExpansion>
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "795AFF9F1BB556F30055D858"
BuildableName = "PySwiftyRegex-WatchOS.framework"
BlueprintName = "PySwiftyRegex-WatchOS"
ReferencedContainer = "container:PySwiftyRegex.xcodeproj">
</BuildableReference>
</MacroExpansion>
</ProfileAction>
<AnalyzeAction
buildConfiguration = "Debug">
</AnalyzeAction>
<ArchiveAction
buildConfiguration = "Release"
revealArchiveInOrganizer = "YES">
</ArchiveAction>
</Scheme>

0 comments on commit d678acd

Please sign in to comment.