Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

added framework for watchOS #205

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 22 additions & 0 deletions SwiftSocket watchOS/Info.plist
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>CFBundleDevelopmentRegion</key>
<string>$(DEVELOPMENT_LANGUAGE)</string>
<key>CFBundleExecutable</key>
<string>$(EXECUTABLE_NAME)</string>
<key>CFBundleIdentifier</key>
<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleName</key>
<string>$(PRODUCT_NAME)</string>
<key>CFBundlePackageType</key>
<string>$(PRODUCT_BUNDLE_PACKAGE_TYPE)</string>
<key>CFBundleShortVersionString</key>
<string>1.0</string>
<key>CFBundleVersion</key>
<string>$(CURRENT_PROJECT_VERSION)</string>
</dict>
</plist>
19 changes: 19 additions & 0 deletions SwiftSocket watchOS/SwiftSocket_watchOS.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
//
// SwiftSocket_watchOS.h
// SwiftSocket watchOS
//
// Created by ible-tech.AceLee on 2020/12/1.
// Copyright © 2020 swift. All rights reserved.
//

#import <Foundation/Foundation.h>

//! Project version number for SwiftSocket_watchOS.
FOUNDATION_EXPORT double SwiftSocket_watchOSVersionNumber;

//! Project version string for SwiftSocket_watchOS.
FOUNDATION_EXPORT const unsigned char SwiftSocket_watchOSVersionString[];

// In this header, you should import all the public headers of your framework using statements like #import <SwiftSocket_watchOS/PublicHeader.h>


153 changes: 153 additions & 0 deletions SwiftSocket.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
375C48351DDC4C56008C701D /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 375C48331DDC4C56008C701D /* Main.storyboard */; };
375C48371DDC4C56008C701D /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 375C48361DDC4C56008C701D /* Assets.xcassets */; };
375C483A1DDC4C56008C701D /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 375C48381DDC4C56008C701D /* LaunchScreen.storyboard */; };
52799B9A25761279005F38D1 /* SwiftSocket_watchOS.h in Headers */ = {isa = PBXBuildFile; fileRef = 52799B9825761279005F38D1 /* SwiftSocket_watchOS.h */; settings = {ATTRIBUTES = (Public, ); }; };
/* End PBXBuildFile section */

/* Begin PBXFileReference section */
Expand All @@ -55,6 +56,9 @@
375C483B1DDC4C56008C701D /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
377DAA691DCDE40200009697 /* SwiftSocket.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = SwiftSocket.framework; sourceTree = BUILT_PRODUCTS_DIR; };
377DAA761DCDE45D00009697 /* SwiftSocket.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = SwiftSocket.framework; sourceTree = BUILT_PRODUCTS_DIR; };
52799B9625761279005F38D1 /* SwiftSocket_watchOS.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = SwiftSocket_watchOS.framework; sourceTree = BUILT_PRODUCTS_DIR; };
52799B9825761279005F38D1 /* SwiftSocket_watchOS.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = SwiftSocket_watchOS.h; sourceTree = "<group>"; };
52799B9925761279005F38D1 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
/* End PBXFileReference section */

