diff --git a/Makefile b/Makefile index 39017124bd..42ab0b5dda 100644 --- a/Makefile +++ b/Makefile @@ -356,7 +356,7 @@ build_verbose: check_env //:NotificationContentExtension#dwarf-and-dsym,iphoneos-arm64 \ //:NotificationServiceExtension#dwarf-and-dsym,iphoneos-arm64 \ //:IntentsExtension#dwarf-and-dsym,iphoneos-arm64 \ - --verbose 8 ${BUCK_OPTIONS} ${BUCK_THREADS_OPTIONS} ${BUCK_DEBUG_OPTIONS} ${BUCK_CACHE_OPTIONS} + --verbose 7 ${BUCK_OPTIONS} ${BUCK_THREADS_OPTIONS} ${BUCK_DEBUG_OPTIONS} ${BUCK_CACHE_OPTIONS} deps: check_env $(BUCK) query "deps(//:AppPackage)" --dot \ diff --git a/submodules/Svg/BUCK b/submodules/Svg/BUCK index f7bcd103e0..1165e5a15e 100644 --- a/submodules/Svg/BUCK +++ b/submodules/Svg/BUCK @@ -13,6 +13,7 @@ static_library( "-DSVGKitLogWarn(...)=1", "-DSVGKitLogError(...)=1", "-DSVGKitLogInfo(...)=1", + "-I$SDKROOT/usr/include/libxml2", ], headers = glob([ "Sources/**/*.h", @@ -20,9 +21,6 @@ static_library( exported_headers = glob([ "Sources/*.h", ]), - exported_preprocessor_flags = [ - "-I${SDKROOT}/usr/include/libxml2", - ], frameworks = [ "$SDKROOT/System/Library/Frameworks/libxml2.tbd", ], diff --git a/submodules/Svg/Sources/Svg.m b/submodules/Svg/Sources/Svg.m index eace7feb50..f4c9df75e6 100755 --- a/submodules/Svg/Sources/Svg.m +++ b/submodules/Svg/Sources/Svg.m @@ -9,7 +9,7 @@ UIImage * _Nullable drawSvgImage(NSData * _Nonnull data, CGSize size) { SVGKImage *image = [[SVGKImage alloc] initWithData:data]; if (image == nil) { - return; + return nil; } double deltaTime = -1.0f * [startTime timeIntervalSinceNow];