From 3ac5de4c53664864238727bad5e0e647efc77860 Mon Sep 17 00:00:00 2001 From: DreamPiggy Date: Mon, 1 Apr 2019 22:03:39 +0800 Subject: [PATCH] Add the test project in workspace, run pod install under both `Example` and `SDWebImageWebPCoderTests` folder to open --- SDWebImageWebPCoder.xcodeproj/project.pbxproj | 24 ++++--------- .../SDWebImageWebPCoderTests.xcscheme | 34 +++++++++++++++++++ .../contents.xcworkspacedata | 6 ++++ 3 files changed, 46 insertions(+), 18 deletions(-) diff --git a/SDWebImageWebPCoder.xcodeproj/project.pbxproj b/SDWebImageWebPCoder.xcodeproj/project.pbxproj index 7153750..3149cd9 100644 --- a/SDWebImageWebPCoder.xcodeproj/project.pbxproj +++ b/SDWebImageWebPCoder.xcodeproj/project.pbxproj @@ -488,7 +488,7 @@ files = ( ); inputPaths = ( - "${SRCROOT}/SDWebImageWebPCoderTests/Pods/Target Support Files/Pods-SDWebImageWebPCoderTests/Pods-SDWebImageWebPCoderTests-frameworks.sh", + "${PODS_ROOT}/Target Support Files/Pods-SDWebImageWebPCoderTests/Pods-SDWebImageWebPCoderTests-frameworks.sh", "${BUILT_PRODUCTS_DIR}/SDWebImage/SDWebImage.framework", "${BUILT_PRODUCTS_DIR}/SDWebImageWebPCoder/SDWebImageWebPCoder.framework", "${BUILT_PRODUCTS_DIR}/libwebp/libwebp.framework", @@ -501,7 +501,7 @@ ); runOnlyForDeploymentPostprocessing = 0; shellPath = /bin/sh; - shellScript = "\"${SRCROOT}/SDWebImageWebPCoderTests/Pods/Target Support Files/Pods-SDWebImageWebPCoderTests/Pods-SDWebImageWebPCoderTests-frameworks.sh\"\n"; + shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-SDWebImageWebPCoderTests/Pods-SDWebImageWebPCoderTests-frameworks.sh\"\n"; showEnvVarsInLog = 0; }; 1DFDC14C020804C3C316902C /* [CP] Check Pods Manifest.lock */ = { @@ -620,14 +620,8 @@ "DEBUG=1", "$(inherited)", ); - "GCC_PREPROCESSOR_DEFINITIONS[sdk=watchos*]" = ( - "WEBP_USE_INTRINSICS=1", - "$(inherited)", - ); - "GCC_PREPROCESSOR_DEFINITIONS[sdk=watchsimulator*]" = ( - "WEBP_USE_INTRINSICS=1", - "$(inherited)", - ); + "GCC_PREPROCESSOR_DEFINITIONS[sdk=watchos*]" = "WEBP_USE_INTRINSICS=1 $(inherited)"; + "GCC_PREPROCESSOR_DEFINITIONS[sdk=watchsimulator*]" = "WEBP_USE_INTRINSICS=1 $(inherited)"; GCC_WARN_64_TO_32_BIT_CONVERSION = YES; GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; GCC_WARN_UNDECLARED_SELECTOR = YES; @@ -695,14 +689,8 @@ GCC_C_LANGUAGE_STANDARD = gnu11; GCC_NO_COMMON_BLOCKS = YES; GCC_PREPROCESSOR_DEFINITIONS = "$(inherited)"; - "GCC_PREPROCESSOR_DEFINITIONS[sdk=watchos*]" = ( - "WEBP_USE_INTRINSICS=1", - "$(inherited)", - ); - "GCC_PREPROCESSOR_DEFINITIONS[sdk=watchsimulator*]" = ( - "WEBP_USE_INTRINSICS=1", - "$(inherited)", - ); + "GCC_PREPROCESSOR_DEFINITIONS[sdk=watchos*]" = "WEBP_USE_INTRINSICS=1 $(inherited)"; + "GCC_PREPROCESSOR_DEFINITIONS[sdk=watchsimulator*]" = "WEBP_USE_INTRINSICS=1 $(inherited)"; GCC_WARN_64_TO_32_BIT_CONVERSION = YES; GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; GCC_WARN_UNDECLARED_SELECTOR = YES; diff --git a/SDWebImageWebPCoder.xcodeproj/xcshareddata/xcschemes/SDWebImageWebPCoderTests.xcscheme b/SDWebImageWebPCoder.xcodeproj/xcshareddata/xcschemes/SDWebImageWebPCoderTests.xcscheme index 8eab3d0..64e48b5 100644 --- a/SDWebImageWebPCoder.xcodeproj/xcshareddata/xcschemes/SDWebImageWebPCoderTests.xcscheme +++ b/SDWebImageWebPCoder.xcodeproj/xcshareddata/xcschemes/SDWebImageWebPCoderTests.xcscheme @@ -5,6 +5,22 @@ + + + + + + + + + + @@ -45,6 +70,15 @@ savedToolIdentifier = "" useCustomWorkingDirectory = "NO" debugDocumentVersioning = "YES"> + + + + diff --git a/SDWebImageWebPCoder.xcworkspace/contents.xcworkspacedata b/SDWebImageWebPCoder.xcworkspace/contents.xcworkspacedata index e39f969..92b2efd 100644 --- a/SDWebImageWebPCoder.xcworkspace/contents.xcworkspacedata +++ b/SDWebImageWebPCoder.xcworkspace/contents.xcworkspacedata @@ -7,4 +7,10 @@ + + + +