From 50bcf2ca4b714b32fa6ca33eeee7d10fa31e023d Mon Sep 17 00:00:00 2001 From: luomy Date: Mon, 14 Nov 2022 15:25:52 +0800 Subject: [PATCH] refactor(ios): modify project configurations rename scheme from 'hippy' to 'HippyLibrary',rename target name from 'hippy' to 'HippyLibrary' keep static library product name unchanged --- ios/sdk/HippyLibrary.xcodeproj/project.pbxproj | 14 +++++++------- .../{hippy.xcscheme => HippyLibrary.xcscheme} | 4 ++-- 2 files changed, 9 insertions(+), 9 deletions(-) rename ios/sdk/HippyLibrary.xcodeproj/xcshareddata/xcschemes/{hippy.xcscheme => HippyLibrary.xcscheme} (96%) diff --git a/ios/sdk/HippyLibrary.xcodeproj/project.pbxproj b/ios/sdk/HippyLibrary.xcodeproj/project.pbxproj index 61cec52f1..a9be1e8d6 100644 --- a/ios/sdk/HippyLibrary.xcodeproj/project.pbxproj +++ b/ios/sdk/HippyLibrary.xcodeproj/project.pbxproj @@ -1578,9 +1578,9 @@ /* End PBXGroup section */ /* Begin PBXNativeTarget section */ - F4C9286B291C96010078351C /* hippy */ = { + F4C9286B291C96010078351C /* StaticLibrary */ = { isa = PBXNativeTarget; - buildConfigurationList = F4C92875291C96010078351C /* Build configuration list for PBXNativeTarget "hippy" */; + buildConfigurationList = F4C92875291C96010078351C /* Build configuration list for PBXNativeTarget "StaticLibrary" */; buildPhases = ( F4C92868291C96010078351C /* Sources */, F4C92869291C96010078351C /* Frameworks */, @@ -1590,7 +1590,7 @@ ); dependencies = ( ); - name = hippy; + name = StaticLibrary; productName = HippyLibrary; productReference = F4C9286C291C96010078351C /* libhippy.a */; productType = "com.apple.product-type.library.static"; @@ -1622,7 +1622,7 @@ projectDirPath = ""; projectRoot = ""; targets = ( - F4C9286B291C96010078351C /* hippy */, + F4C9286B291C96010078351C /* StaticLibrary */, ); }; /* End PBXProject section */ @@ -1939,7 +1939,7 @@ "$(SRCROOT)/../../core/third_party/base/include", ); OTHER_LDFLAGS = "-ObjC"; - PRODUCT_NAME = "$(TARGET_NAME)"; + PRODUCT_NAME = hippy; SKIP_INSTALL = YES; TARGETED_DEVICE_FAMILY = "1,2"; }; @@ -1955,7 +1955,7 @@ "$(SRCROOT)/../../core/third_party/base/include", ); OTHER_LDFLAGS = "-ObjC"; - PRODUCT_NAME = "$(TARGET_NAME)"; + PRODUCT_NAME = hippy; SKIP_INSTALL = YES; TARGETED_DEVICE_FAMILY = "1,2"; }; @@ -1973,7 +1973,7 @@ defaultConfigurationIsVisible = 0; defaultConfigurationName = Release; }; - F4C92875291C96010078351C /* Build configuration list for PBXNativeTarget "hippy" */ = { + F4C92875291C96010078351C /* Build configuration list for PBXNativeTarget "StaticLibrary" */ = { isa = XCConfigurationList; buildConfigurations = ( F4C92876291C96010078351C /* Debug */, diff --git a/ios/sdk/HippyLibrary.xcodeproj/xcshareddata/xcschemes/hippy.xcscheme b/ios/sdk/HippyLibrary.xcodeproj/xcshareddata/xcschemes/HippyLibrary.xcscheme similarity index 96% rename from ios/sdk/HippyLibrary.xcodeproj/xcshareddata/xcschemes/hippy.xcscheme rename to ios/sdk/HippyLibrary.xcodeproj/xcshareddata/xcschemes/HippyLibrary.xcscheme index 0b8677aa4..f235d19a1 100644 --- a/ios/sdk/HippyLibrary.xcodeproj/xcshareddata/xcschemes/hippy.xcscheme +++ b/ios/sdk/HippyLibrary.xcodeproj/xcshareddata/xcschemes/HippyLibrary.xcscheme @@ -16,7 +16,7 @@ BuildableIdentifier = "primary" BlueprintIdentifier = "F4C9286B291C96010078351C" BuildableName = "libhippy.a" - BlueprintName = "hippy" + BlueprintName = "StaticLibrary" ReferencedContainer = "container:HippyLibrary.xcodeproj"> @@ -52,7 +52,7 @@ BuildableIdentifier = "primary" BlueprintIdentifier = "F4C9286B291C96010078351C" BuildableName = "libhippy.a" - BlueprintName = "hippy" + BlueprintName = "StaticLibrary" ReferencedContainer = "container:HippyLibrary.xcodeproj">