From 50a3c9159bed08ac855b570d17df4c36a614a9ed Mon Sep 17 00:00:00 2001 From: DreamPiggy Date: Tue, 7 May 2024 16:07:18 +0800 Subject: [PATCH] Remove the override of Xcode project codesign config --- Configs/Module-Shared.xcconfig | 9 --------- SDWebImage.xcodeproj/project.pbxproj | 2 -- Scripts/create-xcframework.sh | 2 +- 3 files changed, 1 insertion(+), 12 deletions(-) diff --git a/Configs/Module-Shared.xcconfig b/Configs/Module-Shared.xcconfig index 2d9dfdce..4d401d13 100644 --- a/Configs/Module-Shared.xcconfig +++ b/Configs/Module-Shared.xcconfig @@ -88,12 +88,6 @@ CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE // Warns about potentially unreachable code. CLANG_WARN_UNREACHABLE_CODE = YES -// The path to a file specifying code-signing entitlements. -CODE_SIGN_ENTITLEMENTS = - -// The name, also known as the *common name*, of a valid code-signing certificate in a keychain within your keychain path. A missing or invalid certificate will cause a build error. -CODE_SIGN_IDENTITY = - // This setting defines the current version of the project. The value must be a integer or floating point number, such as `57` or `365.8`. CURRENT_PROJECT_VERSION = 1 @@ -197,9 +191,6 @@ PRODUCT_BUNDLE_IDENTIFIER = $(PRODUCT_BUNDLE_IDENTIFIER_PREFIX).${PRODUCT_NAME:r // This is the basename of the product generated by the target. PRODUCT_NAME = $(TARGET_NAME) -// Must contain a profile name (or UUID). A missing or invalid profile will cause a build error. Use in conjunction with [DEVELOPMENT_TEAM] to fully specify provisioning profile. -PROVISIONING_PROFILE_SPECIFIER = - // Activating this setting will cause Xcode to run the `Clang` static analysis tool on qualifying source files during every build. RUN_CLANG_STATIC_ANALYZER = YES diff --git a/SDWebImage.xcodeproj/project.pbxproj b/SDWebImage.xcodeproj/project.pbxproj index 7c0332dd..9a539d81 100644 --- a/SDWebImage.xcodeproj/project.pbxproj +++ b/SDWebImage.xcodeproj/project.pbxproj @@ -1342,7 +1342,6 @@ 326CA50D22BA14EF0033A92F /* Debug */ = { isa = XCBuildConfiguration; buildSettings = { - CODE_SIGN_STYLE = Automatic; PRODUCT_NAME = "$(TARGET_NAME)"; }; name = Debug; @@ -1350,7 +1349,6 @@ 326CA50E22BA14EF0033A92F /* Release */ = { isa = XCBuildConfiguration; buildSettings = { - CODE_SIGN_STYLE = Automatic; PRODUCT_NAME = "$(TARGET_NAME)"; }; name = Release; diff --git a/Scripts/create-xcframework.sh b/Scripts/create-xcframework.sh index 660b6d64..87679aa8 100755 --- a/Scripts/create-xcframework.sh +++ b/Scripts/create-xcframework.sh @@ -38,5 +38,5 @@ do done # Combine XCFramework +echo "Create XCFramework" xcodebuild -create-xcframework $COMMAND_ARGS -output "${SRCROOT}/build/SDWebImage.xcframework" -open -a Finder "${SRCROOT}/build/SDWebImage.xcframework"