Кто-нибудь знаком с BUCK? Я пытаюсь конвертировать подфайл Trustkit, но я получаю ...
stderr: Pods/TrustKit/TrustKit/Pinning/public_key_utils.m:208:16: error: implicit conversion of 'int' to 'NSData *' is disallowed with ARC
return getPublicKeyDataFromCertificate_legacy_ios(certificate);
Вот мой файл BUCK
apple_library(
name = 'TrustKit',
visibility = ['PUBLIC'],
headers = glob(['TrustKit/**/*.h']),
compiler_flags = ['-Wno-implicit-function-declaration'],
srcs = glob(['TrustKit/**/*.m', 'TrustKit/**/*.c']),
frameworks = [
"$SDKROOT/System/Library/Frameworks/UIKit.framework",
"$SDKROOT/System/Library/Frameworks/Foundation.framework",
"$SDKROOT/System/Library/Frameworks/Foundation.Security"
],
)