mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-06-16 05:55:20 +00:00
Fix build
This commit is contained in:
parent
095c03acdd
commit
d090d6c2d5
2
Makefile
2
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 \
|
||||
|
@ -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",
|
||||
],
|
||||
|
@ -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];
|
||||
|
Loading…
x
Reference in New Issue
Block a user