From 3908bb01282a5e8515c3fd297613822ba87fbb68 Mon Sep 17 00:00:00 2001 From: Nate Weaver Date: Mon, 11 May 2020 18:18:47 -0500 Subject: [PATCH] Add PunycodeCocoaTouch framework and commit scheme files --- Punycode.xcodeproj/project.pbxproj | 180 ++++++++++++++++++ .../xcschemes/PunycodeCocoa.xcscheme | 67 +++++++ .../xcschemes/PunycodeCocoaTouch.xcscheme | 67 +++++++ PunycodeCocoaTouch/Info.plist | 22 +++ PunycodeCocoaTouch/PunycodeCocoaTouch.h | 18 ++ 5 files changed, 354 insertions(+) create mode 100644 Punycode.xcodeproj/xcshareddata/xcschemes/PunycodeCocoa.xcscheme create mode 100644 Punycode.xcodeproj/xcshareddata/xcschemes/PunycodeCocoaTouch.xcscheme create mode 100644 PunycodeCocoaTouch/Info.plist create mode 100644 PunycodeCocoaTouch/PunycodeCocoaTouch.h diff --git a/Punycode.xcodeproj/project.pbxproj b/Punycode.xcodeproj/project.pbxproj index 446143b..1517b40 100644 --- a/Punycode.xcodeproj/project.pbxproj +++ b/Punycode.xcodeproj/project.pbxproj @@ -36,6 +36,7 @@ B26FA03D2055425C00CD6AF1 /* libicucore.tbd in Frameworks */ = {isa = PBXBuildFile; fileRef = B26FA03C2055425C00CD6AF1 /* libicucore.tbd */; settings = {ATTRIBUTES = (Weak, ); }; }; B27409C92443E45B00E567E7 /* Data+Extensions.swift in Sources */ = {isa = PBXBuildFile; fileRef = B27409C82443E45B00E567E7 /* Data+Extensions.swift */; }; B27409CA2443F66900E567E7 /* Data+Extensions.swift in Sources */ = {isa = PBXBuildFile; fileRef = B27409C82443E45B00E567E7 /* Data+Extensions.swift */; }; + B2A4B164246A146E00ED32EB /* PunycodeCocoaTouch.h in Headers */ = {isa = PBXBuildFile; fileRef = B2A4B162246A146E00ED32EB /* PunycodeCocoaTouch.h */; settings = {ATTRIBUTES = (Public, ); }; }; B2AF210724313283009F5EE7 /* UTS46.swift in Sources */ = {isa = PBXBuildFile; fileRef = B2AF210624313283009F5EE7 /* UTS46.swift */; }; B2AF21092431376E009F5EE7 /* uts46 in Resources */ = {isa = PBXBuildFile; fileRef = B2AF21082431376E009F5EE7 /* uts46 */; }; B2B4F3D0242EB79E00CC752F /* main.swift in Sources */ = {isa = PBXBuildFile; fileRef = B2B4F3CF242EB79E00CC752F /* main.swift */; }; @@ -176,6 +177,9 @@ B26FA03C2055425C00CD6AF1 /* libicucore.tbd */ = {isa = PBXFileReference; lastKnownFileType = "sourcecode.text-based-dylib-definition"; name = libicucore.tbd; path = usr/lib/libicucore.tbd; sourceTree = SDKROOT; }; B27409C82443E45B00E567E7 /* Data+Extensions.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = "Data+Extensions.swift"; sourceTree = ""; }; B299C5B12464CD1F001F811B /* uts46-file-format.md */ = {isa = PBXFileReference; lastKnownFileType = net.daringfireball.markdown; path = "uts46-file-format.md"; sourceTree = ""; }; + B2A4B160246A146E00ED32EB /* PunycodeCocoaTouch.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = PunycodeCocoaTouch.framework; sourceTree = BUILT_PRODUCTS_DIR; }; + B2A4B162246A146E00ED32EB /* PunycodeCocoaTouch.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = PunycodeCocoaTouch.h; sourceTree = ""; }; + B2A4B163246A146E00ED32EB /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; B2AF210624313283009F5EE7 /* UTS46.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = UTS46.swift; sourceTree = ""; }; B2AF21082431376E009F5EE7 /* uts46 */ = {isa = PBXFileReference; lastKnownFileType = file; path = uts46; sourceTree = ""; }; B2B4F3CD242EB79E00CC752F /* icumap2code */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.executable"; includeInIndex = 0; path = icumap2code; sourceTree = BUILT_PRODUCTS_DIR; }; @@ -240,6 +244,13 @@ ); runOnlyForDeploymentPostprocessing = 0; }; + B2A4B15D246A146E00ED32EB /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; B2B4F3CA242EB79E00CC752F /* Frameworks */ = { isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; @@ -306,6 +317,7 @@ B24585772423206100CC75A4 /* PunycodeSwiftTests.xctest */, B2B4F3CD242EB79E00CC752F /* icumap2code */, B2C8FD5E24661FC2006DF2D9 /* PunycodeCocoa.framework */, + B2A4B160246A146E00ED32EB /* PunycodeCocoaTouch.framework */, ); name = Products; sourceTree = ""; @@ -323,6 +335,7 @@ B255A55F1500C4800073DF21 /* PunycodeTests */, B24585782423206100CC75A4 /* PunycodeSwiftTests */, B2C8FD5F24661FC2006DF2D9 /* PunycodeCocoa */, + B2A4B161246A146E00ED32EB /* PunycodeCocoaTouch */, 29B97323FDCFA39411CA2CEA /* Frameworks */, 19C28FACFE9D520D11CA2CBB /* Products */, B2C3DD3A241FEC7F00484850 /* PunyCocoa copy-Info.plist */, @@ -419,6 +432,15 @@ path = Mac; sourceTree = ""; }; + B2A4B161246A146E00ED32EB /* PunycodeCocoaTouch */ = { + isa = PBXGroup; + children = ( + B2A4B162246A146E00ED32EB /* PunycodeCocoaTouch.h */, + B2A4B163246A146E00ED32EB /* Info.plist */, + ); + path = PunycodeCocoaTouch; + sourceTree = ""; + }; B2B4F3CE242EB79E00CC752F /* icumap2code */ = { isa = PBXGroup; children = ( @@ -476,6 +498,14 @@ /* End PBXGroup section */ /* Begin PBXHeadersBuildPhase section */ + B2A4B15B246A146E00ED32EB /* Headers */ = { + isa = PBXHeadersBuildPhase; + buildActionMask = 2147483647; + files = ( + B2A4B164246A146E00ED32EB /* PunycodeCocoaTouch.h in Headers */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; B2C8FD5924661FC2006DF2D9 /* Headers */ = { isa = PBXHeadersBuildPhase; buildActionMask = 2147483647; @@ -559,6 +589,24 @@ productReference = B255A5591500C4800073DF21 /* PunycodeTests.xctest */; productType = "com.apple.product-type.bundle.unit-test"; }; + B2A4B15F246A146E00ED32EB /* PunycodeCocoaTouch */ = { + isa = PBXNativeTarget; + buildConfigurationList = B2A4B167246A146E00ED32EB /* Build configuration list for PBXNativeTarget "PunycodeCocoaTouch" */; + buildPhases = ( + B2A4B15B246A146E00ED32EB /* Headers */, + B2A4B15C246A146E00ED32EB /* Sources */, + B2A4B15D246A146E00ED32EB /* Frameworks */, + B2A4B15E246A146E00ED32EB /* Resources */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = PunycodeCocoaTouch; + productName = PunycodeCocoaTouch; + productReference = B2A4B160246A146E00ED32EB /* PunycodeCocoaTouch.framework */; + productType = "com.apple.product-type.framework"; + }; B2B4F3CC242EB79E00CC752F /* icumap2code */ = { isa = PBXNativeTarget; buildConfigurationList = B2B4F3D3242EB79E00CC752F /* Build configuration list for PBXNativeTarget "icumap2code" */; @@ -658,6 +706,9 @@ B255A5581500C4800073DF21 = { ProvisioningStyle = Automatic; }; + B2A4B15F246A146E00ED32EB = { + CreatedOnToolsVersion = 11.4.1; + }; B2B4F3CC242EB79E00CC752F = { CreatedOnToolsVersion = 11.4; DevelopmentTeam = M72QZ9W58G; @@ -699,6 +750,7 @@ B24585762423206100CC75A4 /* PunycodeSwiftTests */, B2B4F3CC242EB79E00CC752F /* icumap2code */, B2C8FD5D24661FC2006DF2D9 /* PunycodeCocoa */, + B2A4B15F246A146E00ED32EB /* PunycodeCocoaTouch */, ); }; /* End PBXProject section */ @@ -740,6 +792,13 @@ ); runOnlyForDeploymentPostprocessing = 0; }; + B2A4B15E246A146E00ED32EB /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; B2C3DD40241FECF200484850 /* Resources */ = { isa = PBXResourcesBuildPhase; buildActionMask = 2147483647; @@ -810,6 +869,13 @@ ); runOnlyForDeploymentPostprocessing = 0; }; + B2A4B15C246A146E00ED32EB /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; B2B4F3C9242EB79E00CC752F /* Sources */ = { isa = PBXSourcesBuildPhase; buildActionMask = 2147483647; @@ -1234,6 +1300,111 @@ }; name = Release; }; + B2A4B165246A146E00ED32EB /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + CLANG_ANALYZER_NONNULL = YES; + CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++14"; + CLANG_CXX_LIBRARY = "libc++"; + CLANG_ENABLE_MODULES = YES; + CLANG_ENABLE_OBJC_ARC = YES; + CLANG_ENABLE_OBJC_WEAK = YES; + CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; + CLANG_WARN_DOCUMENTATION_COMMENTS = YES; + CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; + CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; + CODE_SIGN_STYLE = Automatic; + COPY_PHASE_STRIP = NO; + CURRENT_PROJECT_VERSION = 1; + DEBUG_INFORMATION_FORMAT = dwarf; + DEFINES_MODULE = YES; + DEVELOPMENT_TEAM = M72QZ9W58G; + DYLIB_COMPATIBILITY_VERSION = 1; + DYLIB_CURRENT_VERSION = 1; + DYLIB_INSTALL_NAME_BASE = "@rpath"; + GCC_C_LANGUAGE_STANDARD = gnu11; + GCC_DYNAMIC_NO_PIC = NO; + GCC_OPTIMIZATION_LEVEL = 0; + GCC_PREPROCESSOR_DEFINITIONS = ( + "DEBUG=1", + "$(inherited)", + ); + GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; + GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; + INFOPLIST_FILE = PunycodeCocoaTouch/Info.plist; + INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; + IPHONEOS_DEPLOYMENT_TARGET = 12.2; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/Frameworks", + "@loader_path/Frameworks", + ); + MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE; + MTL_FAST_MATH = YES; + PRODUCT_BUNDLE_IDENTIFIER = org.derailer.PunycodeCocoaTouch; + PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)"; + SDKROOT = iphoneos; + SKIP_INSTALL = YES; + SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG; + SWIFT_OPTIMIZATION_LEVEL = "-Onone"; + SWIFT_VERSION = 5.0; + TARGETED_DEVICE_FAMILY = "1,2"; + VERSIONING_SYSTEM = "apple-generic"; + VERSION_INFO_PREFIX = ""; + }; + name = Debug; + }; + B2A4B166246A146E00ED32EB /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + CLANG_ANALYZER_NONNULL = YES; + CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++14"; + CLANG_CXX_LIBRARY = "libc++"; + CLANG_ENABLE_MODULES = YES; + CLANG_ENABLE_OBJC_ARC = YES; + CLANG_ENABLE_OBJC_WEAK = YES; + CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; + CLANG_WARN_DOCUMENTATION_COMMENTS = YES; + CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; + 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 = M72QZ9W58G; + DYLIB_COMPATIBILITY_VERSION = 1; + DYLIB_CURRENT_VERSION = 1; + DYLIB_INSTALL_NAME_BASE = "@rpath"; + ENABLE_NS_ASSERTIONS = NO; + GCC_C_LANGUAGE_STANDARD = gnu11; + GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; + GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; + INFOPLIST_FILE = PunycodeCocoaTouch/Info.plist; + INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; + IPHONEOS_DEPLOYMENT_TARGET = 12.2; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/Frameworks", + "@loader_path/Frameworks", + ); + MTL_ENABLE_DEBUG_INFO = NO; + MTL_FAST_MATH = YES; + PRODUCT_BUNDLE_IDENTIFIER = org.derailer.PunycodeCocoaTouch; + PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)"; + SDKROOT = iphoneos; + SKIP_INSTALL = YES; + SWIFT_OPTIMIZATION_LEVEL = "-O"; + SWIFT_VERSION = 5.0; + TARGETED_DEVICE_FAMILY = "1,2"; + VALIDATE_PRODUCT = YES; + VERSIONING_SYSTEM = "apple-generic"; + VERSION_INFO_PREFIX = ""; + }; + name = Release; + }; B2B33EA90A9B4534002D5B27 /* Debug */ = { isa = XCBuildConfiguration; buildSettings = { @@ -1704,6 +1875,15 @@ defaultConfigurationIsVisible = 0; defaultConfigurationName = Debug; }; + B2A4B167246A146E00ED32EB /* Build configuration list for PBXNativeTarget "PunycodeCocoaTouch" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + B2A4B165246A146E00ED32EB /* Debug */, + B2A4B166246A146E00ED32EB /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Debug; + }; B2B33EA80A9B4534002D5B27 /* Build configuration list for PBXNativeTarget "PunyCocoa" */ = { isa = XCConfigurationList; buildConfigurations = ( diff --git a/Punycode.xcodeproj/xcshareddata/xcschemes/PunycodeCocoa.xcscheme b/Punycode.xcodeproj/xcshareddata/xcschemes/PunycodeCocoa.xcscheme new file mode 100644 index 0000000..7af0aa3 --- /dev/null +++ b/Punycode.xcodeproj/xcshareddata/xcschemes/PunycodeCocoa.xcscheme @@ -0,0 +1,67 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Punycode.xcodeproj/xcshareddata/xcschemes/PunycodeCocoaTouch.xcscheme b/Punycode.xcodeproj/xcshareddata/xcschemes/PunycodeCocoaTouch.xcscheme new file mode 100644 index 0000000..9f5ccba --- /dev/null +++ b/Punycode.xcodeproj/xcshareddata/xcschemes/PunycodeCocoaTouch.xcscheme @@ -0,0 +1,67 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/PunycodeCocoaTouch/Info.plist b/PunycodeCocoaTouch/Info.plist new file mode 100644 index 0000000..9bcb244 --- /dev/null +++ b/PunycodeCocoaTouch/Info.plist @@ -0,0 +1,22 @@ + + + + + CFBundleDevelopmentRegion + $(DEVELOPMENT_LANGUAGE) + CFBundleExecutable + $(EXECUTABLE_NAME) + CFBundleIdentifier + $(PRODUCT_BUNDLE_IDENTIFIER) + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + $(PRODUCT_NAME) + CFBundlePackageType + $(PRODUCT_BUNDLE_PACKAGE_TYPE) + CFBundleShortVersionString + 1.0 + CFBundleVersion + $(CURRENT_PROJECT_VERSION) + + diff --git a/PunycodeCocoaTouch/PunycodeCocoaTouch.h b/PunycodeCocoaTouch/PunycodeCocoaTouch.h new file mode 100644 index 0000000..0f12892 --- /dev/null +++ b/PunycodeCocoaTouch/PunycodeCocoaTouch.h @@ -0,0 +1,18 @@ +// +// PunycodeCocoaTouch.h +// PunycodeCocoaTouch +// +// Created by Nate Weaver on 2020-05-11. +// + +#import + +//! Project version number for PunycodeCocoaTouch. +FOUNDATION_EXPORT double PunycodeCocoaTouchVersionNumber; + +//! Project version string for PunycodeCocoaTouch. +FOUNDATION_EXPORT const unsigned char PunycodeCocoaTouchVersionString[]; + +// In this header, you should import all the public headers of your framework using statements like #import + +