Edit bundle id and add tvOS target

This commit is contained in:
Dan Shevlyuk 2016-12-18 04:04:51 +03:00
parent 46f5cde323
commit 5d116bc968
3 changed files with 196 additions and 7 deletions

30
Sources/Info-tvOS.plist Executable file
View File

@ -0,0 +1,30 @@
<?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>en</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>FMWK</string>
<key>CFBundleShortVersionString</key>
<string>4.2.0</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
<string>$(CURRENT_PROJECT_VERSION)</string>
<key>NSPrincipalClass</key>
<string></string>
<key>UIRequiredDeviceCapabilities</key>
<array>
<string>arm64</string>
</array>
</dict>
</plist>

View File

@ -15,7 +15,7 @@
<key>CFBundlePackageType</key>
<string>FMWK</string>
<key>CFBundleShortVersionString</key>
<string>1.1</string>
<string>2.0</string>
<key>CFBundleVersion</key>
<string>$(CURRENT_PROJECT_VERSION)</string>
<key>NSPrincipalClass</key>

View File

@ -16,6 +16,21 @@
3723139A1DCF84EC0042DA87 /* Result.swift in Sources */ = {isa = PBXBuildFile; fileRef = 372313981DCF84EC0042DA87 /* Result.swift */; };
3723139B1DCF84EC0042DA87 /* Socket.swift in Sources */ = {isa = PBXBuildFile; fileRef = 372313991DCF84EC0042DA87 /* Socket.swift */; };
3723139C1DCF85270042DA87 /* SwiftSocket.h in Headers */ = {isa = PBXBuildFile; fileRef = 3723138D1DCF84CA0042DA87 /* SwiftSocket.h */; settings = {ATTRIBUTES = (Public, ); }; };
37454ED71E0615FE00800AE5 /* SwiftSocket.h in Headers */ = {isa = PBXBuildFile; fileRef = 3723138D1DCF84CA0042DA87 /* SwiftSocket.h */; settings = {ATTRIBUTES = (Public, ); }; };
37454ED81E06163C00800AE5 /* Result.swift in Sources */ = {isa = PBXBuildFile; fileRef = 372313981DCF84EC0042DA87 /* Result.swift */; };
37454ED91E06163C00800AE5 /* Socket.swift in Sources */ = {isa = PBXBuildFile; fileRef = 372313991DCF84EC0042DA87 /* Socket.swift */; };
37454EDA1E06163C00800AE5 /* TCPClient.swift in Sources */ = {isa = PBXBuildFile; fileRef = 372313941DCF84E30042DA87 /* TCPClient.swift */; };
37454EDB1E06163C00800AE5 /* ytcpsocket.c in Sources */ = {isa = PBXBuildFile; fileRef = 372313951DCF84E30042DA87 /* ytcpsocket.c */; };
37454EDC1E06163C00800AE5 /* UDPClient.swift in Sources */ = {isa = PBXBuildFile; fileRef = 372313901DCF84D80042DA87 /* UDPClient.swift */; };
37454EDD1E06163C00800AE5 /* yudpsocket.c in Sources */ = {isa = PBXBuildFile; fileRef = 372313911DCF84D80042DA87 /* yudpsocket.c */; };
37454EDE1E06163C00800AE5 /* Info.plist in Resources */ = {isa = PBXBuildFile; fileRef = 3723138C1DCF84CA0042DA87 /* Info.plist */; };
37454EDF1E06163D00800AE5 /* Result.swift in Sources */ = {isa = PBXBuildFile; fileRef = 372313981DCF84EC0042DA87 /* Result.swift */; };
37454EE01E06163D00800AE5 /* Socket.swift in Sources */ = {isa = PBXBuildFile; fileRef = 372313991DCF84EC0042DA87 /* Socket.swift */; };
37454EE11E06163D00800AE5 /* TCPClient.swift in Sources */ = {isa = PBXBuildFile; fileRef = 372313941DCF84E30042DA87 /* TCPClient.swift */; };
37454EE21E06163D00800AE5 /* ytcpsocket.c in Sources */ = {isa = PBXBuildFile; fileRef = 372313951DCF84E30042DA87 /* ytcpsocket.c */; };
37454EE31E06163D00800AE5 /* UDPClient.swift in Sources */ = {isa = PBXBuildFile; fileRef = 372313901DCF84D80042DA87 /* UDPClient.swift */; };
37454EE41E06163D00800AE5 /* yudpsocket.c in Sources */ = {isa = PBXBuildFile; fileRef = 372313911DCF84D80042DA87 /* yudpsocket.c */; };
37454EE91E0617F300800AE5 /* Info-tvOS.plist in Resources */ = {isa = PBXBuildFile; fileRef = 37454EE81E0617F300800AE5 /* Info-tvOS.plist */; };
375C48301DDC4C56008C701D /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 375C482F1DDC4C56008C701D /* AppDelegate.swift */; };
375C48321DDC4C56008C701D /* ViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 375C48311DDC4C56008C701D /* ViewController.swift */; };
375C48351DDC4C56008C701D /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 375C48331DDC4C56008C701D /* Main.storyboard */; };
@ -32,6 +47,8 @@
372313951DCF84E30042DA87 /* ytcpsocket.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = ytcpsocket.c; path = Sources/ytcpsocket.c; sourceTree = SOURCE_ROOT; };
372313981DCF84EC0042DA87 /* Result.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; name = Result.swift; path = Sources/Result.swift; sourceTree = SOURCE_ROOT; };
372313991DCF84EC0042DA87 /* Socket.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; name = Socket.swift; path = Sources/Socket.swift; sourceTree = SOURCE_ROOT; };
37454ECA1E06158200800AE5 /* SwiftSocket.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = SwiftSocket.framework; sourceTree = BUILT_PRODUCTS_DIR; };
37454EE81E0617F300800AE5 /* Info-tvOS.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = "Info-tvOS.plist"; path = "Sources/Info-tvOS.plist"; sourceTree = SOURCE_ROOT; };
375C482D1DDC4C56008C701D /* iOS Example.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "iOS Example.app"; sourceTree = BUILT_PRODUCTS_DIR; };
375C482F1DDC4C56008C701D /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = "<group>"; };
375C48311DDC4C56008C701D /* ViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ViewController.swift; sourceTree = "<group>"; };
@ -44,6 +61,13 @@
/* End PBXFileReference section */
/* Begin PBXFrameworksBuildPhase section */
37454EC61E06158200800AE5 /* Frameworks */ = {
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
);
runOnlyForDeploymentPostprocessing = 0;
};
375C482A1DDC4C56008C701D /* Frameworks */ = {
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
@ -103,6 +127,7 @@
isa = PBXGroup;
children = (
3723138C1DCF84CA0042DA87 /* Info.plist */,
37454EE81E0617F300800AE5 /* Info-tvOS.plist */,
3723138D1DCF84CA0042DA87 /* SwiftSocket.h */,
);
name = "Supporting Files";
@ -124,6 +149,7 @@
377DAA691DCDE40200009697 /* SwiftSocket.framework */,
377DAA761DCDE45D00009697 /* SwiftSocket.framework */,
375C482D1DDC4C56008C701D /* iOS Example.app */,
37454ECA1E06158200800AE5 /* SwiftSocket.framework */,
);
name = Products;
sourceTree = "<group>";
@ -144,6 +170,14 @@
/* End PBXGroup section */
/* Begin PBXHeadersBuildPhase section */
37454EC71E06158200800AE5 /* Headers */ = {
isa = PBXHeadersBuildPhase;
buildActionMask = 2147483647;
files = (
37454ED71E0615FE00800AE5 /* SwiftSocket.h in Headers */,
);
runOnlyForDeploymentPostprocessing = 0;
};
377DAA661DCDE40200009697 /* Headers */ = {
isa = PBXHeadersBuildPhase;
buildActionMask = 2147483647;
@ -163,6 +197,24 @@
/* End PBXHeadersBuildPhase section */
/* Begin PBXNativeTarget section */
37454EC91E06158200800AE5 /* SwiftSocket tvOS */ = {
isa = PBXNativeTarget;
buildConfigurationList = 37454ED31E06158200800AE5 /* Build configuration list for PBXNativeTarget "SwiftSocket tvOS" */;
buildPhases = (
37454EC51E06158200800AE5 /* Sources */,
37454EC61E06158200800AE5 /* Frameworks */,
37454EC71E06158200800AE5 /* Headers */,
37454EC81E06158200800AE5 /* Resources */,
);
buildRules = (
);
dependencies = (
);
name = "SwiftSocket tvOS";
productName = "SwiftSocket tvOS";
productReference = 37454ECA1E06158200800AE5 /* SwiftSocket.framework */;
productType = "com.apple.product-type.framework";
};
375C482C1DDC4C56008C701D /* iOS Example */ = {
isa = PBXNativeTarget;
buildConfigurationList = 375C483E1DDC4C56008C701D /* Build configuration list for PBXNativeTarget "iOS Example" */;
@ -227,6 +279,10 @@
LastUpgradeCheck = 0710;
ORGANIZATIONNAME = swift;
TargetAttributes = {
37454EC91E06158200800AE5 = {
CreatedOnToolsVersion = 8.2;
ProvisioningStyle = Automatic;
};
375C482C1DDC4C56008C701D = {
CreatedOnToolsVersion = 8.1;
ProvisioningStyle = Automatic;
@ -257,12 +313,21 @@
targets = (
377DAA681DCDE40200009697 /* SwiftSocket iOS */,
377DAA751DCDE45D00009697 /* SwiftSocket macOS */,
37454EC91E06158200800AE5 /* SwiftSocket tvOS */,
375C482C1DDC4C56008C701D /* iOS Example */,
);
};
/* End PBXProject section */
/* Begin PBXResourcesBuildPhase section */
37454EC81E06158200800AE5 /* Resources */ = {
isa = PBXResourcesBuildPhase;
buildActionMask = 2147483647;
files = (
37454EE91E0617F300800AE5 /* Info-tvOS.plist in Resources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
375C482B1DDC4C56008C701D /* Resources */ = {
isa = PBXResourcesBuildPhase;
buildActionMask = 2147483647;
@ -285,12 +350,26 @@
isa = PBXResourcesBuildPhase;
buildActionMask = 2147483647;
files = (
37454EDE1E06163C00800AE5 /* Info.plist in Resources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXResourcesBuildPhase section */
/* Begin PBXSourcesBuildPhase section */
37454EC51E06158200800AE5 /* Sources */ = {
isa = PBXSourcesBuildPhase;
buildActionMask = 2147483647;
files = (
37454EE31E06163D00800AE5 /* UDPClient.swift in Sources */,
37454EE01E06163D00800AE5 /* Socket.swift in Sources */,
37454EE41E06163D00800AE5 /* yudpsocket.c in Sources */,
37454EDF1E06163D00800AE5 /* Result.swift in Sources */,
37454EE21E06163D00800AE5 /* ytcpsocket.c in Sources */,
37454EE11E06163D00800AE5 /* TCPClient.swift in Sources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
375C48291DDC4C56008C701D /* Sources */ = {
isa = PBXSourcesBuildPhase;
buildActionMask = 2147483647;
@ -317,6 +396,12 @@
isa = PBXSourcesBuildPhase;
buildActionMask = 2147483647;
files = (
37454EDC1E06163C00800AE5 /* UDPClient.swift in Sources */,
37454ED91E06163C00800AE5 /* Socket.swift in Sources */,
37454EDD1E06163C00800AE5 /* yudpsocket.c in Sources */,
37454ED81E06163C00800AE5 /* Result.swift in Sources */,
37454EDB1E06163C00800AE5 /* ytcpsocket.c in Sources */,
37454EDA1E06163C00800AE5 /* TCPClient.swift in Sources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
@ -342,6 +427,71 @@
/* End PBXVariantGroup section */
/* Begin XCBuildConfiguration section */
37454ED41E06158200800AE5 /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
CLANG_ANALYZER_NONNULL = YES;
CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
CLANG_WARN_INFINITE_RECURSION = YES;
CLANG_WARN_SUSPICIOUS_MOVE = YES;
CODE_SIGN_IDENTITY = "";
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
CURRENT_PROJECT_VERSION = 1;
DEBUG_INFORMATION_FORMAT = dwarf;
DEFINES_MODULE = YES;
DYLIB_COMPATIBILITY_VERSION = 1;
DYLIB_CURRENT_VERSION = 1;
DYLIB_INSTALL_NAME_BASE = "@rpath";
GCC_NO_COMMON_BLOCKS = YES;
INFOPLIST_FILE = "$(SRCROOT)/Sources/Info.plist";
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
IPHONEOS_DEPLOYMENT_TARGET = 10.2;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
PRODUCT_BUNDLE_IDENTIFIER = com.swiftsocket.SwiftSocket;
PRODUCT_NAME = SwiftSocket;
SDKROOT = appletvos;
SKIP_INSTALL = YES;
SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG;
SWIFT_VERSION = 3.0;
TARGETED_DEVICE_FAMILY = "1,2";
VERSIONING_SYSTEM = "apple-generic";
VERSION_INFO_PREFIX = "";
};
name = Debug;
};
37454ED51E06158200800AE5 /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
CLANG_ANALYZER_NONNULL = YES;
CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
CLANG_WARN_INFINITE_RECURSION = YES;
CLANG_WARN_SUSPICIOUS_MOVE = YES;
CODE_SIGN_IDENTITY = "";
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
COPY_PHASE_STRIP = NO;
CURRENT_PROJECT_VERSION = 1;
DEFINES_MODULE = YES;
DYLIB_COMPATIBILITY_VERSION = 1;
DYLIB_CURRENT_VERSION = 1;
DYLIB_INSTALL_NAME_BASE = "@rpath";
GCC_NO_COMMON_BLOCKS = YES;
INFOPLIST_FILE = "$(SRCROOT)/Sources/Info.plist";
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
IPHONEOS_DEPLOYMENT_TARGET = 10.2;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
PRODUCT_BUNDLE_IDENTIFIER = com.swiftsocket.SwiftSocket;
PRODUCT_NAME = SwiftSocket;
SDKROOT = appletvos;
SKIP_INSTALL = YES;
SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule";
SWIFT_VERSION = 3.0;
TARGETED_DEVICE_FAMILY = "1,2";
VALIDATE_PRODUCT = YES;
VERSIONING_SYSTEM = "apple-generic";
VERSION_INFO_PREFIX = "";
};
name = Release;
};
375C483C1DDC4C56008C701D /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
@ -410,7 +560,7 @@
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
IPHONEOS_DEPLOYMENT_TARGET = 9.0;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
PRODUCT_BUNDLE_IDENTIFIER = com.danshevluk.SwiftSocket;
PRODUCT_BUNDLE_IDENTIFIER = com.swiftsocket.SwiftSocket;
PRODUCT_NAME = SwiftSocket;
SDKROOT = iphoneos;
SKIP_INSTALL = YES;
@ -444,7 +594,7 @@
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
IPHONEOS_DEPLOYMENT_TARGET = 9.0;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
PRODUCT_BUNDLE_IDENTIFIER = com.danshevluk.SwiftSocket;
PRODUCT_BUNDLE_IDENTIFIER = com.swiftsocket.SwiftSocket;
PRODUCT_NAME = SwiftSocket;
SDKROOT = iphoneos;
SKIP_INSTALL = YES;
@ -477,9 +627,9 @@
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
IPHONEOS_DEPLOYMENT_TARGET = 9.0;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
PRODUCT_BUNDLE_IDENTIFIER = com.danshevluk.SwiftSocket;
PRODUCT_BUNDLE_IDENTIFIER = com.swiftsocket.SwiftSocket;
PRODUCT_NAME = SwiftSocket;
SDKROOT = iphoneos;
SDKROOT = macosx;
SKIP_INSTALL = YES;
SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG;
SWIFT_VERSION = 3.0;
@ -509,9 +659,9 @@
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
IPHONEOS_DEPLOYMENT_TARGET = 9.0;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
PRODUCT_BUNDLE_IDENTIFIER = com.danshevluk.SwiftSocket;
PRODUCT_BUNDLE_IDENTIFIER = com.swiftsocket.SwiftSocket;
PRODUCT_NAME = SwiftSocket;
SDKROOT = iphoneos;
SDKROOT = macosx;
SKIP_INSTALL = YES;
SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule";
SWIFT_VERSION = 3.0;
@ -607,6 +757,14 @@
/* End XCBuildConfiguration section */
/* Begin XCConfigurationList section */
37454ED31E06158200800AE5 /* Build configuration list for PBXNativeTarget "SwiftSocket tvOS" */ = {
isa = XCConfigurationList;
buildConfigurations = (
37454ED41E06158200800AE5 /* Debug */,
37454ED51E06158200800AE5 /* Release */,
);
defaultConfigurationIsVisible = 0;
};
375C483E1DDC4C56008C701D /* Build configuration list for PBXNativeTarget "iOS Example" */ = {
isa = XCConfigurationList;
buildConfigurations = (
@ -614,6 +772,7 @@
375C483D1DDC4C56008C701D /* Release */,
);
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
377DAA6E1DCDE40200009697 /* Build configuration list for PBXNativeTarget "SwiftSocket iOS" */ = {
isa = XCConfigurationList;