#ios #nativescript #braintree
Вопрос:
Я пытаюсь обновить зависимости iOS в плагине nativescript-braintree. Хотя на стороне Android все работает так, как ожидалось, я изо всех сил пытаюсь заставить процесс сборки ios работать.
Я добавляю это в свой подфайл:
platform :ios, '12.0'
pod 'BraintreeDropIn', '9.1.0'
И я добавляю это в build.xcconfig:
IPHONEOS_DEPLOYMENT_TARGET = 12.0;
ENABLE_MODULES = YES;
При использовании версии 8.1.2 модуля BraintreeDropIn все работает так, как ожидалось. Также при использовании последней версии модуля Braintree 5.4.2 процесс сборки работает так, как ожидалось, поэтому с BraintreeDropIn что-то не так, в частности.
Я не вижу никаких проблем на Github, так что, может быть, это как-то связано с NativeScript?
Длина журнала сборки составляет около 5 МБ, поэтому я не могу добавить сюда полный журнал. Это первая часть:
Xcode build...
./.build_env_vars.sh: line 446: declare: UID: readonly variable
NSLD: Swift bridging header '*-Swift.h' not found under '/Users/felixkrautschuk/Library/Developer/Xcode/DerivedData/nsbraintreeiosissue-chekcvderpazmlcjkxssmwilmgen/Build/Intermediates.noindex/nsbraintreeiosissue.build/Debug-iphonesimulator/nsbraintreeiosissue.build/Objects-normal/x86_64'
Generating metadata...~/Downloads/ns-braintree-ios-issue/platforms/ios/internal/metadata-generator-x86_64/bin ~/Downloads/ns-braintree-ios-issue/platforms/ios
Python version: 2.7.16 (default, May 8 2021, 11:48:02)
[GCC Apple LLVM 12.0.5 (clang-1205.0.19.59.6) [ internal-os, ptrauth-isa=deploy
Generating metadata for x86_64
Metadata Generator Arguments:
./objc-metadata-generator -verbose -output-bin /Users/felixkrautschuk/Downloads/ns-braintree-ios-issue/platforms/ios/build/Debug-iphonesimulator/metadata-x86_64.bin -output-umbrella /Users/felixkrautschuk/Downloads/ns-braintree-ios-issue/platforms/ios/build/Debug-iphonesimulator/umbrella-x86_64.h -docset-path /Users/felixkrautschuk/Library/Developer/Shared/Documentation/DocSets/com.apple.adc.documentation.iOS.docset Xclang -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk -mios-simulator-version-min=12.0 -std=gnu99 -target x86_64-apple-ios13.0-macabi -I/Users/felixkrautschuk/Downloads/ns-braintree-ios-issue/platforms/ios/build/Debug-iphonesimulator/include -I/Users/felixkrautschuk/Downloads/ns-braintree-ios-issue/platforms/ios/build/Debug-iphonesimulator/Braintree/Braintree.framework/Headers -I/Users/felixkrautschuk/Downloads/ns-braintree-ios-issue/platforms/ios/build/Debug-iphonesimulator/BraintreeDropIn/BraintreeDropIn.framework/Headers -I/Users/felixkrautschuk/Downloads/ns-braintree-ios-issue/platforms/ios/internal/Swift-Modules -I/Users/felixkrautschuk/Downloads/ns-braintree-ios-issue/platforms/ios/internal -I/Users/felixkrautschuk/Downloads/ns-braintree-ios-issue/platforms/ios/../../App_Resources/iOS/src -I/Users/felixkrautschuk/Downloads/ns-braintree-ios-issue/platforms/ios/../../node_modules/@nativescript/core/platforms/ios/src -F/Users/felixkrautschuk/Downloads/ns-braintree-ios-issue/platforms/ios/build/Debug-iphonesimulator -F/Users/felixkrautschuk/Downloads/ns-braintree-ios-issue/platforms/ios/internal/ -F/Users/felixkrautschuk/Downloads/ns-braintree-ios-issue/platforms/ios/build/Debug-iphonesimulator -F/Users/felixkrautschuk/Downloads/ns-braintree-ios-issue/platforms/ios/build/Debug-iphonesimulator/Braintree -F/Users/felixkrautschuk/Downloads/ns-braintree-ios-issue/platforms/ios/build/Debug-iphonesimulator/BraintreeDropIn -F/Users/felixkrautschuk/Downloads/ns-braintree-ios-issue/platforms/ios/Pods/Braintree/Frameworks -F/Users/felixkrautschuk/Downloads/ns-braintree-ios-issue/platforms/ios/build/Debug-iphonesimulator/XCFrameworkIntermediates/CardinalMobile -F/Users/felixkrautschuk/Downloads/ns-braintree-ios-issue/platforms/ios/build/Debug-iphonesimulator/XCFrameworkIntermediates/PPRiskMagnes -F/Users/felixkrautschuk/Downloads/ns-braintree-ios-issue/platforms/ios/../../node_modules/@nativescript/core/platforms/ios -DCOCOAPODS=1 -DDEBUG=1
Clang Arguments:
"-v", "-x", "objective-c", "-fno-objc-arc", "-fmodule-maps", "-ferror-limit=0", "-Wno-unknown-pragmas", "-Wno-ignored-attributes", "-Wno-nullability-completeness", "-Wno-expansion-to-defined", "-D__NATIVESCRIPT_METADATA_GENERATOR=1", "-isysroot", "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk", "-mios-simulator-version-min=12.0", "-std=gnu99", "-target", "x86_64-apple-ios13.0-macabi", "-I/Users/felixkrautschuk/Downloads/ns-braintree-ios-issue/platforms/ios/build/Debug-iphonesimulator/include", "-I/Users/felixkrautschuk/Downloads/ns-braintree-ios-issue/platforms/ios/build/Debug-iphonesimulator/Braintree/Braintree.framework/Headers", "-I/Users/felixkrautschuk/Downloads/ns-braintree-ios-issue/platforms/ios/build/Debug-iphonesimulator/BraintreeDropIn/BraintreeDropIn.framework/Headers", "-I/Users/felixkrautschuk/Downloads/ns-braintree-ios-issue/platforms/ios/internal/Swift-Modules", "-I/Users/felixkrautschuk/Downloads/ns-braintree-ios-issue/platforms/ios/internal", "-I/Users/felixkrautschuk/Downloads/ns-braintree-ios-issue/platforms/ios/../../App_Resources/iOS/src", "-I/Users/felixkrautschuk/Downloads/ns-braintree-ios-issue/platforms/ios/../../node_modules/@nativescript/core/platforms/ios/src", "-F/Users/felixkrautschuk/Downloads/ns-braintree-ios-issue/platforms/ios/build/Debug-iphonesimulator", "-F/Users/felixkrautschuk/Downloads/ns-braintree-ios-issue/platforms/ios/internal/", "-F/Users/felixkrautschuk/Downloads/ns-braintree-ios-issue/platforms/ios/build/Debug-iphonesimulator", "-F/Users/felixkrautschuk/Downloads/ns-braintree-ios-issue/platforms/ios/build/Debug-iphonesimulator/Braintree", "-F/Users/felixkrautschuk/Downloads/ns-braintree-ios-issue/platforms/ios/build/Debug-iphonesimulator/BraintreeDropIn", "-F/Users/felixkrautschuk/Downloads/ns-braintree-ios-issue/platforms/ios/Pods/Braintree/Frameworks", "-F/Users/felixkrautschuk/Downloads/ns-braintree-ios-issue/platforms/ios/build/Debug-iphonesimulator/XCFrameworkIntermediates/CardinalMobile", "-F/Users/felixkrautschuk/Downloads/ns-braintree-ios-issue/platforms/ios/build/Debug-iphonesimulator/XCFrameworkIntermediates/PPRiskMagnes", "-F/Users/felixkrautschuk/Downloads/ns-braintree-ios-issue/platforms/ios/../../node_modules/@nativescript/core/platforms/ios", "-DCOCOAPODS=1", "-DDEBUG=1",
Saving metadata generation's stderr stream to: /Users/felixkrautschuk/Downloads/ns-braintree-ios-issue/platforms/ios/build/Debug-iphonesimulator/metadata-generation-stderr-x86_64.txt
Error: Unable to generate metadata for x86_64.
Metadata Generator Arguments:
./objc-metadata-generator -verbose -output-bin /Users/felixkrautschuk/Downloads/ns-braintree-ios-issue/platforms/ios/build/Debug-iphonesimulator/metadata-x86_64.bin -output-umbrella /Users/felixkrautschuk/Downloads/ns-braintree-ios-issue/platforms/ios/build/Debug-iphonesimulator/umbrella-x86_64.h -docset-path /Users/felixkrautschuk/Library/Developer/Shared/Documentation/DocSets/com.apple.adc.documentation.iOS.docset Xclang -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk -mios-simulator-version-min=12.0 -std=gnu99 -target x86_64-apple-ios13.0-macabi -I/Users/felixkrautschuk/Downloads/ns-braintree-ios-issue/platforms/ios/build/Debug-iphonesimulator/include -I/Users/felixkrautschuk/Downloads/ns-braintree-ios-issue/platforms/ios/build/Debug-iphonesimulator/Braintree/Braintree.framework/Headers -I/Users/felixkrautschuk/Downloads/ns-braintree-ios-issue/platforms/ios/build/Debug-iphonesimulator/BraintreeDropIn/BraintreeDropIn.framework/Headers -I/Users/felixkrautschuk/Downloads/ns-braintree-ios-issue/platforms/ios/internal/Swift-Modules -I/Users/felixkrautschuk/Downloads/ns-braintree-ios-issue/platforms/ios/internal -I/Users/felixkrautschuk/Downloads/ns-braintree-ios-issue/platforms/ios/../../App_Resources/iOS/src -I/Users/felixkrautschuk/Downloads/ns-braintree-ios-issue/platforms/ios/../../node_modules/@nativescript/core/platforms/ios/src -F/Users/felixkrautschuk/Downloads/ns-braintree-ios-issue/platforms/ios/build/Debug-iphonesimulator -F/Users/felixkrautschuk/Downloads/ns-braintree-ios-issue/platforms/ios/internal/ -F/Users/felixkrautschuk/Downloads/ns-braintree-ios-issue/platforms/ios/build/Debug-iphonesimulator -F/Users/felixkrautschuk/Downloads/ns-braintree-ios-issue/platforms/ios/build/Debug-iphonesimulator/Braintree -F/Users/felixkrautschuk/Downloads/ns-braintree-ios-issue/platforms/ios/build/Debug-iphonesimulator/BraintreeDropIn -F/Users/felixkrautschuk/Downloads/ns-braintree-ios-issue/platforms/ios/Pods/Braintree/Frameworks -F/Users/felixkrautschuk/Downloads/ns-braintree-ios-issue/platforms/ios/build/Debug-iphonesimulator/XCFrameworkIntermediates/CardinalMobile -F/Users/felixkrautschuk/Downloads/ns-braintree-ios-issue/platforms/ios/build/Debug-iphonesimulator/XCFrameworkIntermediates/PPRiskMagnes -F/Users/felixkrautschuk/Downloads/ns-braintree-ios-issue/platforms/ios/../../node_modules/@nativescript/core/platforms/ios -DCOCOAPODS=1 -DDEBUG=1
clang version 8.0.0 (tags/RELEASE_800/final)
Target: x86_64-apple-ios13.0-macabi
Thread model: posix
InstalledDir:
warning: overriding '-mios-simulator-version-min=12.0' option with '--target=x86_64-apple-ios13.0-macabi' [-Woverriding-t-option]
clang Invocation:
"clang-tool" "-cc1" "-triple" "x86_64-apple-ios13.0.0-simulator" "-Wdeprecated-objc-isa-usage" "-Werror=deprecated-objc-isa-usage" "-Werror=implicit-function-declaration" "-fsyntax-only" "-disable-free" "-disable-llvm-verifier" "-discard-value-names" "-main-file-name" "umbrella.h" "-mrelocation-model" "pic" "-pic-level" "2" "-mthread-model" "posix" "-mdisable-fp-elim" "-masm-verbose" "-munwind-tables" "-target-sdk-version=14.5" "-target-cpu" "core2" "-dwarf-column-info" "-debugger-tuning=lldb" "-ggnu-pubnames" "-target-linker-version" "507.6" "-v" "-resource-dir" "lib/clang/8.0.0" "-isysroot" "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk" "-D" "__NATIVESCRIPT_METADATA_GENERATOR=1" "-I" "/Users/felixkrautschuk/Downloads/ns-braintree-ios-issue/platforms/ios/build/Debug-iphonesimulator/include" "-I" "/Users/felixkrautschuk/Downloads/ns-braintree-ios-issue/platforms/ios/build/Debug-iphonesimulator/Braintree/Braintree.framework/Headers" "-I" "/Users/felixkrautschuk/Downloads/ns-braintree-ios-issue/platforms/ios/build/Debug-iphonesimulator/BraintreeDropIn/BraintreeDropIn.framework/Headers" "-I" "/Users/felixkrautschuk/Downloads/ns-braintree-ios-issue/platforms/ios/internal/Swift-Modules" "-I" "/Users/felixkrautschuk/Downloads/ns-braintree-ios-issue/platforms/ios/internal" "-I" "/Users/felixkrautschuk/Downloads/ns-braintree-ios-issue/platforms/ios/../../App_Resources/iOS/src" "-I" "/Users/felixkrautschuk/Downloads/ns-braintree-ios-issue/platforms/ios/../../node_modules/@nativescript/core/platforms/ios/src" "-F/Users/felixkrautschuk/Downloads/ns-braintree-ios-issue/platforms/ios/build/Debug-iphonesimulator" "-F/Users/felixkrautschuk/Downloads/ns-braintree-ios-issue/platforms/ios/internal/" "-F/Users/felixkrautschuk/Downloads/ns-braintree-ios-issue/platforms/ios/build/Debug-iphonesimulator" "-F/Users/felixkrautschuk/Downloads/ns-braintree-ios-issue/platforms/ios/build/Debug-iphonesimulator/Braintree" "-F/Users/felixkrautschuk/Downloads/ns-braintree-ios-issue/platforms/ios/build/Debug-iphonesimulator/BraintreeDropIn" "-F/Users/felixkrautschuk/Downloads/ns-braintree-ios-issue/platforms/ios/Pods/Braintree/Frameworks" "-F/Users/felixkrautschuk/Downloads/ns-braintree-ios-issue/platforms/ios/build/Debug-iphonesimulator/XCFrameworkIntermediates/CardinalMobile" "-F/Users/felixkrautschuk/Downloads/ns-braintree-ios-issue/platforms/ios/build/Debug-iphonesimulator/XCFrameworkIntermediates/PPRiskMagnes" "-F/Users/felixkrautschuk/Downloads/ns-braintree-ios-issue/platforms/ios/../../node_modules/@nativescript/core/platforms/ios" "-D" "COCOAPODS=1" "-D" "DEBUG=1" "-Wno-unknown-pragmas" "-Wno-ignored-attributes" "-Wno-nullability-completeness" "-Wno-expansion-to-defined" "-std=gnu99" "-fdebug-compilation-dir" "/Users/felixkrautschuk/Downloads/ns-braintree-ios-issue/platforms/ios/internal/metadata-generator-x86_64/bin" "-ferror-limit" "0" "-fmessage-length" "0" "-stack-protector" "1" "-fblocks" "-fencode-extended-block-signature" "-fimplicit-module-maps" "-fregister-global-dtors-with-atexit" "-fobjc-runtime=ios-13.0.0" "-fobjc-exceptions" "-fexceptions" "-fmax-type-align=16" "-fdiagnostics-show-option" "-x" "objective-c" "umbrella.h"
ignoring nonexistent directory "/Users/felixkrautschuk/Downloads/ns-braintree-ios-issue/platforms/ios/build/Debug-iphonesimulator/include"
ignoring nonexistent directory "/Users/felixkrautschuk/Downloads/ns-braintree-ios-issue/platforms/ios/internal/Swift-Modules"
ignoring nonexistent directory "/Users/felixkrautschuk/Downloads/ns-braintree-ios-issue/platforms/ios/../../App_Resources/iOS/src"
ignoring nonexistent directory "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/local/include"
ignoring nonexistent directory "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/Library/Frameworks"
ignoring duplicate directory "/Users/felixkrautschuk/Downloads/ns-braintree-ios-issue/platforms/ios/build/Debug-iphonesimulator"
#include "..." search starts here:
#include <...> search starts here:
/Users/felixkrautschuk/Downloads/ns-braintree-ios-issue/platforms/ios/build/Debug-iphonesimulator/Braintree/Braintree.framework/Headers
/Users/felixkrautschuk/Downloads/ns-braintree-ios-issue/platforms/ios/build/Debug-iphonesimulator/BraintreeDropIn/BraintreeDropIn.framework/Headers
/Users/felixkrautschuk/Downloads/ns-braintree-ios-issue/platforms/ios/internal
/Users/felixkrautschuk/Downloads/ns-braintree-ios-issue/platforms/ios/../../node_modules/@nativescript/core/platforms/ios/src
/Users/felixkrautschuk/Downloads/ns-braintree-ios-issue/platforms/ios/build/Debug-iphonesimulator (framework directory)
/Users/felixkrautschuk/Downloads/ns-braintree-ios-issue/platforms/ios/internal (framework directory)
/Users/felixkrautschuk/Downloads/ns-braintree-ios-issue/platforms/ios/build/Debug-iphonesimulator/Braintree (framework directory)
/Users/felixkrautschuk/Downloads/ns-braintree-ios-issue/platforms/ios/build/Debug-iphonesimulator/BraintreeDropIn (framework directory)
/Users/felixkrautschuk/Downloads/ns-braintree-ios-issue/platforms/ios/Pods/Braintree/Frameworks (framework directory)
/Users/felixkrautschuk/Downloads/ns-braintree-ios-issue/platforms/ios/build/Debug-iphonesimulator/XCFrameworkIntermediates/CardinalMobile (framework directory)
/Users/felixkrautschuk/Downloads/ns-braintree-ios-issue/platforms/ios/build/Debug-iphonesimulator/XCFrameworkIntermediates/PPRiskMagnes (framework directory)
/Users/felixkrautschuk/Downloads/ns-braintree-ios-issue/platforms/ios/../../node_modules/@nativescript/core/platforms/ios (framework directory)
lib/clang/8.0.0/include
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/include
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/System/Library/Frameworks (framework directory)
End of search list.
clang version 8.0.0 (tags/RELEASE_800/final)
Target: x86_64-apple-ios13.0-macabi
Thread model: posix
InstalledDir:
warning: overriding '-mios-simulator-version-min=12.0' option with '--target=x86_64-apple-ios13.0-macabi' [-Woverriding-t-option]
clang Invocation:
"objc-metadata-generator" "-cc1" "-triple" "x86_64-apple-ios13.0.0-simulator" "-Wdeprecated-objc-isa-usage" "-Werror=deprecated-objc-isa-usage" "-Werror=implicit-function-declaration" "-fsyntax-only" "-disable-free" "-disable-llvm-verifier" "-discard-value-names" "-main-file-name" "umbrella.h" "-mrelocation-model" "pic" "-pic-level" "2" "-mthread-model" "posix" "-mdisable-fp-elim" "-masm-verbose" "-munwind-tables" "-target-sdk-version=14.5" "-target-cpu" "core2" "-dwarf-column-info" "-debugger-tuning=lldb" "-ggnu-pubnames" "-target-linker-version" "507.6" "-v" "-resource-dir" "lib/clang/8.0.0" "-isysroot" "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk" "-idirafter" "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/include" "-idirafter" "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/include/dispatch" "-idirafter" "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/include/libxml" "-idirafter" "lib/clang/8.0.0/include" "-idirafter" "/Users/felixkrautschuk/Downloads/ns-braintree-ios-issue/platforms/ios/../../node_modules/@nativescript/core/platforms/ios/src" "-idirafter" "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/include/mach-o" "-idirafter" "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/include/unicode" "-idirafter" "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/include/objc" "-idirafter" "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/include/simd" "-idirafter" "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/include/CommonCrypto" "-idirafter" "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/include/AppleArchive" "-D" "__NATIVESCRIPT_METADATA_GENERATOR=1" "-I" "/Users/felixkrautschuk/Downloads/ns-braintree-ios-issue/platforms/ios/build/Debug-iphonesimulator/include" "-I" "/Users/felixkrautschuk/Downloads/ns-braintree-ios-issue/platforms/ios/build/Debug-iphonesimulator/Braintree/Braintree.framework/Headers" "-I" "/Users/felixkrautschuk/Downloads/ns-braintree-ios-issue/platforms/ios/build/Debug-iphonesimulator/BraintreeDropIn/BraintreeDropIn.framework/Headers" "-I" "/Users/felixkrautschuk/Downloads/ns-braintree-ios-issue/platforms/ios/internal/Swift-Modules" "-I" "/Users/felixkrautschuk/Downloads/ns-braintree-ios-issue/platforms/ios/internal" "-I" "/Users/felixkrautschuk/Downloads/ns-braintree-ios-issue/platforms/ios/../../App_Resources/iOS/src" "-I" "/Users/felixkrautschuk/Downloads/ns-braintree-ios-issue/platforms/ios/../../node_modules/@nativescript/core/platforms/ios/src" "-F/Users/felixkrautschuk/Downloads/ns-braintree-ios-issue/platforms/ios/build/Debug-iphonesimulator" "-F/Users/felixkrautschuk/Downloads/ns-braintree-ios-issue/platforms/ios/internal/" "-F/Users/felixkrautschuk/Downloads/ns-braintree-ios-issue/platforms/ios/build/Debug-iphonesimulator" "-F/Users/felixkrautschuk/Downloads/ns-braintree-ios-issue/platforms/ios/build/Debug-iphonesimulator/Braintree" "-F/Users/felixkrautschuk/Downloads/ns-braintree-ios-issue/platforms/ios/build/Debug-iphonesimulator/BraintreeDropIn" "-F/Users/felixkrautschuk/Downloads/ns-braintree-ios-issue/platforms/ios/Pods/Braintree/Frameworks" "-F/Users/felixkrautschuk/Downloads/ns-braintree-ios-issue/platforms/ios/build/Debug-iphonesimulator/XCFrameworkIntermediates/CardinalMobile" "-F/Users/felixkrautschuk/Downloads/ns-braintree-ios-issue/platforms/ios/build/Debug-iphonesimulator/XCFrameworkIntermediates/PPRiskMagnes" "-F/Users/felixkrautschuk/Downloads/ns-braintree-ios-issue/platforms/ios/../../node_modules/@nativescript/core/platforms/ios" "-D" "COCOAPODS=1" "-D" "DEBUG=1" "-Wno-unknown-pragmas" "-Wno-ignored-attributes" "-Wno-nullability-completeness" "-Wno-expansion-to-defined" "-std=gnu99" "-fdebug-compilation-dir" "/Users/felixkrautschuk/Downloads/ns-braintree-ios-issue/platforms/ios/internal/metadata-generator-x86_64/bin" "-ferror-limit" "0" "-fmessage-length" "0" "-stack-protector" "1" "-fblocks" "-fencode-extended-block-signature" "-fimplicit-module-maps" "-fregister-global-dtors-with-atexit" "-fobjc-runtime=ios-13.0.0" "-fobjc-exceptions" "-fexceptions" "-fmax-type-align=16" "-fdiagnostics-show-option" "-x" "objective-c" "umbrella.h"
clang -cc1 version 8.0.0 based upon LLVM 8.0.0 default target x86_64-apple-darwin20.5.0
ignoring nonexistent directory "/Users/felixkrautschuk/Downloads/ns-braintree-ios-issue/platforms/ios/build/Debug-iphonesimulator/include"
ignoring nonexistent directory "/Users/felixkrautschuk/Downloads/ns-braintree-ios-issue/platforms/ios/internal/Swift-Modules"
ignoring nonexistent directory "/Users/felixkrautschuk/Downloads/ns-braintree-ios-issue/platforms/ios/../../App_Resources/iOS/src"
ignoring nonexistent directory "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/local/include"
ignoring nonexistent directory "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/Library/Frameworks"
ignoring duplicate directory "/Users/felixkrautschuk/Downloads/ns-braintree-ios-issue/platforms/ios/build/Debug-iphonesimulator"
ignoring duplicate directory "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/include"
ignoring duplicate directory "lib/clang/8.0.0/include"
ignoring duplicate directory "/Users/felixkrautschuk/Downloads/ns-braintree-ios-issue/platforms/ios/../../node_modules/@nativescript/core/platforms/ios/src"
as it is a non-system directory that duplicates a system directory
#include "..." search starts here:
#include <...> search starts here:
/Users/felixkrautschuk/Downloads/ns-braintree-ios-issue/platforms/ios/build/Debug-iphonesimulator/Braintree/Braintree.framework/Headers
/Users/felixkrautschuk/Downloads/ns-braintree-ios-issue/platforms/ios/build/Debug-iphonesimulator/BraintreeDropIn/BraintreeDropIn.framework/Headers
/Users/felixkrautschuk/Downloads/ns-braintree-ios-issue/platforms/ios/internal
/Users/felixkrautschuk/Downloads/ns-braintree-ios-issue/platforms/ios/build/Debug-iphonesimulator (framework directory)
/Users/felixkrautschuk/Downloads/ns-braintree-ios-issue/platforms/ios/internal (framework directory)
/Users/felixkrautschuk/Downloads/ns-braintree-ios-issue/platforms/ios/build/Debug-iphonesimulator/Braintree (framework directory)
/Users/felixkrautschuk/Downloads/ns-braintree-ios-issue/platforms/ios/build/Debug-iphonesimulator/BraintreeDropIn (framework directory)
/Users/felixkrautschuk/Downloads/ns-braintree-ios-issue/platforms/ios/Pods/Braintree/Frameworks (framework directory)
/Users/felixkrautschuk/Downloads/ns-braintree-ios-issue/platforms/ios/build/Debug-iphonesimulator/XCFrameworkIntermediates/CardinalMobile (framework directory)
/Users/felixkrautschuk/Downloads/ns-braintree-ios-issue/platforms/ios/build/Debug-iphonesimulator/XCFrameworkIntermediates/PPRiskMagnes (framework directory)
/Users/felixkrautschuk/Downloads/ns-braintree-ios-issue/platforms/ios/../../node_modules/@nativescript/core/platforms/ios (framework directory)
lib/clang/8.0.0/include
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/include
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/System/Library/Frameworks (framework directory)
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/include/dispatch
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/include/libxml
/Users/felixkrautschuk/Downloads/ns-braintree-ios-issue/platforms/ios/../../node_modules/@nativescript/core/platforms/ios/src
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/include/mach-o
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/include/unicode
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/include/objc
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/include/simd
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/include/CommonCrypto
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/include/AppleArchive
End of search list.
In file included from umbrella.h:71:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/include/dlfcn.h:64:37: warning: unknown platform 'driverkit' in availability macro [-Wavailability]
extern int dlclose(void * __handle) __DYLDDL_DRIVERKIT_UNAVAILABLE;
^
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/include/dlfcn.h:44:41: note: expanded from macro '__DYLDDL_DRIVERKIT_UNAVAILABLE'
#define __DYLDDL_DRIVERKIT_UNAVAILABLE __API_UNAVAILABLE(driverkit)
^
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/include/Availability.h:419:190: note: expanded from macro '__API_UNAVAILABLE'
#define __API_UNAVAILABLE(...) __API_UNAVAILABLE_GET_MACRO(__VA_ARGS__,__API_UNAVAILABLE7,__API_UNAVAILABLE6,__API_UNAVAILABLE5,__API_UNAVAILABLE4,__API_UNAVAILABLE3,__API_UNAVAILABLE2,__API_UNAVAILABLE1, 0)(__VA_ARGS__) ^
In file included from umbrella.h:522:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/System/Library/Frameworks/MetalPerformanceShaders.framework/Headers/MetalPerformanceShaders.h:12:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/System/Library/Frameworks/MetalPerformanceShaders.framework/Frameworks/MPSCore.framework/Headers/MPSCore.h:14:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/System/Library/Frameworks/MetalPerformanceShaders.framework/Frameworks/MPSCore.framework/Headers/MPSCoreTypes.h:241:23: warning: unknown platform 'macCatalyst' in availability macro [-Wavailability]
MPSDataTypeInt8 MPS_ENUM_AVAILABLE_STARTING( macos(10.13), ios(10.0), macCatalyst(13.0), tvos(10.0)) = MPSDataTypeSignedBit | 8,
^
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/System/Library/Frameworks/MetalPerformanceShaders.framework/Frameworks/MPSCore.framework/Headers/MPSCoreTypes.h:47:65: note: expanded from macro 'MPS_ENUM_AVAILABLE_STARTING'
# define MPS_ENUM_AVAILABLE_STARTING(...) __API_AVAILABLE(__VA_ARGS__)
…
И в конце я получаю тысячи строк, которые выглядят так:
verbose: Included protocol_copyProtocolList from ObjectiveC.runtime
verbose: Included objc_allocateProtocol from ObjectiveC.runtime
verbose: Included objc_setAssociatedObject from ObjectiveC.runtime
verbose: Included objc_getAssociatedObject from ObjectiveC.runtime
verbose: Included objc_removeAssociatedObjects from ObjectiveC.runtime
verbose: Included CCADirectoryServerIDVisa01 from CardinalMobile.DirectoryServerIDConst
verbose: Included CCADirectoryServerIDVisa02 from CardinalMobile.DirectoryServerIDConst
verbose: Included CCADirectoryServerIDVisa03 from CardinalMobile.DirectoryServerIDConst
verbose: Included CCADirectoryServerIDVisa04 from CardinalMobile.DirectoryServerIDConst
verbose: Included CCADirectoryServerIDMasterCard from CardinalMobile.DirectoryServerIDConst
Command Ld failed with a nonzero exit code
note: Using new build system
note: Building targets in parallel
note: Using codesigning identity override:
note: Planning build
note: Analyzing workspace
note: Constructing build description
note: Build preparation complete
note: Removed stale file '/Users/felixkrautschuk/Library/Developer/Xcode/DerivedData/nsbraintreeiosissue-chekcvderpazmlcjkxssmwilmgen/Build/Intermediates.noindex/nsbraintreeiosissue.build/Debug-iphonesimulator/nsbraintreeiosissue.build/Script-81DAB418CDA54F5900EA768A.sh'
Unable to apply changes on device: 27EB8DF8-CC9D-4747-A7CB-95DF413D358F. Error is: Command xcodebuild failed with exit code 65.