diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index a510ef4..5170e5d 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -15,12 +15,12 @@ jobs: # This workflow contains a single job called "build" build: # The type of runner that the job will run on - runs-on: macos-13 + runs-on: macos-14 # Steps represent a sequence of tasks that will be executed as part of the job steps: # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 # Runs a set of commands using the runners shell - name: Select Xcode @@ -28,7 +28,15 @@ jobs: sudo xcode-select -s '/Applications/Xcode_15.0.app/Contents/Developer' - name: Run mac tests run: - xcodebuild -workspace objc_utils_mac.xcworkspace -scheme objc_utils_mac_tests -configuration Debug OBJROOT=build -sdk macosx clean test + xcodebuild + -scheme objc-utils + -configuration debug + -destination 'platform=macOS' + clean test - name: Run iOS tests run: - xcodebuild -workspace objc_utils_ios.xcworkspace -scheme objc_utils_ios_tests -configuration Debug OBJROOT=build -sdk iphonesimulator -destination 'platform=iOS Simulator,name=iPhone 15' clean test + xcodebuild + -scheme objc-utils + -configuration debug + -destination 'platform=iOS Simulator,name=iPhone 15' + clean test diff --git a/.gitignore b/.gitignore index 3d7dcb4..a8279bd 100644 --- a/.gitignore +++ b/.gitignore @@ -17,6 +17,11 @@ DerivedData *.ipa *.xcuserstate .DS_Store +/.build +/Packages +.swiftpm/configuration/registries.json +.swiftpm/xcode/package.xcworkspace/contents.xcworkspacedata +.netrc # CocoaPods # diff --git a/Package.swift b/Package.swift new file mode 100644 index 0000000..449da44 --- /dev/null +++ b/Package.swift @@ -0,0 +1,32 @@ +// swift-tools-version: 5.9 +// The swift-tools-version declares the minimum version of Swift required to build this package. + +import PackageDescription + +let package = Package( + name: "objc-utils", + platforms: [.macOS(.v10_15), .iOS(.v13), .macCatalyst(.v13)], + products: [ + .library( + name: "objc-utils", + targets: ["objc-utils"] + ), + ], + targets: [ + .target( + name: "objc-utils", + cSettings: [ + .unsafeFlags(["-fno-objc-arc"]) + ]), + .testTarget( + name: "objc-utils-tests", + dependencies: [ + "objc-utils", + ], + cSettings: [ + .unsafeFlags(["-fno-objc-arc"]) + ]), + ], + cLanguageStandard: .gnu18, + cxxLanguageStandard: .gnucxx2b +) diff --git a/objc_utils/yas_objc_macros.h b/Sources/objc-utils/include/objc-utils/yas_objc_macros.h similarity index 96% rename from objc_utils/yas_objc_macros.h rename to Sources/objc-utils/include/objc-utils/yas_objc_macros.h index f356fcf..f36ae6f 100644 --- a/objc_utils/yas_objc_macros.h +++ b/Sources/objc-utils/include/objc-utils/yas_objc_macros.h @@ -6,7 +6,9 @@ #pragma once -#if ! __has_feature(objc_arc) +#import + +#if !__has_feature(objc_arc) #define yas_autorelease(__v) [__v autorelease] #define yas_retain(__v) [__v retain] #define yas_retain_or_ignore(__v) [__v retain] diff --git a/objc_utils/yas_objc_unowned.h b/Sources/objc-utils/include/objc-utils/yas_objc_unowned.h similarity index 100% rename from objc_utils/yas_objc_unowned.h rename to Sources/objc-utils/include/objc-utils/yas_objc_unowned.h diff --git a/objc_utils/yas_objc_unowned.m b/Sources/objc-utils/include/objc-utils/yas_objc_unowned.m similarity index 100% rename from objc_utils/yas_objc_unowned.m rename to Sources/objc-utils/include/objc-utils/yas_objc_unowned.m diff --git a/objc_utils_ios_tests/objc_utils_ios_tests/yas_objc_ios_class_tests.m b/Tests/objc-utils/yas_objc_ios_class_tests.m similarity index 85% rename from objc_utils_ios_tests/objc_utils_ios_tests/yas_objc_ios_class_tests.m rename to Tests/objc-utils/yas_objc_ios_class_tests.m index 1d898ed..5494331 100644 --- a/objc_utils_ios_tests/objc_utils_ios_tests/yas_objc_ios_class_tests.m +++ b/Tests/objc-utils/yas_objc_ios_class_tests.m @@ -2,8 +2,12 @@ // yas_objc_ios_class_tests.m // +#import + +#if TARGET_OS_IPHONE + #import -#import +@import objc_utils; @interface yas_objc_ios_class_tests : XCTestCase @@ -26,3 +30,5 @@ - (void)test_class { } @end + +#endif diff --git a/objc_utils_mac_tests/objc_utils_mac_tests/yas_objc_mac_class_tests.m b/Tests/objc-utils/yas_objc_mac_class_tests.m similarity index 83% rename from objc_utils_mac_tests/objc_utils_mac_tests/yas_objc_mac_class_tests.m rename to Tests/objc-utils/yas_objc_mac_class_tests.m index d927ca3..1857372 100644 --- a/objc_utils_mac_tests/objc_utils_mac_tests/yas_objc_mac_class_tests.m +++ b/Tests/objc-utils/yas_objc_mac_class_tests.m @@ -2,8 +2,12 @@ // yas_objc_mac_class_tests.m // +#import + +#if !TARGET_OS_IPHONE && TARGET_OS_MAC + #import -#import +@import objc_utils; @interface yas_objc_mac_class_tests : XCTestCase @@ -26,3 +30,5 @@ - (void)test_class { } @end + +#endif diff --git a/objc_utils_common_tests/yas_objc_unowned_tests.m b/Tests/objc-utils/yas_objc_unowned_tests.m similarity index 93% rename from objc_utils_common_tests/yas_objc_unowned_tests.m rename to Tests/objc-utils/yas_objc_unowned_tests.m index d83303a..a1e1224 100644 --- a/objc_utils_common_tests/yas_objc_unowned_tests.m +++ b/Tests/objc-utils/yas_objc_unowned_tests.m @@ -3,7 +3,8 @@ // #import -#import +#import +#import static NSInteger _objectCount = 0; @@ -52,6 +53,8 @@ - (void)test_create { yas_retain_or_ignore(retainedObject); } +//#if !__has_feature(objc_arc) + - (void)test_object { _objectCount = 0; @@ -80,6 +83,8 @@ - (void)test_object { XCTAssertEqual(_objectCount, 0); } +//#endif + - (void)test_init_with_object { NSString *stringObject = @"test_string"; YASUnownedObject *unowned = [[YASUnownedObject alloc] initWithObject:stringObject]; diff --git a/objc_utils_mac_tests/objc_utils_mac_tests/yas_mac_struct_tests.m b/Tests/objc-utils/yas_struct_tests.m similarity index 85% rename from objc_utils_mac_tests/objc_utils_mac_tests/yas_mac_struct_tests.m rename to Tests/objc-utils/yas_struct_tests.m index 93c31e8..2b70afb 100644 --- a/objc_utils_mac_tests/objc_utils_mac_tests/yas_mac_struct_tests.m +++ b/Tests/objc-utils/yas_struct_tests.m @@ -2,8 +2,12 @@ // yas_mac_struct_tests.m // +#import + +#if !TARGET_OS_IPHONE && TARGET_OS_MAC + #import -#import +@import objc_utils; @interface yas_mac_struct_tests : XCTestCase @@ -33,3 +37,5 @@ - (void)test_edge_insets { } @end + +#endif diff --git a/objc_utils/yas_objc_utils_umbrella.h b/objc_utils/yas_objc_utils_umbrella.h deleted file mode 100644 index f930278..0000000 --- a/objc_utils/yas_objc_utils_umbrella.h +++ /dev/null @@ -1,8 +0,0 @@ -// -// yas_objc_utils_umbrella.h -// - -#pragma once - -#import -#import diff --git a/objc_utils_ios.xcworkspace/contents.xcworkspacedata b/objc_utils_ios.xcworkspace/contents.xcworkspacedata deleted file mode 100644 index e1adf0b..0000000 --- a/objc_utils_ios.xcworkspace/contents.xcworkspacedata +++ /dev/null @@ -1,10 +0,0 @@ - - - - - - - diff --git a/objc_utils_ios.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist b/objc_utils_ios.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist deleted file mode 100644 index 18d9810..0000000 --- a/objc_utils_ios.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist +++ /dev/null @@ -1,8 +0,0 @@ - - - - - IDEDidComputeMac32BitWarning - - - diff --git a/objc_utils_ios/objc_utils/Info.plist b/objc_utils_ios/objc_utils/Info.plist deleted file mode 100644 index e1fe4cf..0000000 --- a/objc_utils_ios/objc_utils/Info.plist +++ /dev/null @@ -1,22 +0,0 @@ - - - - - CFBundleDevelopmentRegion - $(DEVELOPMENT_LANGUAGE) - CFBundleExecutable - $(EXECUTABLE_NAME) - CFBundleIdentifier - $(PRODUCT_BUNDLE_IDENTIFIER) - CFBundleInfoDictionaryVersion - 6.0 - CFBundleName - $(PRODUCT_NAME) - CFBundlePackageType - FMWK - CFBundleShortVersionString - 1.0 - CFBundleVersion - $(CURRENT_PROJECT_VERSION) - - diff --git a/objc_utils_ios/objc_utils/objc_utils.h b/objc_utils_ios/objc_utils/objc_utils.h deleted file mode 100644 index f44ca25..0000000 --- a/objc_utils_ios/objc_utils/objc_utils.h +++ /dev/null @@ -1,13 +0,0 @@ -// -// objc_utils.h -// - -#import - -//! Project version number for objc_utils. -FOUNDATION_EXPORT double objc_utilsVersionNumber; - -//! Project version string for objc_utils. -FOUNDATION_EXPORT const unsigned char objc_utilsVersionString[]; - -#import diff --git a/objc_utils_ios/objc_utils_ios.xcodeproj/project.pbxproj b/objc_utils_ios/objc_utils_ios.xcodeproj/project.pbxproj deleted file mode 100644 index b21cb5f..0000000 --- a/objc_utils_ios/objc_utils_ios.xcodeproj/project.pbxproj +++ /dev/null @@ -1,418 +0,0 @@ -// !$*UTF8*$! -{ - archiveVersion = 1; - classes = { - }; - objectVersion = 50; - objects = { - -/* Begin PBXBuildFile section */ - B6359E1A21DB73FF00481348 /* Accelerate.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = B6359E1921DB73FF00481348 /* Accelerate.framework */; }; - B684E9DD21DB204800599A55 /* objc_utils.h in Headers */ = {isa = PBXBuildFile; fileRef = B684E9DB21DB204800599A55 /* objc_utils.h */; settings = {ATTRIBUTES = (Public, ); }; }; - B684E9E621DB207100599A55 /* yas_objc_utils_umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = B684E9E221DB207100599A55 /* yas_objc_utils_umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; - B684E9E721DB207100599A55 /* yas_objc_unowned.m in Sources */ = {isa = PBXBuildFile; fileRef = B684E9E321DB207100599A55 /* yas_objc_unowned.m */; }; - B684E9E821DB207100599A55 /* yas_objc_macros.h in Headers */ = {isa = PBXBuildFile; fileRef = B684E9E421DB207100599A55 /* yas_objc_macros.h */; settings = {ATTRIBUTES = (Public, ); }; }; - B684E9E921DB207100599A55 /* yas_objc_unowned.h in Headers */ = {isa = PBXBuildFile; fileRef = B684E9E521DB207100599A55 /* yas_objc_unowned.h */; settings = {ATTRIBUTES = (Public, ); }; }; -/* End PBXBuildFile section */ - -/* Begin PBXFileReference section */ - B6359E1921DB73FF00481348 /* Accelerate.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Accelerate.framework; path = Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS12.1.sdk/System/Library/Frameworks/Accelerate.framework; sourceTree = DEVELOPER_DIR; }; - B684E9D821DB204800599A55 /* objc_utils.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = objc_utils.framework; sourceTree = BUILT_PRODUCTS_DIR; }; - B684E9DB21DB204800599A55 /* objc_utils.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = objc_utils.h; sourceTree = ""; }; - B684E9DC21DB204800599A55 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; - B684E9E221DB207100599A55 /* yas_objc_utils_umbrella.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = yas_objc_utils_umbrella.h; sourceTree = ""; }; - B684E9E321DB207100599A55 /* yas_objc_unowned.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = yas_objc_unowned.m; sourceTree = ""; }; - B684E9E421DB207100599A55 /* yas_objc_macros.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = yas_objc_macros.h; sourceTree = ""; }; - B684E9E521DB207100599A55 /* yas_objc_unowned.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = yas_objc_unowned.h; sourceTree = ""; }; -/* End PBXFileReference section */ - -/* Begin PBXFrameworksBuildPhase section */ - B684E9D521DB204800599A55 /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - B6359E1A21DB73FF00481348 /* Accelerate.framework in Frameworks */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXFrameworksBuildPhase section */ - -/* Begin PBXGroup section */ - B6359E1821DB73FF00481348 /* Frameworks */ = { - isa = PBXGroup; - children = ( - B6359E1921DB73FF00481348 /* Accelerate.framework */, - ); - name = Frameworks; - sourceTree = ""; - }; - B684E9CC21DB201100599A55 = { - isa = PBXGroup; - children = ( - B684E9DA21DB204800599A55 /* objc_utils */, - B684E9D921DB204800599A55 /* Products */, - B6359E1821DB73FF00481348 /* Frameworks */, - ); - sourceTree = ""; - }; - B684E9D921DB204800599A55 /* Products */ = { - isa = PBXGroup; - children = ( - B684E9D821DB204800599A55 /* objc_utils.framework */, - ); - name = Products; - sourceTree = ""; - }; - B684E9DA21DB204800599A55 /* objc_utils */ = { - isa = PBXGroup; - children = ( - B684E9E121DB207100599A55 /* objc_utils */, - B684E9DB21DB204800599A55 /* objc_utils.h */, - B684E9DC21DB204800599A55 /* Info.plist */, - ); - path = objc_utils; - sourceTree = ""; - }; - B684E9E121DB207100599A55 /* objc_utils */ = { - isa = PBXGroup; - children = ( - B684E9E221DB207100599A55 /* yas_objc_utils_umbrella.h */, - B684E9E321DB207100599A55 /* yas_objc_unowned.m */, - B684E9E421DB207100599A55 /* yas_objc_macros.h */, - B684E9E521DB207100599A55 /* yas_objc_unowned.h */, - ); - name = objc_utils; - path = ../../objc_utils; - sourceTree = ""; - }; -/* End PBXGroup section */ - -/* Begin PBXHeadersBuildPhase section */ - B684E9D321DB204800599A55 /* Headers */ = { - isa = PBXHeadersBuildPhase; - buildActionMask = 2147483647; - files = ( - B684E9E621DB207100599A55 /* yas_objc_utils_umbrella.h in Headers */, - B684E9E921DB207100599A55 /* yas_objc_unowned.h in Headers */, - B684E9E821DB207100599A55 /* yas_objc_macros.h in Headers */, - B684E9DD21DB204800599A55 /* objc_utils.h in Headers */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXHeadersBuildPhase section */ - -/* Begin PBXNativeTarget section */ - B684E9D721DB204800599A55 /* objc_utils */ = { - isa = PBXNativeTarget; - buildConfigurationList = B684E9E021DB204800599A55 /* Build configuration list for PBXNativeTarget "objc_utils" */; - buildPhases = ( - B684E9D321DB204800599A55 /* Headers */, - B684E9D421DB204800599A55 /* Sources */, - B684E9D521DB204800599A55 /* Frameworks */, - B684E9D621DB204800599A55 /* Resources */, - ); - buildRules = ( - ); - dependencies = ( - ); - name = objc_utils; - productName = objc_utils; - productReference = B684E9D821DB204800599A55 /* objc_utils.framework */; - productType = "com.apple.product-type.framework"; - }; -/* End PBXNativeTarget section */ - -/* Begin PBXProject section */ - B684E9CD21DB201100599A55 /* Project object */ = { - isa = PBXProject; - attributes = { - LastUpgradeCheck = 1200; - TargetAttributes = { - B684E9D721DB204800599A55 = { - CreatedOnToolsVersion = 10.0; - }; - }; - }; - buildConfigurationList = B684E9D021DB201100599A55 /* Build configuration list for PBXProject "objc_utils_ios" */; - compatibilityVersion = "Xcode 9.3"; - developmentRegion = en; - hasScannedForEncodings = 0; - knownRegions = ( - en, - Base, - ); - mainGroup = B684E9CC21DB201100599A55; - productRefGroup = B684E9D921DB204800599A55 /* Products */; - projectDirPath = ""; - projectRoot = ""; - targets = ( - B684E9D721DB204800599A55 /* objc_utils */, - ); - }; -/* End PBXProject section */ - -/* Begin PBXResourcesBuildPhase section */ - B684E9D621DB204800599A55 /* Resources */ = { - isa = PBXResourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXResourcesBuildPhase section */ - -/* Begin PBXSourcesBuildPhase section */ - B684E9D421DB204800599A55 /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - B684E9E721DB207100599A55 /* yas_objc_unowned.m in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXSourcesBuildPhase section */ - -/* Begin XCBuildConfiguration section */ - B684E9D121DB201100599A55 /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - CLANG_CXX_LANGUAGE_STANDARD = "gnu++23"; - 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_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_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES; - CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; - CLANG_WARN_STRICT_PROTOTYPES = YES; - CLANG_WARN_SUSPICIOUS_MOVE = YES; - CLANG_WARN_UNREACHABLE_CODE = YES; - CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; - ENABLE_STRICT_OBJC_MSGSEND = YES; - ENABLE_TESTABILITY = 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; - GCC_WARN_UNDECLARED_SELECTOR = YES; - GCC_WARN_UNINITIALIZED_AUTOS = YES; - GCC_WARN_UNUSED_FUNCTION = YES; - GCC_WARN_UNUSED_VARIABLE = YES; - ONLY_ACTIVE_ARCH = YES; - }; - name = Debug; - }; - B684E9D221DB201100599A55 /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - CLANG_CXX_LANGUAGE_STANDARD = "gnu++23"; - 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_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_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES; - CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; - CLANG_WARN_STRICT_PROTOTYPES = YES; - CLANG_WARN_SUSPICIOUS_MOVE = YES; - CLANG_WARN_UNREACHABLE_CODE = YES; - CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; - ENABLE_STRICT_OBJC_MSGSEND = 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; - GCC_WARN_UNDECLARED_SELECTOR = YES; - GCC_WARN_UNINITIALIZED_AUTOS = YES; - GCC_WARN_UNUSED_FUNCTION = YES; - GCC_WARN_UNUSED_VARIABLE = YES; - }; - name = Release; - }; - B684E9DE21DB204800599A55 /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - CLANG_ANALYZER_NONNULL = YES; - CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; - CLANG_CXX_LIBRARY = "libc++"; - CLANG_ENABLE_MODULES = 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_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_IDENTITY = ""; - CODE_SIGN_STYLE = Manual; - COPY_PHASE_STRIP = NO; - CURRENT_PROJECT_VERSION = 1; - DEBUG_INFORMATION_FORMAT = dwarf; - DEFINES_MODULE = YES; - DEVELOPMENT_TEAM = ""; - DYLIB_COMPATIBILITY_VERSION = 1; - DYLIB_CURRENT_VERSION = 1; - DYLIB_INSTALL_NAME_BASE = "@rpath"; - ENABLE_STRICT_OBJC_MSGSEND = YES; - ENABLE_TESTABILITY = YES; - 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; - INFOPLIST_FILE = objc_utils/Info.plist; - INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; - IPHONEOS_DEPLOYMENT_TARGET = 14.2; - LD_RUNPATH_SEARCH_PATHS = ( - "$(inherited)", - "@executable_path/Frameworks", - "@loader_path/Frameworks", - ); - MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE; - MTL_FAST_MATH = YES; - ONLY_ACTIVE_ARCH = YES; - PRODUCT_BUNDLE_IDENTIFIER = "jp.objective-audio.objc-utils"; - PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)"; - PROVISIONING_PROFILE_SPECIFIER = ""; - SDKROOT = iphoneos; - SKIP_INSTALL = YES; - TARGETED_DEVICE_FAMILY = "1,2"; - VERSIONING_SYSTEM = "apple-generic"; - VERSION_INFO_PREFIX = ""; - }; - name = Debug; - }; - B684E9DF21DB204800599A55 /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - CLANG_ANALYZER_NONNULL = YES; - CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; - CLANG_CXX_LIBRARY = "libc++"; - CLANG_ENABLE_MODULES = 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_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_IDENTITY = ""; - CODE_SIGN_STYLE = Manual; - COPY_PHASE_STRIP = NO; - CURRENT_PROJECT_VERSION = 1; - DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; - DEFINES_MODULE = YES; - DEVELOPMENT_TEAM = ""; - DYLIB_COMPATIBILITY_VERSION = 1; - DYLIB_CURRENT_VERSION = 1; - DYLIB_INSTALL_NAME_BASE = "@rpath"; - ENABLE_NS_ASSERTIONS = NO; - ENABLE_STRICT_OBJC_MSGSEND = YES; - 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; - INFOPLIST_FILE = objc_utils/Info.plist; - INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; - IPHONEOS_DEPLOYMENT_TARGET = 14.2; - LD_RUNPATH_SEARCH_PATHS = ( - "$(inherited)", - "@executable_path/Frameworks", - "@loader_path/Frameworks", - ); - MTL_ENABLE_DEBUG_INFO = NO; - MTL_FAST_MATH = YES; - PRODUCT_BUNDLE_IDENTIFIER = "jp.objective-audio.objc-utils"; - PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)"; - PROVISIONING_PROFILE_SPECIFIER = ""; - SDKROOT = iphoneos; - SKIP_INSTALL = YES; - TARGETED_DEVICE_FAMILY = "1,2"; - VALIDATE_PRODUCT = YES; - VERSIONING_SYSTEM = "apple-generic"; - VERSION_INFO_PREFIX = ""; - }; - name = Release; - }; -/* End XCBuildConfiguration section */ - -/* Begin XCConfigurationList section */ - B684E9D021DB201100599A55 /* Build configuration list for PBXProject "objc_utils_ios" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - B684E9D121DB201100599A55 /* Debug */, - B684E9D221DB201100599A55 /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - B684E9E021DB204800599A55 /* Build configuration list for PBXNativeTarget "objc_utils" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - B684E9DE21DB204800599A55 /* Debug */, - B684E9DF21DB204800599A55 /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; -/* End XCConfigurationList section */ - }; - rootObject = B684E9CD21DB201100599A55 /* Project object */; -} diff --git a/objc_utils_ios/objc_utils_ios.xcodeproj/project.xcworkspace/contents.xcworkspacedata b/objc_utils_ios/objc_utils_ios.xcodeproj/project.xcworkspace/contents.xcworkspacedata deleted file mode 100644 index 74ea0cc..0000000 --- a/objc_utils_ios/objc_utils_ios.xcodeproj/project.xcworkspace/contents.xcworkspacedata +++ /dev/null @@ -1,7 +0,0 @@ - - - - - diff --git a/objc_utils_ios/objc_utils_ios.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist b/objc_utils_ios/objc_utils_ios.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist deleted file mode 100644 index 18d9810..0000000 --- a/objc_utils_ios/objc_utils_ios.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist +++ /dev/null @@ -1,8 +0,0 @@ - - - - - IDEDidComputeMac32BitWarning - - - diff --git a/objc_utils_ios_tests/objc_utils_ios_tests.xcodeproj/project.pbxproj b/objc_utils_ios_tests/objc_utils_ios_tests.xcodeproj/project.pbxproj deleted file mode 100644 index 90c6c4c..0000000 --- a/objc_utils_ios_tests/objc_utils_ios_tests.xcodeproj/project.pbxproj +++ /dev/null @@ -1,401 +0,0 @@ -// !$*UTF8*$! -{ - archiveVersion = 1; - classes = { - }; - objectVersion = 54; - objects = { - -/* Begin PBXBuildFile section */ - B6D4C55721E99982004A95A8 /* yas_objc_unowned_tests.m in Sources */ = {isa = PBXBuildFile; fileRef = B6D4C55621E99982004A95A8 /* yas_objc_unowned_tests.m */; }; - B6D4C55A21E99996004A95A8 /* yas_objc_ios_class_tests.m in Sources */ = {isa = PBXBuildFile; fileRef = B6D4C55821E99996004A95A8 /* yas_objc_ios_class_tests.m */; }; - B6D4C55B21E99996004A95A8 /* yas_ios_struct_tests.m in Sources */ = {isa = PBXBuildFile; fileRef = B6D4C55921E99996004A95A8 /* yas_ios_struct_tests.m */; }; - B6D4C55E21E999C4004A95A8 /* objc_utils.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = B6D4C55D21E999C4004A95A8 /* objc_utils.framework */; }; -/* End PBXBuildFile section */ - -/* Begin PBXFileReference section */ - B6D4C54C21E99944004A95A8 /* objc_utils_ios_tests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = objc_utils_ios_tests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; - B6D4C55121E99944004A95A8 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; - B6D4C55621E99982004A95A8 /* yas_objc_unowned_tests.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = yas_objc_unowned_tests.m; sourceTree = ""; }; - B6D4C55821E99996004A95A8 /* yas_objc_ios_class_tests.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = yas_objc_ios_class_tests.m; sourceTree = ""; }; - B6D4C55921E99996004A95A8 /* yas_ios_struct_tests.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = yas_ios_struct_tests.m; sourceTree = ""; }; - B6D4C55D21E999C4004A95A8 /* objc_utils.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; path = objc_utils.framework; sourceTree = BUILT_PRODUCTS_DIR; }; -/* End PBXFileReference section */ - -/* Begin PBXFrameworksBuildPhase section */ - B6D4C54921E99944004A95A8 /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - B6D4C55E21E999C4004A95A8 /* objc_utils.framework in Frameworks */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXFrameworksBuildPhase section */ - -/* Begin PBXGroup section */ - B6D4C54121E99930004A95A8 = { - isa = PBXGroup; - children = ( - B6D4C54E21E99944004A95A8 /* objc_utils_ios_tests */, - B6D4C54D21E99944004A95A8 /* Products */, - B6D4C55C21E999C4004A95A8 /* Frameworks */, - ); - sourceTree = ""; - }; - B6D4C54D21E99944004A95A8 /* Products */ = { - isa = PBXGroup; - children = ( - B6D4C54C21E99944004A95A8 /* objc_utils_ios_tests.xctest */, - ); - name = Products; - sourceTree = ""; - }; - B6D4C54E21E99944004A95A8 /* objc_utils_ios_tests */ = { - isa = PBXGroup; - children = ( - B6D4C55921E99996004A95A8 /* yas_ios_struct_tests.m */, - B6D4C55821E99996004A95A8 /* yas_objc_ios_class_tests.m */, - B6D4C55521E99982004A95A8 /* objc_utils_common_tests */, - B6D4C55121E99944004A95A8 /* Info.plist */, - ); - path = objc_utils_ios_tests; - sourceTree = ""; - }; - B6D4C55521E99982004A95A8 /* objc_utils_common_tests */ = { - isa = PBXGroup; - children = ( - B6D4C55621E99982004A95A8 /* yas_objc_unowned_tests.m */, - ); - name = objc_utils_common_tests; - path = ../../objc_utils_common_tests; - sourceTree = ""; - }; - B6D4C55C21E999C4004A95A8 /* Frameworks */ = { - isa = PBXGroup; - children = ( - B6D4C55D21E999C4004A95A8 /* objc_utils.framework */, - ); - name = Frameworks; - sourceTree = ""; - }; -/* End PBXGroup section */ - -/* Begin PBXNativeTarget section */ - B6D4C54B21E99944004A95A8 /* objc_utils_ios_tests */ = { - isa = PBXNativeTarget; - buildConfigurationList = B6D4C55221E99944004A95A8 /* Build configuration list for PBXNativeTarget "objc_utils_ios_tests" */; - buildPhases = ( - B6D4C54821E99944004A95A8 /* Sources */, - B6D4C54921E99944004A95A8 /* Frameworks */, - B6D4C54A21E99944004A95A8 /* Resources */, - B6D4C56021E99DB9004A95A8 /* ShellScript */, - ); - buildRules = ( - ); - dependencies = ( - ); - name = objc_utils_ios_tests; - productName = objc_utils_ios_tests; - productReference = B6D4C54C21E99944004A95A8 /* objc_utils_ios_tests.xctest */; - productType = "com.apple.product-type.bundle.unit-test"; - }; -/* End PBXNativeTarget section */ - -/* Begin PBXProject section */ - B6D4C54221E99930004A95A8 /* Project object */ = { - isa = PBXProject; - attributes = { - LastUpgradeCheck = 1200; - TargetAttributes = { - B6D4C54B21E99944004A95A8 = { - CreatedOnToolsVersion = 10.1; - }; - }; - }; - buildConfigurationList = B6D4C54521E99930004A95A8 /* Build configuration list for PBXProject "objc_utils_ios_tests" */; - compatibilityVersion = "Xcode 9.3"; - developmentRegion = en; - hasScannedForEncodings = 0; - knownRegions = ( - en, - Base, - ); - mainGroup = B6D4C54121E99930004A95A8; - productRefGroup = B6D4C54D21E99944004A95A8 /* Products */; - projectDirPath = ""; - projectRoot = ""; - targets = ( - B6D4C54B21E99944004A95A8 /* objc_utils_ios_tests */, - ); - }; -/* End PBXProject section */ - -/* Begin PBXResourcesBuildPhase section */ - B6D4C54A21E99944004A95A8 /* Resources */ = { - isa = PBXResourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXResourcesBuildPhase section */ - -/* Begin PBXShellScriptBuildPhase section */ - B6D4C56021E99DB9004A95A8 /* ShellScript */ = { - isa = PBXShellScriptBuildPhase; - alwaysOutOfDate = 1; - buildActionMask = 2147483647; - files = ( - ); - inputFileListPaths = ( - ); - inputPaths = ( - ); - outputFileListPaths = ( - ); - outputPaths = ( - ); - runOnlyForDeploymentPostprocessing = 0; - shellPath = /bin/sh; - shellScript = "../script/format.sh\n"; - }; -/* End PBXShellScriptBuildPhase section */ - -/* Begin PBXSourcesBuildPhase section */ - B6D4C54821E99944004A95A8 /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - B6D4C55A21E99996004A95A8 /* yas_objc_ios_class_tests.m in Sources */, - B6D4C55721E99982004A95A8 /* yas_objc_unowned_tests.m in Sources */, - B6D4C55B21E99996004A95A8 /* yas_ios_struct_tests.m in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXSourcesBuildPhase section */ - -/* Begin XCBuildConfiguration section */ - B6D4C54621E99930004A95A8 /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - CLANG_CXX_LANGUAGE_STANDARD = "gnu++23"; - 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_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_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES; - CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; - CLANG_WARN_STRICT_PROTOTYPES = YES; - CLANG_WARN_SUSPICIOUS_MOVE = YES; - CLANG_WARN_UNREACHABLE_CODE = YES; - CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; - ENABLE_STRICT_OBJC_MSGSEND = YES; - ENABLE_TESTABILITY = 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; - GCC_WARN_UNDECLARED_SELECTOR = YES; - GCC_WARN_UNINITIALIZED_AUTOS = YES; - GCC_WARN_UNUSED_FUNCTION = YES; - GCC_WARN_UNUSED_VARIABLE = YES; - ONLY_ACTIVE_ARCH = YES; - }; - name = Debug; - }; - B6D4C54721E99930004A95A8 /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - CLANG_CXX_LANGUAGE_STANDARD = "gnu++23"; - 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_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_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES; - CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; - CLANG_WARN_STRICT_PROTOTYPES = YES; - CLANG_WARN_SUSPICIOUS_MOVE = YES; - CLANG_WARN_UNREACHABLE_CODE = YES; - CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; - ENABLE_STRICT_OBJC_MSGSEND = 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; - GCC_WARN_UNDECLARED_SELECTOR = YES; - GCC_WARN_UNINITIALIZED_AUTOS = YES; - GCC_WARN_UNUSED_FUNCTION = YES; - GCC_WARN_UNUSED_VARIABLE = YES; - }; - name = Release; - }; - B6D4C55321E99944004A95A8 /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - CLANG_ANALYZER_NONNULL = YES; - CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; - CLANG_CXX_LIBRARY = "libc++"; - CLANG_ENABLE_MODULES = 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_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_IDENTITY = "iPhone Developer"; - CODE_SIGN_STYLE = Manual; - COPY_PHASE_STRIP = NO; - DEBUG_INFORMATION_FORMAT = dwarf; - DEVELOPMENT_TEAM = ""; - ENABLE_STRICT_OBJC_MSGSEND = YES; - ENABLE_TESTABILITY = YES; - 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; - INFOPLIST_FILE = objc_utils_ios_tests/Info.plist; - LD_RUNPATH_SEARCH_PATHS = ( - "$(inherited)", - "@executable_path/Frameworks", - "@loader_path/Frameworks", - ); - MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE; - MTL_FAST_MATH = YES; - ONLY_ACTIVE_ARCH = YES; - PRODUCT_BUNDLE_IDENTIFIER = "jp.objective-audio.objc-utils-ios-tests"; - PRODUCT_NAME = "$(TARGET_NAME)"; - PROVISIONING_PROFILE_SPECIFIER = ""; - SDKROOT = iphoneos; - TARGETED_DEVICE_FAMILY = "1,2"; - }; - name = Debug; - }; - B6D4C55421E99944004A95A8 /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - CLANG_ANALYZER_NONNULL = YES; - CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; - CLANG_CXX_LIBRARY = "libc++"; - CLANG_ENABLE_MODULES = 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_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_IDENTITY = "iPhone Developer"; - CODE_SIGN_STYLE = Manual; - COPY_PHASE_STRIP = NO; - DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; - DEVELOPMENT_TEAM = ""; - ENABLE_NS_ASSERTIONS = NO; - ENABLE_STRICT_OBJC_MSGSEND = YES; - 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; - INFOPLIST_FILE = objc_utils_ios_tests/Info.plist; - LD_RUNPATH_SEARCH_PATHS = ( - "$(inherited)", - "@executable_path/Frameworks", - "@loader_path/Frameworks", - ); - MTL_ENABLE_DEBUG_INFO = NO; - MTL_FAST_MATH = YES; - PRODUCT_BUNDLE_IDENTIFIER = "jp.objective-audio.objc-utils-ios-tests"; - PRODUCT_NAME = "$(TARGET_NAME)"; - PROVISIONING_PROFILE_SPECIFIER = ""; - SDKROOT = iphoneos; - TARGETED_DEVICE_FAMILY = "1,2"; - VALIDATE_PRODUCT = YES; - }; - name = Release; - }; -/* End XCBuildConfiguration section */ - -/* Begin XCConfigurationList section */ - B6D4C54521E99930004A95A8 /* Build configuration list for PBXProject "objc_utils_ios_tests" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - B6D4C54621E99930004A95A8 /* Debug */, - B6D4C54721E99930004A95A8 /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - B6D4C55221E99944004A95A8 /* Build configuration list for PBXNativeTarget "objc_utils_ios_tests" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - B6D4C55321E99944004A95A8 /* Debug */, - B6D4C55421E99944004A95A8 /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; -/* End XCConfigurationList section */ - }; - rootObject = B6D4C54221E99930004A95A8 /* Project object */; -} diff --git a/objc_utils_ios_tests/objc_utils_ios_tests.xcodeproj/project.xcworkspace/contents.xcworkspacedata b/objc_utils_ios_tests/objc_utils_ios_tests.xcodeproj/project.xcworkspace/contents.xcworkspacedata deleted file mode 100644 index 082b66e..0000000 --- a/objc_utils_ios_tests/objc_utils_ios_tests.xcodeproj/project.xcworkspace/contents.xcworkspacedata +++ /dev/null @@ -1,7 +0,0 @@ - - - - - diff --git a/objc_utils_ios_tests/objc_utils_ios_tests.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist b/objc_utils_ios_tests/objc_utils_ios_tests.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist deleted file mode 100644 index 18d9810..0000000 --- a/objc_utils_ios_tests/objc_utils_ios_tests.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist +++ /dev/null @@ -1,8 +0,0 @@ - - - - - IDEDidComputeMac32BitWarning - - - diff --git a/objc_utils_ios_tests/objc_utils_ios_tests.xcodeproj/xcshareddata/xcschemes/objc_utils_ios_tests.xcscheme b/objc_utils_ios_tests/objc_utils_ios_tests.xcodeproj/xcshareddata/xcschemes/objc_utils_ios_tests.xcscheme deleted file mode 100644 index 2e49265..0000000 --- a/objc_utils_ios_tests/objc_utils_ios_tests.xcodeproj/xcshareddata/xcschemes/objc_utils_ios_tests.xcscheme +++ /dev/null @@ -1,86 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/objc_utils_ios_tests/objc_utils_ios_tests/Info.plist b/objc_utils_ios_tests/objc_utils_ios_tests/Info.plist deleted file mode 100644 index 6c40a6c..0000000 --- a/objc_utils_ios_tests/objc_utils_ios_tests/Info.plist +++ /dev/null @@ -1,22 +0,0 @@ - - - - - CFBundleDevelopmentRegion - $(DEVELOPMENT_LANGUAGE) - CFBundleExecutable - $(EXECUTABLE_NAME) - CFBundleIdentifier - $(PRODUCT_BUNDLE_IDENTIFIER) - CFBundleInfoDictionaryVersion - 6.0 - CFBundleName - $(PRODUCT_NAME) - CFBundlePackageType - BNDL - CFBundleShortVersionString - 1.0 - CFBundleVersion - 1 - - diff --git a/objc_utils_ios_tests/objc_utils_ios_tests/yas_ios_struct_tests.m b/objc_utils_ios_tests/objc_utils_ios_tests/yas_ios_struct_tests.m deleted file mode 100644 index ca8dd3a..0000000 --- a/objc_utils_ios_tests/objc_utils_ios_tests/yas_ios_struct_tests.m +++ /dev/null @@ -1,36 +0,0 @@ -// -// yas_ios_struct_tests.m -// - -#import -#import - -@interface yas_ios_struct_tests : XCTestCase - -@end - -@implementation yas_ios_struct_tests - -- (void)setUp { - [super setUp]; -} - -- (void)tearDown { - [super tearDown]; -} - -- (void)test_edge_insets { - yas_edge_insets edge_insets; - - edge_insets.top = 1.0; - edge_insets.left = 2.0; - edge_insets.bottom = 4.0; - edge_insets.right = 16.0; - - XCTAssertEqual(edge_insets.top, 1.0); - XCTAssertEqual(edge_insets.left, 2.0); - XCTAssertEqual(edge_insets.bottom, 4.0); - XCTAssertEqual(edge_insets.right, 16.0); -} - -@end diff --git a/objc_utils_mac.xcworkspace/contents.xcworkspacedata b/objc_utils_mac.xcworkspace/contents.xcworkspacedata deleted file mode 100644 index 13da150..0000000 --- a/objc_utils_mac.xcworkspace/contents.xcworkspacedata +++ /dev/null @@ -1,10 +0,0 @@ - - - - - - - diff --git a/objc_utils_mac.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist b/objc_utils_mac.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist deleted file mode 100644 index 18d9810..0000000 --- a/objc_utils_mac.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist +++ /dev/null @@ -1,8 +0,0 @@ - - - - - IDEDidComputeMac32BitWarning - - - diff --git a/objc_utils_mac/objc_utils/Info.plist b/objc_utils_mac/objc_utils/Info.plist deleted file mode 100644 index e1fe4cf..0000000 --- a/objc_utils_mac/objc_utils/Info.plist +++ /dev/null @@ -1,22 +0,0 @@ - - - - - CFBundleDevelopmentRegion - $(DEVELOPMENT_LANGUAGE) - CFBundleExecutable - $(EXECUTABLE_NAME) - CFBundleIdentifier - $(PRODUCT_BUNDLE_IDENTIFIER) - CFBundleInfoDictionaryVersion - 6.0 - CFBundleName - $(PRODUCT_NAME) - CFBundlePackageType - FMWK - CFBundleShortVersionString - 1.0 - CFBundleVersion - $(CURRENT_PROJECT_VERSION) - - diff --git a/objc_utils_mac/objc_utils/objc_utils.h b/objc_utils_mac/objc_utils/objc_utils.h deleted file mode 100644 index 7153fee..0000000 --- a/objc_utils_mac/objc_utils/objc_utils.h +++ /dev/null @@ -1,13 +0,0 @@ -// -// objc_utils.h -// - -#import - -//! Project version number for objc_utils. -FOUNDATION_EXPORT double objc_utilsVersionNumber; - -//! Project version string for objc_utils. -FOUNDATION_EXPORT const unsigned char objc_utilsVersionString[]; - -#import diff --git a/objc_utils_mac/objc_utils_mac.xcodeproj/project.pbxproj b/objc_utils_mac/objc_utils_mac.xcodeproj/project.pbxproj deleted file mode 100644 index 5e74670..0000000 --- a/objc_utils_mac/objc_utils_mac.xcodeproj/project.pbxproj +++ /dev/null @@ -1,417 +0,0 @@ -// !$*UTF8*$! -{ - archiveVersion = 1; - classes = { - }; - objectVersion = 50; - objects = { - -/* Begin PBXBuildFile section */ - B6359E1721DB73EE00481348 /* Accelerate.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = B6359E1621DB73EE00481348 /* Accelerate.framework */; }; - B684E9B321DB199E00599A55 /* objc_utils.h in Headers */ = {isa = PBXBuildFile; fileRef = B684E9B121DB199E00599A55 /* objc_utils.h */; settings = {ATTRIBUTES = (Public, ); }; }; - B684E9BB21DB19B500599A55 /* yas_objc_unowned.m in Sources */ = {isa = PBXBuildFile; fileRef = B684E9B821DB19B500599A55 /* yas_objc_unowned.m */; }; - B684E9BC21DB19B500599A55 /* yas_objc_macros.h in Headers */ = {isa = PBXBuildFile; fileRef = B684E9B921DB19B500599A55 /* yas_objc_macros.h */; settings = {ATTRIBUTES = (Public, ); }; }; - B684E9BD21DB19B500599A55 /* yas_objc_unowned.h in Headers */ = {isa = PBXBuildFile; fileRef = B684E9BA21DB19B500599A55 /* yas_objc_unowned.h */; settings = {ATTRIBUTES = (Public, ); }; }; - B684E9CB21DB1D2000599A55 /* yas_objc_utils_umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = B684E9BE21DB19EA00599A55 /* yas_objc_utils_umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; -/* End PBXBuildFile section */ - -/* Begin PBXFileReference section */ - B6359E1621DB73EE00481348 /* Accelerate.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Accelerate.framework; path = System/Library/Frameworks/Accelerate.framework; sourceTree = SDKROOT; }; - B684E9AE21DB199E00599A55 /* objc_utils.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = objc_utils.framework; sourceTree = BUILT_PRODUCTS_DIR; }; - B684E9B121DB199E00599A55 /* objc_utils.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = objc_utils.h; sourceTree = ""; }; - B684E9B221DB199E00599A55 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; - B684E9B821DB19B500599A55 /* yas_objc_unowned.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = yas_objc_unowned.m; sourceTree = ""; }; - B684E9B921DB19B500599A55 /* yas_objc_macros.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = yas_objc_macros.h; sourceTree = ""; }; - B684E9BA21DB19B500599A55 /* yas_objc_unowned.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = yas_objc_unowned.h; sourceTree = ""; }; - B684E9BE21DB19EA00599A55 /* yas_objc_utils_umbrella.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = yas_objc_utils_umbrella.h; sourceTree = ""; }; -/* End PBXFileReference section */ - -/* Begin PBXFrameworksBuildPhase section */ - B684E9AB21DB199E00599A55 /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - B6359E1721DB73EE00481348 /* Accelerate.framework in Frameworks */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXFrameworksBuildPhase section */ - -/* Begin PBXGroup section */ - B6359E1521DB73EE00481348 /* Frameworks */ = { - isa = PBXGroup; - children = ( - B6359E1621DB73EE00481348 /* Accelerate.framework */, - ); - name = Frameworks; - sourceTree = ""; - }; - B684E9A221DB197900599A55 = { - isa = PBXGroup; - children = ( - B684E9B021DB199E00599A55 /* objc_utils */, - B684E9AF21DB199E00599A55 /* Products */, - B6359E1521DB73EE00481348 /* Frameworks */, - ); - sourceTree = ""; - }; - B684E9AF21DB199E00599A55 /* Products */ = { - isa = PBXGroup; - children = ( - B684E9AE21DB199E00599A55 /* objc_utils.framework */, - ); - name = Products; - sourceTree = ""; - }; - B684E9B021DB199E00599A55 /* objc_utils */ = { - isa = PBXGroup; - children = ( - B684E9B721DB19B500599A55 /* objc_utils */, - B684E9B121DB199E00599A55 /* objc_utils.h */, - B684E9B221DB199E00599A55 /* Info.plist */, - ); - path = objc_utils; - sourceTree = ""; - }; - B684E9B721DB19B500599A55 /* objc_utils */ = { - isa = PBXGroup; - children = ( - B684E9B821DB19B500599A55 /* yas_objc_unowned.m */, - B684E9B921DB19B500599A55 /* yas_objc_macros.h */, - B684E9BA21DB19B500599A55 /* yas_objc_unowned.h */, - B684E9BE21DB19EA00599A55 /* yas_objc_utils_umbrella.h */, - ); - name = objc_utils; - path = ../../objc_utils; - sourceTree = ""; - }; -/* End PBXGroup section */ - -/* Begin PBXHeadersBuildPhase section */ - B684E9A921DB199E00599A55 /* Headers */ = { - isa = PBXHeadersBuildPhase; - buildActionMask = 2147483647; - files = ( - B684E9CB21DB1D2000599A55 /* yas_objc_utils_umbrella.h in Headers */, - B684E9B321DB199E00599A55 /* objc_utils.h in Headers */, - B684E9BD21DB19B500599A55 /* yas_objc_unowned.h in Headers */, - B684E9BC21DB19B500599A55 /* yas_objc_macros.h in Headers */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXHeadersBuildPhase section */ - -/* Begin PBXNativeTarget section */ - B684E9AD21DB199E00599A55 /* objc_utils */ = { - isa = PBXNativeTarget; - buildConfigurationList = B684E9B421DB199E00599A55 /* Build configuration list for PBXNativeTarget "objc_utils" */; - buildPhases = ( - B684E9A921DB199E00599A55 /* Headers */, - B684E9AA21DB199E00599A55 /* Sources */, - B684E9AB21DB199E00599A55 /* Frameworks */, - B684E9AC21DB199E00599A55 /* Resources */, - ); - buildRules = ( - ); - dependencies = ( - ); - name = objc_utils; - productName = objc_utils; - productReference = B684E9AE21DB199E00599A55 /* objc_utils.framework */; - productType = "com.apple.product-type.framework"; - }; -/* End PBXNativeTarget section */ - -/* Begin PBXProject section */ - B684E9A321DB197900599A55 /* Project object */ = { - isa = PBXProject; - attributes = { - LastUpgradeCheck = 1240; - TargetAttributes = { - B684E9AD21DB199E00599A55 = { - CreatedOnToolsVersion = 10.0; - }; - }; - }; - buildConfigurationList = B684E9A621DB197900599A55 /* Build configuration list for PBXProject "objc_utils_mac" */; - compatibilityVersion = "Xcode 9.3"; - developmentRegion = en; - hasScannedForEncodings = 0; - knownRegions = ( - en, - Base, - ); - mainGroup = B684E9A221DB197900599A55; - productRefGroup = B684E9AF21DB199E00599A55 /* Products */; - projectDirPath = ""; - projectRoot = ""; - targets = ( - B684E9AD21DB199E00599A55 /* objc_utils */, - ); - }; -/* End PBXProject section */ - -/* Begin PBXResourcesBuildPhase section */ - B684E9AC21DB199E00599A55 /* Resources */ = { - isa = PBXResourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXResourcesBuildPhase section */ - -/* Begin PBXSourcesBuildPhase section */ - B684E9AA21DB199E00599A55 /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - B684E9BB21DB19B500599A55 /* yas_objc_unowned.m in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXSourcesBuildPhase section */ - -/* Begin XCBuildConfiguration section */ - B684E9A721DB197900599A55 /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - CLANG_CXX_LANGUAGE_STANDARD = "gnu++23"; - 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_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_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES; - CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; - CLANG_WARN_STRICT_PROTOTYPES = YES; - CLANG_WARN_SUSPICIOUS_MOVE = YES; - CLANG_WARN_UNREACHABLE_CODE = YES; - CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; - ENABLE_STRICT_OBJC_MSGSEND = YES; - ENABLE_TESTABILITY = 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; - GCC_WARN_UNDECLARED_SELECTOR = YES; - GCC_WARN_UNINITIALIZED_AUTOS = YES; - GCC_WARN_UNUSED_FUNCTION = YES; - GCC_WARN_UNUSED_VARIABLE = YES; - ONLY_ACTIVE_ARCH = YES; - }; - name = Debug; - }; - B684E9A821DB197900599A55 /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - CLANG_CXX_LANGUAGE_STANDARD = "gnu++23"; - 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_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_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES; - CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; - CLANG_WARN_STRICT_PROTOTYPES = YES; - CLANG_WARN_SUSPICIOUS_MOVE = YES; - CLANG_WARN_UNREACHABLE_CODE = YES; - CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; - ENABLE_STRICT_OBJC_MSGSEND = 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; - GCC_WARN_UNDECLARED_SELECTOR = YES; - GCC_WARN_UNINITIALIZED_AUTOS = YES; - GCC_WARN_UNUSED_FUNCTION = YES; - GCC_WARN_UNUSED_VARIABLE = YES; - }; - name = Release; - }; - B684E9B521DB199E00599A55 /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - CLANG_ANALYZER_NONNULL = YES; - CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; - CLANG_CXX_LIBRARY = "libc++"; - CLANG_ENABLE_MODULES = 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_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_IDENTITY = ""; - CODE_SIGN_STYLE = Manual; - COMBINE_HIDPI_IMAGES = YES; - COPY_PHASE_STRIP = NO; - CURRENT_PROJECT_VERSION = 1; - DEBUG_INFORMATION_FORMAT = dwarf; - DEFINES_MODULE = YES; - DEVELOPMENT_TEAM = ""; - DYLIB_COMPATIBILITY_VERSION = 1; - DYLIB_CURRENT_VERSION = 1; - DYLIB_INSTALL_NAME_BASE = "@rpath"; - ENABLE_STRICT_OBJC_MSGSEND = YES; - ENABLE_TESTABILITY = YES; - FRAMEWORK_VERSION = A; - 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; - INFOPLIST_FILE = objc_utils/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; - ONLY_ACTIVE_ARCH = YES; - PRODUCT_BUNDLE_IDENTIFIER = "jp.objective-audio.objc-utils"; - PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)"; - PROVISIONING_PROFILE_SPECIFIER = ""; - SDKROOT = macosx; - SKIP_INSTALL = YES; - VERSIONING_SYSTEM = "apple-generic"; - VERSION_INFO_PREFIX = ""; - }; - name = Debug; - }; - B684E9B621DB199E00599A55 /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - CLANG_ANALYZER_NONNULL = YES; - CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; - CLANG_CXX_LIBRARY = "libc++"; - CLANG_ENABLE_MODULES = 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_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_IDENTITY = ""; - CODE_SIGN_STYLE = Manual; - COMBINE_HIDPI_IMAGES = YES; - COPY_PHASE_STRIP = NO; - CURRENT_PROJECT_VERSION = 1; - DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; - DEFINES_MODULE = YES; - DEVELOPMENT_TEAM = ""; - DYLIB_COMPATIBILITY_VERSION = 1; - DYLIB_CURRENT_VERSION = 1; - DYLIB_INSTALL_NAME_BASE = "@rpath"; - ENABLE_NS_ASSERTIONS = NO; - ENABLE_STRICT_OBJC_MSGSEND = YES; - FRAMEWORK_VERSION = A; - 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; - INFOPLIST_FILE = objc_utils/Info.plist; - INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; - LD_RUNPATH_SEARCH_PATHS = ( - "$(inherited)", - "@executable_path/../Frameworks", - "@loader_path/Frameworks", - ); - MTL_ENABLE_DEBUG_INFO = NO; - MTL_FAST_MATH = YES; - PRODUCT_BUNDLE_IDENTIFIER = "jp.objective-audio.objc-utils"; - PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)"; - PROVISIONING_PROFILE_SPECIFIER = ""; - SDKROOT = macosx; - SKIP_INSTALL = YES; - VERSIONING_SYSTEM = "apple-generic"; - VERSION_INFO_PREFIX = ""; - }; - name = Release; - }; -/* End XCBuildConfiguration section */ - -/* Begin XCConfigurationList section */ - B684E9A621DB197900599A55 /* Build configuration list for PBXProject "objc_utils_mac" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - B684E9A721DB197900599A55 /* Debug */, - B684E9A821DB197900599A55 /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - B684E9B421DB199E00599A55 /* Build configuration list for PBXNativeTarget "objc_utils" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - B684E9B521DB199E00599A55 /* Debug */, - B684E9B621DB199E00599A55 /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; -/* End XCConfigurationList section */ - }; - rootObject = B684E9A321DB197900599A55 /* Project object */; -} diff --git a/objc_utils_mac/objc_utils_mac.xcodeproj/project.xcworkspace/contents.xcworkspacedata b/objc_utils_mac/objc_utils_mac.xcodeproj/project.xcworkspace/contents.xcworkspacedata deleted file mode 100644 index 89beea8..0000000 --- a/objc_utils_mac/objc_utils_mac.xcodeproj/project.xcworkspace/contents.xcworkspacedata +++ /dev/null @@ -1,7 +0,0 @@ - - - - - diff --git a/objc_utils_mac/objc_utils_mac.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist b/objc_utils_mac/objc_utils_mac.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist deleted file mode 100644 index 18d9810..0000000 --- a/objc_utils_mac/objc_utils_mac.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist +++ /dev/null @@ -1,8 +0,0 @@ - - - - - IDEDidComputeMac32BitWarning - - - diff --git a/objc_utils_mac_tests/objc_utils_mac_tests.xcodeproj/project.pbxproj b/objc_utils_mac_tests/objc_utils_mac_tests.xcodeproj/project.pbxproj deleted file mode 100644 index e508e44..0000000 --- a/objc_utils_mac_tests/objc_utils_mac_tests.xcodeproj/project.pbxproj +++ /dev/null @@ -1,402 +0,0 @@ -// !$*UTF8*$! -{ - archiveVersion = 1; - classes = { - }; - objectVersion = 54; - objects = { - -/* Begin PBXBuildFile section */ - B6D4C53921E998BD004A95A8 /* yas_objc_unowned_tests.m in Sources */ = {isa = PBXBuildFile; fileRef = B6D4C53821E998BD004A95A8 /* yas_objc_unowned_tests.m */; }; - B6D4C53C21E998C9004A95A8 /* yas_mac_struct_tests.m in Sources */ = {isa = PBXBuildFile; fileRef = B6D4C53A21E998C9004A95A8 /* yas_mac_struct_tests.m */; }; - B6D4C53D21E998C9004A95A8 /* yas_objc_mac_class_tests.m in Sources */ = {isa = PBXBuildFile; fileRef = B6D4C53B21E998C9004A95A8 /* yas_objc_mac_class_tests.m */; }; - B6D4C54021E998F6004A95A8 /* objc_utils.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = B6D4C53F21E998F6004A95A8 /* objc_utils.framework */; }; -/* End PBXBuildFile section */ - -/* Begin PBXFileReference section */ - B6D4C52E21E99828004A95A8 /* objc_utils_mac_tests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = objc_utils_mac_tests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; - B6D4C53321E99828004A95A8 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; - B6D4C53821E998BD004A95A8 /* yas_objc_unowned_tests.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = yas_objc_unowned_tests.m; sourceTree = ""; }; - B6D4C53A21E998C9004A95A8 /* yas_mac_struct_tests.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = yas_mac_struct_tests.m; sourceTree = ""; }; - B6D4C53B21E998C9004A95A8 /* yas_objc_mac_class_tests.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = yas_objc_mac_class_tests.m; sourceTree = ""; }; - B6D4C53F21E998F6004A95A8 /* objc_utils.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; path = objc_utils.framework; sourceTree = BUILT_PRODUCTS_DIR; }; -/* End PBXFileReference section */ - -/* Begin PBXFrameworksBuildPhase section */ - B6D4C52B21E99828004A95A8 /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - B6D4C54021E998F6004A95A8 /* objc_utils.framework in Frameworks */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXFrameworksBuildPhase section */ - -/* Begin PBXGroup section */ - B6D4C52321E99813004A95A8 = { - isa = PBXGroup; - children = ( - B6D4C53021E99828004A95A8 /* objc_utils_mac_tests */, - B6D4C52F21E99828004A95A8 /* Products */, - B6D4C53E21E998F6004A95A8 /* Frameworks */, - ); - sourceTree = ""; - }; - B6D4C52F21E99828004A95A8 /* Products */ = { - isa = PBXGroup; - children = ( - B6D4C52E21E99828004A95A8 /* objc_utils_mac_tests.xctest */, - ); - name = Products; - sourceTree = ""; - }; - B6D4C53021E99828004A95A8 /* objc_utils_mac_tests */ = { - isa = PBXGroup; - children = ( - B6D4C53A21E998C9004A95A8 /* yas_mac_struct_tests.m */, - B6D4C53B21E998C9004A95A8 /* yas_objc_mac_class_tests.m */, - B6D4C53721E998BD004A95A8 /* objc_utils_common_tests */, - B6D4C53321E99828004A95A8 /* Info.plist */, - ); - path = objc_utils_mac_tests; - sourceTree = ""; - }; - B6D4C53721E998BD004A95A8 /* objc_utils_common_tests */ = { - isa = PBXGroup; - children = ( - B6D4C53821E998BD004A95A8 /* yas_objc_unowned_tests.m */, - ); - name = objc_utils_common_tests; - path = ../../objc_utils_common_tests; - sourceTree = ""; - }; - B6D4C53E21E998F6004A95A8 /* Frameworks */ = { - isa = PBXGroup; - children = ( - B6D4C53F21E998F6004A95A8 /* objc_utils.framework */, - ); - name = Frameworks; - sourceTree = ""; - }; -/* End PBXGroup section */ - -/* Begin PBXNativeTarget section */ - B6D4C52D21E99828004A95A8 /* objc_utils_mac_tests */ = { - isa = PBXNativeTarget; - buildConfigurationList = B6D4C53421E99828004A95A8 /* Build configuration list for PBXNativeTarget "objc_utils_mac_tests" */; - buildPhases = ( - B6D4C55F21E99D1C004A95A8 /* ShellScript */, - B6D4C52A21E99828004A95A8 /* Sources */, - B6D4C52B21E99828004A95A8 /* Frameworks */, - B6D4C52C21E99828004A95A8 /* Resources */, - ); - buildRules = ( - ); - dependencies = ( - ); - name = objc_utils_mac_tests; - productName = objc_utils_mac_tests; - productReference = B6D4C52E21E99828004A95A8 /* objc_utils_mac_tests.xctest */; - productType = "com.apple.product-type.bundle.unit-test"; - }; -/* End PBXNativeTarget section */ - -/* Begin PBXProject section */ - B6D4C52421E99813004A95A8 /* Project object */ = { - isa = PBXProject; - attributes = { - LastUpgradeCheck = 1200; - TargetAttributes = { - B6D4C52D21E99828004A95A8 = { - CreatedOnToolsVersion = 10.1; - }; - }; - }; - buildConfigurationList = B6D4C52721E99813004A95A8 /* Build configuration list for PBXProject "objc_utils_mac_tests" */; - compatibilityVersion = "Xcode 9.3"; - developmentRegion = en; - hasScannedForEncodings = 0; - knownRegions = ( - en, - Base, - ); - mainGroup = B6D4C52321E99813004A95A8; - productRefGroup = B6D4C52F21E99828004A95A8 /* Products */; - projectDirPath = ""; - projectRoot = ""; - targets = ( - B6D4C52D21E99828004A95A8 /* objc_utils_mac_tests */, - ); - }; -/* End PBXProject section */ - -/* Begin PBXResourcesBuildPhase section */ - B6D4C52C21E99828004A95A8 /* Resources */ = { - isa = PBXResourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXResourcesBuildPhase section */ - -/* Begin PBXShellScriptBuildPhase section */ - B6D4C55F21E99D1C004A95A8 /* ShellScript */ = { - isa = PBXShellScriptBuildPhase; - alwaysOutOfDate = 1; - buildActionMask = 2147483647; - files = ( - ); - inputFileListPaths = ( - ); - inputPaths = ( - ); - outputFileListPaths = ( - ); - outputPaths = ( - ); - runOnlyForDeploymentPostprocessing = 0; - shellPath = /bin/sh; - shellScript = "../script/format.sh\n"; - }; -/* End PBXShellScriptBuildPhase section */ - -/* Begin PBXSourcesBuildPhase section */ - B6D4C52A21E99828004A95A8 /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - B6D4C53D21E998C9004A95A8 /* yas_objc_mac_class_tests.m in Sources */, - B6D4C53C21E998C9004A95A8 /* yas_mac_struct_tests.m in Sources */, - B6D4C53921E998BD004A95A8 /* yas_objc_unowned_tests.m in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXSourcesBuildPhase section */ - -/* Begin XCBuildConfiguration section */ - B6D4C52821E99813004A95A8 /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - CLANG_CXX_LANGUAGE_STANDARD = "gnu++23"; - 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_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_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES; - CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; - CLANG_WARN_STRICT_PROTOTYPES = YES; - CLANG_WARN_SUSPICIOUS_MOVE = YES; - CLANG_WARN_UNREACHABLE_CODE = YES; - CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; - ENABLE_STRICT_OBJC_MSGSEND = YES; - ENABLE_TESTABILITY = 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; - GCC_WARN_UNDECLARED_SELECTOR = YES; - GCC_WARN_UNINITIALIZED_AUTOS = YES; - GCC_WARN_UNUSED_FUNCTION = YES; - GCC_WARN_UNUSED_VARIABLE = YES; - MACOSX_DEPLOYMENT_TARGET = 13.5; - ONLY_ACTIVE_ARCH = YES; - }; - name = Debug; - }; - B6D4C52921E99813004A95A8 /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - CLANG_CXX_LANGUAGE_STANDARD = "gnu++23"; - 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_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_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES; - CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; - CLANG_WARN_STRICT_PROTOTYPES = YES; - CLANG_WARN_SUSPICIOUS_MOVE = YES; - CLANG_WARN_UNREACHABLE_CODE = YES; - CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; - ENABLE_STRICT_OBJC_MSGSEND = 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; - GCC_WARN_UNDECLARED_SELECTOR = YES; - GCC_WARN_UNINITIALIZED_AUTOS = YES; - GCC_WARN_UNUSED_FUNCTION = YES; - GCC_WARN_UNUSED_VARIABLE = YES; - MACOSX_DEPLOYMENT_TARGET = 13.5; - }; - name = Release; - }; - B6D4C53521E99828004A95A8 /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - CLANG_ANALYZER_NONNULL = YES; - CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; - CLANG_CXX_LIBRARY = "libc++"; - CLANG_ENABLE_MODULES = 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_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_IDENTITY = "-"; - CODE_SIGN_STYLE = Manual; - COMBINE_HIDPI_IMAGES = YES; - COPY_PHASE_STRIP = NO; - DEBUG_INFORMATION_FORMAT = dwarf; - DEVELOPMENT_TEAM = ""; - ENABLE_STRICT_OBJC_MSGSEND = YES; - ENABLE_TESTABILITY = YES; - 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; - INFOPLIST_FILE = objc_utils_mac_tests/Info.plist; - LD_RUNPATH_SEARCH_PATHS = ( - "$(inherited)", - "@executable_path/../Frameworks", - "@loader_path/../Frameworks", - ); - MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE; - MTL_FAST_MATH = YES; - ONLY_ACTIVE_ARCH = YES; - PRODUCT_BUNDLE_IDENTIFIER = "jp.objective-audio.objc-utils-mac-tests"; - PRODUCT_NAME = "$(TARGET_NAME)"; - PROVISIONING_PROFILE_SPECIFIER = ""; - SDKROOT = macosx; - }; - name = Debug; - }; - B6D4C53621E99828004A95A8 /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - CLANG_ANALYZER_NONNULL = YES; - CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; - CLANG_CXX_LIBRARY = "libc++"; - CLANG_ENABLE_MODULES = 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_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_IDENTITY = "-"; - CODE_SIGN_STYLE = Manual; - COMBINE_HIDPI_IMAGES = YES; - COPY_PHASE_STRIP = NO; - DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; - DEVELOPMENT_TEAM = ""; - ENABLE_NS_ASSERTIONS = NO; - ENABLE_STRICT_OBJC_MSGSEND = YES; - 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; - INFOPLIST_FILE = objc_utils_mac_tests/Info.plist; - LD_RUNPATH_SEARCH_PATHS = ( - "$(inherited)", - "@executable_path/../Frameworks", - "@loader_path/../Frameworks", - ); - MTL_ENABLE_DEBUG_INFO = NO; - MTL_FAST_MATH = YES; - PRODUCT_BUNDLE_IDENTIFIER = "jp.objective-audio.objc-utils-mac-tests"; - PRODUCT_NAME = "$(TARGET_NAME)"; - PROVISIONING_PROFILE_SPECIFIER = ""; - SDKROOT = macosx; - }; - name = Release; - }; -/* End XCBuildConfiguration section */ - -/* Begin XCConfigurationList section */ - B6D4C52721E99813004A95A8 /* Build configuration list for PBXProject "objc_utils_mac_tests" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - B6D4C52821E99813004A95A8 /* Debug */, - B6D4C52921E99813004A95A8 /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - B6D4C53421E99828004A95A8 /* Build configuration list for PBXNativeTarget "objc_utils_mac_tests" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - B6D4C53521E99828004A95A8 /* Debug */, - B6D4C53621E99828004A95A8 /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; -/* End XCConfigurationList section */ - }; - rootObject = B6D4C52421E99813004A95A8 /* Project object */; -} diff --git a/objc_utils_mac_tests/objc_utils_mac_tests.xcodeproj/project.xcworkspace/contents.xcworkspacedata b/objc_utils_mac_tests/objc_utils_mac_tests.xcodeproj/project.xcworkspace/contents.xcworkspacedata deleted file mode 100644 index c921d4b..0000000 --- a/objc_utils_mac_tests/objc_utils_mac_tests.xcodeproj/project.xcworkspace/contents.xcworkspacedata +++ /dev/null @@ -1,7 +0,0 @@ - - - - - diff --git a/objc_utils_mac_tests/objc_utils_mac_tests.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist b/objc_utils_mac_tests/objc_utils_mac_tests.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist deleted file mode 100644 index 18d9810..0000000 --- a/objc_utils_mac_tests/objc_utils_mac_tests.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist +++ /dev/null @@ -1,8 +0,0 @@ - - - - - IDEDidComputeMac32BitWarning - - - diff --git a/objc_utils_mac_tests/objc_utils_mac_tests.xcodeproj/xcshareddata/xcschemes/objc_utils_mac_tests.xcscheme b/objc_utils_mac_tests/objc_utils_mac_tests.xcodeproj/xcshareddata/xcschemes/objc_utils_mac_tests.xcscheme deleted file mode 100644 index 691de5e..0000000 --- a/objc_utils_mac_tests/objc_utils_mac_tests.xcodeproj/xcshareddata/xcschemes/objc_utils_mac_tests.xcscheme +++ /dev/null @@ -1,86 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/objc_utils_mac_tests/objc_utils_mac_tests/Info.plist b/objc_utils_mac_tests/objc_utils_mac_tests/Info.plist deleted file mode 100644 index 6c40a6c..0000000 --- a/objc_utils_mac_tests/objc_utils_mac_tests/Info.plist +++ /dev/null @@ -1,22 +0,0 @@ - - - - - CFBundleDevelopmentRegion - $(DEVELOPMENT_LANGUAGE) - CFBundleExecutable - $(EXECUTABLE_NAME) - CFBundleIdentifier - $(PRODUCT_BUNDLE_IDENTIFIER) - CFBundleInfoDictionaryVersion - 6.0 - CFBundleName - $(PRODUCT_NAME) - CFBundlePackageType - BNDL - CFBundleShortVersionString - 1.0 - CFBundleVersion - 1 - - diff --git a/script/format.sh b/script/format.sh index 006aaa3..79ce820 100755 --- a/script/format.sh +++ b/script/format.sh @@ -2,5 +2,5 @@ if [ ! $CI ]; then export PATH=$PATH:/opt/homebrew/bin - clang-format -i -style=file `find ../objc_utils ../objc_utils_test/objc_utils_test_common ../objc_utils_mac_tests/objc_utils_mac_tests ../objc_utils_ios_tests/objc_utils_ios_tests -type f \( -name *.h -o -name *.cpp -o -name *.hpp -o -name *.m -o -name *.mm \)` + clang-format -i -style=file `find ./Sources ./Tests -type f \( -name *.h -o -name *.cpp -o -name *.hpp -o -name *.m -o -name *.mm \)` fi