/* Begin PBXFrameworksBuildPhase section */
Expand Down Expand Up @@ -86,6 +90,13 @@
);
runOnlyForDeploymentPostprocessing = 0;
};
52799B9325761279005F38D1 /* Frameworks */ = {
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXFrameworksBuildPhase section */

/* Begin PBXGroup section */
Expand Down Expand Up @@ -131,11 +142,21 @@
path = "../SwiftSocket iOS";
sourceTree = "<group>";
};
52799B9725761279005F38D1 /* SwiftSocket watchOS */ = {
isa = PBXGroup;
children = (
52799B9825761279005F38D1 /* SwiftSocket_watchOS.h */,
52799B9925761279005F38D1 /* Info.plist */,
);
path = "SwiftSocket watchOS";
sourceTree = "<group>";
};
5518C82619A3290F0049DC22 = {
isa = PBXGroup;
children = (
5518C83119A329100049DC22 /* Source */,
375C482E1DDC4C56008C701D /* iOS Example */,
52799B9725761279005F38D1 /* SwiftSocket watchOS */,
5518C83019A329100049DC22 /* Products */,
);
sourceTree = "<group>";
Expand All @@ -147,6 +168,7 @@
377DAA761DCDE45D00009697 /* SwiftSocket.framework */,
375C482D1DDC4C56008C701D /* iOS Example.app */,
37454ECA1E06158200800AE5 /* SwiftSocket.framework */,
52799B9625761279005F38D1 /* SwiftSocket_watchOS.framework */,
);
name = Products;
sourceTree = "<group>";
Expand Down Expand Up @@ -191,6 +213,14 @@
);
runOnlyForDeploymentPostprocessing = 0;
};
52799B9125761279005F38D1 /* Headers */ = {
isa = PBXHeadersBuildPhase;
buildActionMask = 2147483647;
files = (
52799B9A25761279005F38D1 /* SwiftSocket_watchOS.h in Headers */,
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXHeadersBuildPhase section */

/* Begin PBXNativeTarget section */
Expand Down Expand Up @@ -265,6 +295,24 @@
productReference = 377DAA761DCDE45D00009697 /* SwiftSocket.framework */;
productType = "com.apple.product-type.framework";
};
52799B9525761279005F38D1 /* SwiftSocket watchOS */ = {
isa = PBXNativeTarget;
buildConfigurationList = 52799B9D25761279005F38D1 /* Build configuration list for PBXNativeTarget "SwiftSocket watchOS" */;
buildPhases = (
52799B9125761279005F38D1 /* Headers */,
52799B9225761279005F38D1 /* Sources */,
52799B9325761279005F38D1 /* Frameworks */,
52799B9425761279005F38D1 /* Resources */,
);
buildRules = (
);
dependencies = (
);
name = "SwiftSocket watchOS";
productName = "SwiftSocket watchOS";
productReference = 52799B9625761279005F38D1 /* SwiftSocket_watchOS.framework */;
productType = "com.apple.product-type.framework";
};
/* End PBXNativeTarget section */

/* Begin PBXProject section */
Expand Down Expand Up @@ -295,6 +343,11 @@
LastSwiftMigration = 1020;
ProvisioningStyle = Manual;
};
52799B9525761279005F38D1 = {
CreatedOnToolsVersion = 12.2;
DevelopmentTeam = 55MHD24DX2;
ProvisioningStyle = Automatic;
};
};
};
buildConfigurationList = 5518C82A19A3290F0049DC22 /* Build configuration list for PBXProject "SwiftSocket" */;
Expand All @@ -314,6 +367,7 @@
377DAA751DCDE45D00009697 /* SwiftSocket macOS */,
37454EC91E06158200800AE5 /* SwiftSocket tvOS */,
375C482C1DDC4C56008C701D /* iOS Example */,
52799B9525761279005F38D1 /* SwiftSocket watchOS */,
);
};
/* End PBXProject section */
Expand Down Expand Up @@ -350,6 +404,13 @@
);
runOnlyForDeploymentPostprocessing = 0;
};
52799B9425761279005F38D1 /* Resources */ = {
isa = PBXResourcesBuildPhase;
buildActionMask = 2147483647;
files = (
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXResourcesBuildPhase section */

/* Begin PBXSourcesBuildPhase section */
Expand Down Expand Up @@ -401,6 +462,13 @@
);
runOnlyForDeploymentPostprocessing = 0;
};
52799B9225761279005F38D1 /* Sources */ = {
isa = PBXSourcesBuildPhase;
buildActionMask = 2147483647;
files = (
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXSourcesBuildPhase section */

/* Begin PBXVariantGroup section */
Expand Down Expand Up @@ -656,6 +724,82 @@
};
name = Release;
};
52799B9B25761279005F38D1 /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
APPLICATION_EXTENSION_API_ONLY = YES;
CLANG_ANALYZER_NONNULL = YES;
CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
CLANG_CXX_LANGUAGE_STANDARD = "gnu++14";
CLANG_ENABLE_OBJC_WEAK = YES;
CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES;
CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE;
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 1;
DEBUG_INFORMATION_FORMAT = dwarf;
DEFINES_MODULE = YES;
DEVELOPMENT_TEAM = 55MHD24DX2;
DYLIB_COMPATIBILITY_VERSION = 1;
DYLIB_CURRENT_VERSION = 1;
DYLIB_INSTALL_NAME_BASE = "@rpath";
GCC_C_LANGUAGE_STANDARD = gnu11;
INFOPLIST_FILE = "SwiftSocket watchOS/Info.plist";
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE;
MTL_FAST_MATH = YES;
PRODUCT_BUNDLE_IDENTIFIER = "ible-tech.SwiftSocket-watchOS";
PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)";
SDKROOT = watchos;
SKIP_INSTALL = YES;
SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG;
SWIFT_VERSION = 5.0;
TARGETED_DEVICE_FAMILY = 4;
VERSIONING_SYSTEM = "apple-generic";
VERSION_INFO_PREFIX = "";
WATCHOS_DEPLOYMENT_TARGET = 6.0;
};
name = Debug;
};
52799B9C25761279005F38D1 /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
APPLICATION_EXTENSION_API_ONLY = YES;
CLANG_ANALYZER_NONNULL = YES;
CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
CLANG_CXX_LANGUAGE_STANDARD = "gnu++14";
CLANG_ENABLE_OBJC_WEAK = YES;
CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES;
CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE;
CODE_SIGN_STYLE = Automatic;
COPY_PHASE_STRIP = NO;
CURRENT_PROJECT_VERSION = 1;
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
DEFINES_MODULE = YES;
DEVELOPMENT_TEAM = 55MHD24DX2;
DYLIB_COMPATIBILITY_VERSION = 1;
DYLIB_CURRENT_VERSION = 1;
DYLIB_INSTALL_NAME_BASE = "@rpath";
GCC_C_LANGUAGE_STANDARD = gnu11;
INFOPLIST_FILE = "SwiftSocket watchOS/Info.plist";
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
MTL_FAST_MATH = YES;
PRODUCT_BUNDLE_IDENTIFIER = "ible-tech.SwiftSocket-watchOS";
PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)";
SDKROOT = watchos;
SKIP_INSTALL = YES;
SWIFT_VERSION = 5.0;
TARGETED_DEVICE_FAMILY = 4;
VALIDATE_PRODUCT = YES;
VERSIONING_SYSTEM = "apple-generic";
VERSION_INFO_PREFIX = "";
WATCHOS_DEPLOYMENT_TARGET = 6.0;
};
name = Release;
};
5518C83419A329100049DC22 /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
Expand Down Expand Up @@ -801,6 +945,15 @@
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
52799B9D25761279005F38D1 /* Build configuration list for PBXNativeTarget "SwiftSocket watchOS" */ = {
isa = XCConfigurationList;
buildConfigurations = (
52799B9B25761279005F38D1 /* Debug */,
52799B9C25761279005F38D1 /* Release */,
);
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
5518C82A19A3290F0049DC22 /* Build configuration list for PBXProject "SwiftSocket" */ = {
isa = XCConfigurationList;
buildConfigurations = (
Expand Down