From e325aed4a6ab5074e3195235f33b7f0a0735a51c Mon Sep 17 00:00:00 2001 From: Kerr Marin Miller Date: Tue, 16 Jul 2024 10:10:52 +0100 Subject: [PATCH] Run tests in CI --- .github/workflows/swift.yml | 2 +- Sources/nmbr-icu/Modules/module.modulemap | 6 + Tests/nmbr-icu.xctestplan | 6 +- .../NMBRTests.swift | 0 nmbr-icu.xcodeproj/project.pbxproj | 677 ++++++++++++++++++ .../contents.xcworkspacedata | 7 + .../xcshareddata/IDEWorkspaceChecks.plist | 8 + .../xcshareddata/xcschemes/nmbr-icu.xcscheme | 72 ++ 8 files changed, 774 insertions(+), 4 deletions(-) create mode 100644 Sources/nmbr-icu/Modules/module.modulemap rename Tests/{nmbrTests => nmbr-icuTests}/NMBRTests.swift (100%) create mode 100644 nmbr-icu.xcodeproj/project.pbxproj create mode 100644 nmbr-icu.xcodeproj/project.xcworkspace/contents.xcworkspacedata create mode 100644 nmbr-icu.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist create mode 100644 nmbr-icu.xcodeproj/xcshareddata/xcschemes/nmbr-icu.xcscheme diff --git a/.github/workflows/swift.yml b/.github/workflows/swift.yml index 983da01..0abb7c1 100644 --- a/.github/workflows/swift.yml +++ b/.github/workflows/swift.yml @@ -23,4 +23,4 @@ jobs: - name: Build and test run: | bundle - xcodebuild test -workspace ".swiftpm/xcode/package.xcworkspace" -scheme "nmbr-icu" -destination "platform=iOS Simulator,name=iPhone 15" + xcodebuild test -project "nmbr-icu.xcprojct" -scheme "nmbr-icu" -destination "platform=iOS Simulator,name=iPhone 15" diff --git a/Sources/nmbr-icu/Modules/module.modulemap b/Sources/nmbr-icu/Modules/module.modulemap new file mode 100644 index 0000000..bb3507e --- /dev/null +++ b/Sources/nmbr-icu/Modules/module.modulemap @@ -0,0 +1,6 @@ + +framework module nmbr_icu { + header "NMBRFormatter.h" + + export * +} diff --git a/Tests/nmbr-icu.xctestplan b/Tests/nmbr-icu.xctestplan index 2995586..62b1ddf 100644 --- a/Tests/nmbr-icu.xctestplan +++ b/Tests/nmbr-icu.xctestplan @@ -14,9 +14,9 @@ "testTargets" : [ { "target" : { - "containerPath" : "container:nmbr.xcodeproj", - "identifier" : "8F2608A62C3DDEE4001391F7", - "name" : "nmbrTests" + "containerPath" : "container:nmbr-icu.xcodeproj", + "identifier" : "8F980DCA2C4666C5009F255A", + "name" : "nmbr-icuTests" } } ], diff --git a/Tests/nmbrTests/NMBRTests.swift b/Tests/nmbr-icuTests/NMBRTests.swift similarity index 100% rename from Tests/nmbrTests/NMBRTests.swift rename to Tests/nmbr-icuTests/NMBRTests.swift diff --git a/nmbr-icu.xcodeproj/project.pbxproj b/nmbr-icu.xcodeproj/project.pbxproj new file mode 100644 index 0000000..d4955b4 --- /dev/null +++ b/nmbr-icu.xcodeproj/project.pbxproj @@ -0,0 +1,677 @@ +// !$*UTF8*$! +{ + archiveVersion = 1; + classes = { + }; + objectVersion = 56; + objects = { + +/* Begin PBXBuildFile section */ + 8F980DCC2C4666C5009F255A /* nmbr_icu.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 8F980DC32C4666C5009F255A /* nmbr_icu.framework */; }; + 8F980DD92C4666DA009F255A /* NMBRFormatter.h in Headers */ = {isa = PBXBuildFile; fileRef = 8F980DB52C45BF84009F255A /* NMBRFormatter.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 8F980DDA2C4666DA009F255A /* NMBRFormatter.mm in Sources */ = {isa = PBXBuildFile; fileRef = 8F980DB72C45BF84009F255A /* NMBRFormatter.mm */; }; + 8F980DDB2C4666E7009F255A /* NMBRTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 8F980DAF2C45BF84009F255A /* NMBRTests.swift */; }; + 8F980DDD2C466B4D009F255A /* ICU.xcframework in Frameworks */ = {isa = PBXBuildFile; fileRef = 8F980DAE2C45BF84009F255A /* ICU.xcframework */; }; + 8F980DDE2C466B4D009F255A /* ICU.xcframework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = 8F980DAE2C45BF84009F255A /* ICU.xcframework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; }; +/* End PBXBuildFile section */ + +/* Begin PBXContainerItemProxy section */ + 8F980DCD2C4666C5009F255A /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 8F980DA82C45BF2E009F255A /* Project object */; + proxyType = 1; + remoteGlobalIDString = 8F980DC22C4666C5009F255A; + remoteInfo = "nmbr-icu"; + }; +/* End PBXContainerItemProxy section */ + +/* Begin PBXCopyFilesBuildPhase section */ + 8F980DDF2C466B4D009F255A /* Embed Frameworks */ = { + isa = PBXCopyFilesBuildPhase; + buildActionMask = 2147483647; + dstPath = ""; + dstSubfolderSpec = 10; + files = ( + 8F980DDE2C466B4D009F255A /* ICU.xcframework in Embed Frameworks */, + ); + name = "Embed Frameworks"; + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXCopyFilesBuildPhase section */ + +/* Begin PBXFileReference section */ + 8F980DAE2C45BF84009F255A /* ICU.xcframework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.xcframework; path = ICU.xcframework; sourceTree = ""; }; + 8F980DAF2C45BF84009F255A /* NMBRTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = NMBRTests.swift; sourceTree = ""; }; + 8F980DB12C45BF84009F255A /* nmbr-icu.xctestplan */ = {isa = PBXFileReference; lastKnownFileType = text; path = "nmbr-icu.xctestplan"; sourceTree = ""; }; + 8F980DB32C45BF84009F255A /* Package.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Package.swift; sourceTree = ""; }; + 8F980DB42C45BF84009F255A /* README.md */ = {isa = PBXFileReference; lastKnownFileType = net.daringfireball.markdown; path = README.md; sourceTree = ""; }; + 8F980DB52C45BF84009F255A /* NMBRFormatter.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = NMBRFormatter.h; sourceTree = ""; }; + 8F980DB72C45BF84009F255A /* NMBRFormatter.mm */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.objcpp; path = NMBRFormatter.mm; sourceTree = ""; }; + 8F980DBA2C45BF84009F255A /* nmbr-icu.podspec */ = {isa = PBXFileReference; lastKnownFileType = text; path = "nmbr-icu.podspec"; sourceTree = ""; }; + 8F980DBB2C45BF84009F255A /* LICENSE */ = {isa = PBXFileReference; lastKnownFileType = text; path = LICENSE; sourceTree = ""; }; + 8F980DBC2C45BF84009F255A /* Gemfile */ = {isa = PBXFileReference; lastKnownFileType = text; path = Gemfile; sourceTree = ""; }; + 8F980DBD2C45BF84009F255A /* Makefile */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.make; path = Makefile; sourceTree = ""; }; + 8F980DC32C4666C5009F255A /* nmbr_icu.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = nmbr_icu.framework; sourceTree = BUILT_PRODUCTS_DIR; }; + 8F980DCB2C4666C5009F255A /* nmbr-icuTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = "nmbr-icuTests.xctest"; sourceTree = BUILT_PRODUCTS_DIR; }; + 8F980DE02C466C06009F255A /* module.modulemap */ = {isa = PBXFileReference; lastKnownFileType = "sourcecode.module-map"; path = module.modulemap; sourceTree = ""; }; + 8F980DE22C46707B009F255A /* .github */ = {isa = PBXFileReference; lastKnownFileType = folder; path = .github; sourceTree = ""; }; +/* End PBXFileReference section */ + +/* Begin PBXFrameworksBuildPhase section */ + 8F980DC02C4666C5009F255A /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + 8F980DDD2C466B4D009F255A /* ICU.xcframework in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 8F980DC82C4666C5009F255A /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + 8F980DCC2C4666C5009F255A /* nmbr_icu.framework in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXFrameworksBuildPhase section */ + +/* Begin PBXGroup section */ + 8F980DA72C45BF2E009F255A = { + isa = PBXGroup; + children = ( + 8F980DE22C46707B009F255A /* .github */, + 8F980DBC2C45BF84009F255A /* Gemfile */, + 8F980DAE2C45BF84009F255A /* ICU.xcframework */, + 8F980DBB2C45BF84009F255A /* LICENSE */, + 8F980DBD2C45BF84009F255A /* Makefile */, + 8F980DBA2C45BF84009F255A /* nmbr-icu.podspec */, + 8F980DB32C45BF84009F255A /* Package.swift */, + 8F980DB42C45BF84009F255A /* README.md */, + 8F980DB92C45BF84009F255A /* Sources */, + 8F980DB22C45BF84009F255A /* Tests */, + 8F980DC42C4666C5009F255A /* Products */, + 8F980DDC2C466B4D009F255A /* Frameworks */, + ); + sourceTree = ""; + }; + 8F980DB02C45BF84009F255A /* nmbr-icuTests */ = { + isa = PBXGroup; + children = ( + 8F980DAF2C45BF84009F255A /* NMBRTests.swift */, + ); + path = "nmbr-icuTests"; + sourceTree = ""; + }; + 8F980DB22C45BF84009F255A /* Tests */ = { + isa = PBXGroup; + children = ( + 8F980DB02C45BF84009F255A /* nmbr-icuTests */, + 8F980DB12C45BF84009F255A /* nmbr-icu.xctestplan */, + ); + path = Tests; + sourceTree = ""; + }; + 8F980DB62C45BF84009F255A /* include */ = { + isa = PBXGroup; + children = ( + 8F980DB52C45BF84009F255A /* NMBRFormatter.h */, + ); + path = include; + sourceTree = ""; + }; + 8F980DB82C45BF84009F255A /* nmbr-icu */ = { + isa = PBXGroup; + children = ( + 8F980DE12C466C86009F255A /* Modules */, + 8F980DB62C45BF84009F255A /* include */, + 8F980DB72C45BF84009F255A /* NMBRFormatter.mm */, + ); + path = "nmbr-icu"; + sourceTree = ""; + }; + 8F980DB92C45BF84009F255A /* Sources */ = { + isa = PBXGroup; + children = ( + 8F980DB82C45BF84009F255A /* nmbr-icu */, + ); + path = Sources; + sourceTree = ""; + }; + 8F980DC42C4666C5009F255A /* Products */ = { + isa = PBXGroup; + children = ( + 8F980DC32C4666C5009F255A /* nmbr_icu.framework */, + 8F980DCB2C4666C5009F255A /* nmbr-icuTests.xctest */, + ); + name = Products; + sourceTree = ""; + }; + 8F980DDC2C466B4D009F255A /* Frameworks */ = { + isa = PBXGroup; + children = ( + ); + name = Frameworks; + sourceTree = ""; + }; + 8F980DE12C466C86009F255A /* Modules */ = { + isa = PBXGroup; + children = ( + 8F980DE02C466C06009F255A /* module.modulemap */, + ); + path = Modules; + sourceTree = ""; + }; +/* End PBXGroup section */ + +/* Begin PBXHeadersBuildPhase section */ + 8F980DBE2C4666C5009F255A /* Headers */ = { + isa = PBXHeadersBuildPhase; + buildActionMask = 2147483647; + files = ( + 8F980DD92C4666DA009F255A /* NMBRFormatter.h in Headers */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXHeadersBuildPhase section */ + +/* Begin PBXNativeTarget section */ + 8F980DC22C4666C5009F255A /* nmbr-icu */ = { + isa = PBXNativeTarget; + buildConfigurationList = 8F980DD32C4666C5009F255A /* Build configuration list for PBXNativeTarget "nmbr-icu" */; + buildPhases = ( + 8F980DBE2C4666C5009F255A /* Headers */, + 8F980DBF2C4666C5009F255A /* Sources */, + 8F980DC02C4666C5009F255A /* Frameworks */, + 8F980DC12C4666C5009F255A /* Resources */, + 8F980DDF2C466B4D009F255A /* Embed Frameworks */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = "nmbr-icu"; + productName = "nmbr-icu"; + productReference = 8F980DC32C4666C5009F255A /* nmbr_icu.framework */; + productType = "com.apple.product-type.framework"; + }; + 8F980DCA2C4666C5009F255A /* nmbr-icuTests */ = { + isa = PBXNativeTarget; + buildConfigurationList = 8F980DD62C4666C5009F255A /* Build configuration list for PBXNativeTarget "nmbr-icuTests" */; + buildPhases = ( + 8F980DC72C4666C5009F255A /* Sources */, + 8F980DC82C4666C5009F255A /* Frameworks */, + 8F980DC92C4666C5009F255A /* Resources */, + ); + buildRules = ( + ); + dependencies = ( + 8F980DCE2C4666C5009F255A /* PBXTargetDependency */, + ); + name = "nmbr-icuTests"; + productName = "nmbr-icuTests"; + productReference = 8F980DCB2C4666C5009F255A /* nmbr-icuTests.xctest */; + productType = "com.apple.product-type.bundle.unit-test"; + }; +/* End PBXNativeTarget section */ + +/* Begin PBXProject section */ + 8F980DA82C45BF2E009F255A /* Project object */ = { + isa = PBXProject; + attributes = { + BuildIndependentTargetsInParallel = 1; + LastSwiftUpdateCheck = 1530; + LastUpgradeCheck = 1530; + TargetAttributes = { + 8F980DC22C4666C5009F255A = { + CreatedOnToolsVersion = 15.3; + }; + 8F980DCA2C4666C5009F255A = { + CreatedOnToolsVersion = 15.3; + }; + }; + }; + buildConfigurationList = 8F980DAB2C45BF2E009F255A /* Build configuration list for PBXProject "nmbr-icu" */; + compatibilityVersion = "Xcode 14.0"; + developmentRegion = en; + hasScannedForEncodings = 0; + knownRegions = ( + en, + Base, + ); + mainGroup = 8F980DA72C45BF2E009F255A; + productRefGroup = 8F980DC42C4666C5009F255A /* Products */; + projectDirPath = ""; + projectRoot = ""; + targets = ( + 8F980DC22C4666C5009F255A /* nmbr-icu */, + 8F980DCA2C4666C5009F255A /* nmbr-icuTests */, + ); + }; +/* End PBXProject section */ + +/* Begin PBXResourcesBuildPhase section */ + 8F980DC12C4666C5009F255A /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 8F980DC92C4666C5009F255A /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXResourcesBuildPhase section */ + +/* Begin PBXSourcesBuildPhase section */ + 8F980DBF2C4666C5009F255A /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 8F980DDA2C4666DA009F255A /* NMBRFormatter.mm in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 8F980DC72C4666C5009F255A /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 8F980DDB2C4666E7009F255A /* NMBRTests.swift in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXSourcesBuildPhase section */ + +/* Begin PBXTargetDependency section */ + 8F980DCE2C4666C5009F255A /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 8F980DC22C4666C5009F255A /* nmbr-icu */; + targetProxy = 8F980DCD2C4666C5009F255A /* PBXContainerItemProxy */; + }; +/* End PBXTargetDependency section */ + +/* Begin XCBuildConfiguration section */ + 8F980DAC2C45BF2E009F255A /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + }; + name = Debug; + }; + 8F980DAD2C45BF2E009F255A /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + }; + name = Release; + }; + 8F980DD42C4666C5009F255A /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + ASSETCATALOG_COMPILER_GENERATE_SWIFT_ASSET_SYMBOL_EXTENSIONS = YES; + BUILD_LIBRARY_FOR_DISTRIBUTION = YES; + CLANG_ANALYZER_NONNULL = YES; + CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++20"; + CLANG_ENABLE_MODULES = YES; + CLANG_ENABLE_OBJC_ARC = YES; + CLANG_ENABLE_OBJC_WEAK = YES; + CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; + CLANG_WARN_BOOL_CONVERSION = YES; + CLANG_WARN_COMMA = YES; + CLANG_WARN_CONSTANT_CONVERSION = YES; + CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; + CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; + CLANG_WARN_DOCUMENTATION_COMMENTS = YES; + CLANG_WARN_EMPTY_BODY = YES; + CLANG_WARN_ENUM_CONVERSION = YES; + CLANG_WARN_INFINITE_RECURSION = YES; + CLANG_WARN_INT_CONVERSION = YES; + CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; + CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; + CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; + CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; + CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES; + CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; + CLANG_WARN_STRICT_PROTOTYPES = YES; + CLANG_WARN_SUSPICIOUS_MOVE = YES; + CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; + CLANG_WARN_UNREACHABLE_CODE = YES; + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; + CODE_SIGN_STYLE = Automatic; + COPY_PHASE_STRIP = NO; + CURRENT_PROJECT_VERSION = 1; + DEBUG_INFORMATION_FORMAT = dwarf; + DEFINES_MODULE = YES; + DEVELOPMENT_TEAM = Z8KUB3T25A; + DYLIB_COMPATIBILITY_VERSION = 1; + DYLIB_CURRENT_VERSION = 1; + DYLIB_INSTALL_NAME_BASE = "@rpath"; + ENABLE_MODULE_VERIFIER = YES; + ENABLE_STRICT_OBJC_MSGSEND = YES; + ENABLE_TESTABILITY = YES; + ENABLE_USER_SCRIPT_SANDBOXING = YES; + GCC_C_LANGUAGE_STANDARD = gnu17; + GCC_DYNAMIC_NO_PIC = NO; + GCC_NO_COMMON_BLOCKS = YES; + GCC_OPTIMIZATION_LEVEL = 0; + GCC_PREPROCESSOR_DEFINITIONS = ( + "DEBUG=1", + "$(inherited)", + ); + GCC_WARN_64_TO_32_BIT_CONVERSION = YES; + GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; + GCC_WARN_UNDECLARED_SELECTOR = YES; + GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; + GCC_WARN_UNUSED_FUNCTION = YES; + GCC_WARN_UNUSED_VARIABLE = YES; + GENERATE_INFOPLIST_FILE = YES; + INFOPLIST_KEY_NSHumanReadableCopyright = ""; + INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; + IPHONEOS_DEPLOYMENT_TARGET = 17.4; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/Frameworks", + "@loader_path/Frameworks", + ); + LOCALIZATION_PREFERS_STRING_CATALOGS = YES; + MARKETING_VERSION = 1.0; + MODULEMAP_FILE = "Sources/nmbr-icu/Modules/module.modulemap"; + MODULE_VERIFIER_SUPPORTED_LANGUAGES = "objective-c objective-c++"; + MODULE_VERIFIER_SUPPORTED_LANGUAGE_STANDARDS = "gnu17 gnu++20"; + MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE; + MTL_FAST_MATH = YES; + ONLY_ACTIVE_ARCH = YES; + PRODUCT_BUNDLE_IDENTIFIER = "com.kerrmarin.nmbr-icu"; + PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)"; + SDKROOT = iphoneos; + SKIP_INSTALL = YES; + SUPPORTED_PLATFORMS = "iphoneos iphonesimulator"; + SUPPORTS_MACCATALYST = NO; + SUPPORTS_MAC_DESIGNED_FOR_IPHONE_IPAD = NO; + SUPPORTS_XR_DESIGNED_FOR_IPHONE_IPAD = NO; + SWIFT_ACTIVE_COMPILATION_CONDITIONS = "DEBUG $(inherited)"; + SWIFT_EMIT_LOC_STRINGS = YES; + SWIFT_INSTALL_OBJC_HEADER = NO; + SWIFT_OPTIMIZATION_LEVEL = "-Onone"; + SWIFT_VERSION = 5.0; + TARGETED_DEVICE_FAMILY = 1; + VERSIONING_SYSTEM = "apple-generic"; + VERSION_INFO_PREFIX = ""; + }; + name = Debug; + }; + 8F980DD52C4666C5009F255A /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + ASSETCATALOG_COMPILER_GENERATE_SWIFT_ASSET_SYMBOL_EXTENSIONS = YES; + BUILD_LIBRARY_FOR_DISTRIBUTION = YES; + CLANG_ANALYZER_NONNULL = YES; + CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++20"; + CLANG_ENABLE_MODULES = YES; + CLANG_ENABLE_OBJC_ARC = YES; + CLANG_ENABLE_OBJC_WEAK = YES; + CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; + CLANG_WARN_BOOL_CONVERSION = YES; + CLANG_WARN_COMMA = YES; + CLANG_WARN_CONSTANT_CONVERSION = YES; + CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; + CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; + CLANG_WARN_DOCUMENTATION_COMMENTS = YES; + CLANG_WARN_EMPTY_BODY = YES; + CLANG_WARN_ENUM_CONVERSION = YES; + CLANG_WARN_INFINITE_RECURSION = YES; + CLANG_WARN_INT_CONVERSION = YES; + CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; + CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; + CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; + CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; + CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES; + CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; + CLANG_WARN_STRICT_PROTOTYPES = YES; + CLANG_WARN_SUSPICIOUS_MOVE = YES; + CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; + CLANG_WARN_UNREACHABLE_CODE = YES; + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; + CODE_SIGN_STYLE = Automatic; + COPY_PHASE_STRIP = NO; + CURRENT_PROJECT_VERSION = 1; + DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; + DEFINES_MODULE = YES; + DEVELOPMENT_TEAM = Z8KUB3T25A; + DYLIB_COMPATIBILITY_VERSION = 1; + DYLIB_CURRENT_VERSION = 1; + DYLIB_INSTALL_NAME_BASE = "@rpath"; + ENABLE_MODULE_VERIFIER = YES; + ENABLE_NS_ASSERTIONS = NO; + ENABLE_STRICT_OBJC_MSGSEND = YES; + ENABLE_USER_SCRIPT_SANDBOXING = YES; + GCC_C_LANGUAGE_STANDARD = gnu17; + GCC_NO_COMMON_BLOCKS = YES; + GCC_WARN_64_TO_32_BIT_CONVERSION = YES; + GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; + GCC_WARN_UNDECLARED_SELECTOR = YES; + GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; + GCC_WARN_UNUSED_FUNCTION = YES; + GCC_WARN_UNUSED_VARIABLE = YES; + GENERATE_INFOPLIST_FILE = YES; + INFOPLIST_KEY_NSHumanReadableCopyright = ""; + INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; + IPHONEOS_DEPLOYMENT_TARGET = 17.4; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/Frameworks", + "@loader_path/Frameworks", + ); + LOCALIZATION_PREFERS_STRING_CATALOGS = YES; + MARKETING_VERSION = 1.0; + MODULEMAP_FILE = "Sources/nmbr-icu/Modules/module.modulemap"; + MODULE_VERIFIER_SUPPORTED_LANGUAGES = "objective-c objective-c++"; + MODULE_VERIFIER_SUPPORTED_LANGUAGE_STANDARDS = "gnu17 gnu++20"; + MTL_ENABLE_DEBUG_INFO = NO; + MTL_FAST_MATH = YES; + PRODUCT_BUNDLE_IDENTIFIER = "com.kerrmarin.nmbr-icu"; + PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)"; + SDKROOT = iphoneos; + SKIP_INSTALL = YES; + SUPPORTED_PLATFORMS = "iphoneos iphonesimulator"; + SUPPORTS_MACCATALYST = NO; + SUPPORTS_MAC_DESIGNED_FOR_IPHONE_IPAD = NO; + SUPPORTS_XR_DESIGNED_FOR_IPHONE_IPAD = NO; + SWIFT_COMPILATION_MODE = wholemodule; + SWIFT_EMIT_LOC_STRINGS = YES; + SWIFT_INSTALL_OBJC_HEADER = NO; + SWIFT_VERSION = 5.0; + TARGETED_DEVICE_FAMILY = 1; + VALIDATE_PRODUCT = YES; + VERSIONING_SYSTEM = "apple-generic"; + VERSION_INFO_PREFIX = ""; + }; + name = Release; + }; + 8F980DD72C4666C5009F255A /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + ASSETCATALOG_COMPILER_GENERATE_SWIFT_ASSET_SYMBOL_EXTENSIONS = YES; + CLANG_ANALYZER_NONNULL = YES; + CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++20"; + CLANG_ENABLE_MODULES = YES; + CLANG_ENABLE_OBJC_ARC = YES; + CLANG_ENABLE_OBJC_WEAK = YES; + CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; + CLANG_WARN_BOOL_CONVERSION = YES; + CLANG_WARN_COMMA = YES; + CLANG_WARN_CONSTANT_CONVERSION = YES; + CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; + CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; + CLANG_WARN_DOCUMENTATION_COMMENTS = YES; + CLANG_WARN_EMPTY_BODY = YES; + CLANG_WARN_ENUM_CONVERSION = YES; + CLANG_WARN_INFINITE_RECURSION = YES; + CLANG_WARN_INT_CONVERSION = YES; + CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; + CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; + CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; + CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; + CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES; + CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; + CLANG_WARN_STRICT_PROTOTYPES = YES; + CLANG_WARN_SUSPICIOUS_MOVE = YES; + CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; + CLANG_WARN_UNREACHABLE_CODE = YES; + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; + CODE_SIGN_STYLE = Automatic; + COPY_PHASE_STRIP = NO; + CURRENT_PROJECT_VERSION = 1; + DEBUG_INFORMATION_FORMAT = dwarf; + DEVELOPMENT_TEAM = Z8KUB3T25A; + ENABLE_STRICT_OBJC_MSGSEND = YES; + ENABLE_TESTABILITY = YES; + ENABLE_USER_SCRIPT_SANDBOXING = YES; + GCC_C_LANGUAGE_STANDARD = gnu17; + GCC_DYNAMIC_NO_PIC = NO; + GCC_NO_COMMON_BLOCKS = YES; + GCC_OPTIMIZATION_LEVEL = 0; + GCC_PREPROCESSOR_DEFINITIONS = ( + "DEBUG=1", + "$(inherited)", + ); + GCC_WARN_64_TO_32_BIT_CONVERSION = YES; + GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; + GCC_WARN_UNDECLARED_SELECTOR = YES; + GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; + GCC_WARN_UNUSED_FUNCTION = YES; + GCC_WARN_UNUSED_VARIABLE = YES; + GENERATE_INFOPLIST_FILE = YES; + IPHONEOS_DEPLOYMENT_TARGET = 17.4; + LOCALIZATION_PREFERS_STRING_CATALOGS = YES; + MARKETING_VERSION = 1.0; + MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE; + MTL_FAST_MATH = YES; + ONLY_ACTIVE_ARCH = YES; + PRODUCT_BUNDLE_IDENTIFIER = "com.kerrmarin.nmbr-icuTests"; + PRODUCT_NAME = "$(TARGET_NAME)"; + SDKROOT = iphoneos; + SUPPORTED_PLATFORMS = "iphoneos iphonesimulator"; + SUPPORTS_MACCATALYST = NO; + SUPPORTS_MAC_DESIGNED_FOR_IPHONE_IPAD = NO; + SUPPORTS_XR_DESIGNED_FOR_IPHONE_IPAD = NO; + SWIFT_ACTIVE_COMPILATION_CONDITIONS = "DEBUG $(inherited)"; + SWIFT_EMIT_LOC_STRINGS = NO; + SWIFT_OPTIMIZATION_LEVEL = "-Onone"; + SWIFT_VERSION = 5.0; + TARGETED_DEVICE_FAMILY = 1; + }; + name = Debug; + }; + 8F980DD82C4666C5009F255A /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + ASSETCATALOG_COMPILER_GENERATE_SWIFT_ASSET_SYMBOL_EXTENSIONS = YES; + CLANG_ANALYZER_NONNULL = YES; + CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++20"; + CLANG_ENABLE_MODULES = YES; + CLANG_ENABLE_OBJC_ARC = YES; + CLANG_ENABLE_OBJC_WEAK = YES; + CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; + CLANG_WARN_BOOL_CONVERSION = YES; + CLANG_WARN_COMMA = YES; + CLANG_WARN_CONSTANT_CONVERSION = YES; + CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; + CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; + CLANG_WARN_DOCUMENTATION_COMMENTS = YES; + CLANG_WARN_EMPTY_BODY = YES; + CLANG_WARN_ENUM_CONVERSION = YES; + CLANG_WARN_INFINITE_RECURSION = YES; + CLANG_WARN_INT_CONVERSION = YES; + CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; + CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; + CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; + CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; + CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES; + CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; + CLANG_WARN_STRICT_PROTOTYPES = YES; + CLANG_WARN_SUSPICIOUS_MOVE = YES; + CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; + CLANG_WARN_UNREACHABLE_CODE = YES; + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; + CODE_SIGN_STYLE = Automatic; + COPY_PHASE_STRIP = NO; + CURRENT_PROJECT_VERSION = 1; + DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; + DEVELOPMENT_TEAM = Z8KUB3T25A; + ENABLE_NS_ASSERTIONS = NO; + ENABLE_STRICT_OBJC_MSGSEND = YES; + ENABLE_USER_SCRIPT_SANDBOXING = YES; + GCC_C_LANGUAGE_STANDARD = gnu17; + GCC_NO_COMMON_BLOCKS = YES; + GCC_WARN_64_TO_32_BIT_CONVERSION = YES; + GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; + GCC_WARN_UNDECLARED_SELECTOR = YES; + GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; + GCC_WARN_UNUSED_FUNCTION = YES; + GCC_WARN_UNUSED_VARIABLE = YES; + GENERATE_INFOPLIST_FILE = YES; + IPHONEOS_DEPLOYMENT_TARGET = 17.4; + LOCALIZATION_PREFERS_STRING_CATALOGS = YES; + MARKETING_VERSION = 1.0; + MTL_ENABLE_DEBUG_INFO = NO; + MTL_FAST_MATH = YES; + PRODUCT_BUNDLE_IDENTIFIER = "com.kerrmarin.nmbr-icuTests"; + PRODUCT_NAME = "$(TARGET_NAME)"; + SDKROOT = iphoneos; + SUPPORTED_PLATFORMS = "iphoneos iphonesimulator"; + SUPPORTS_MACCATALYST = NO; + SUPPORTS_MAC_DESIGNED_FOR_IPHONE_IPAD = NO; + SUPPORTS_XR_DESIGNED_FOR_IPHONE_IPAD = NO; + SWIFT_COMPILATION_MODE = wholemodule; + SWIFT_EMIT_LOC_STRINGS = NO; + SWIFT_VERSION = 5.0; + TARGETED_DEVICE_FAMILY = 1; + VALIDATE_PRODUCT = YES; + }; + name = Release; + }; +/* End XCBuildConfiguration section */ + +/* Begin XCConfigurationList section */ + 8F980DAB2C45BF2E009F255A /* Build configuration list for PBXProject "nmbr-icu" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 8F980DAC2C45BF2E009F255A /* Debug */, + 8F980DAD2C45BF2E009F255A /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 8F980DD32C4666C5009F255A /* Build configuration list for PBXNativeTarget "nmbr-icu" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 8F980DD42C4666C5009F255A /* Debug */, + 8F980DD52C4666C5009F255A /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 8F980DD62C4666C5009F255A /* Build configuration list for PBXNativeTarget "nmbr-icuTests" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 8F980DD72C4666C5009F255A /* Debug */, + 8F980DD82C4666C5009F255A /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; +/* End XCConfigurationList section */ + }; + rootObject = 8F980DA82C45BF2E009F255A /* Project object */; +} diff --git a/nmbr-icu.xcodeproj/project.xcworkspace/contents.xcworkspacedata b/nmbr-icu.xcodeproj/project.xcworkspace/contents.xcworkspacedata new file mode 100644 index 0000000..919434a --- /dev/null +++ b/nmbr-icu.xcodeproj/project.xcworkspace/contents.xcworkspacedata @@ -0,0 +1,7 @@ + + + + + diff --git a/nmbr-icu.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist b/nmbr-icu.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist new file mode 100644 index 0000000..18d9810 --- /dev/null +++ b/nmbr-icu.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist @@ -0,0 +1,8 @@ + + + + + IDEDidComputeMac32BitWarning + + + diff --git a/nmbr-icu.xcodeproj/xcshareddata/xcschemes/nmbr-icu.xcscheme b/nmbr-icu.xcodeproj/xcshareddata/xcschemes/nmbr-icu.xcscheme new file mode 100644 index 0000000..3d50732 --- /dev/null +++ b/nmbr-icu.xcodeproj/xcshareddata/xcschemes/nmbr-icu.xcscheme @@ -0,0 +1,72 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +