mrousavy / react-native-vision-camera

📸 A powerful, high-performance React Native Camera library.
https://react-native-vision-camera.com
MIT License
7.66k stars 1.11k forks source link

V3.0.0-rc.4 RN 0.72.3 ios FrameHostObject.h not found🐛 #1682

Closed ascholz81 closed 1 year ago

ascholz81 commented 1 year ago

What were you trying to do?

I want to use the frame processors

Reproduceable Code

No response

What happened instead?

iOS build fails while building VisionCamera with "FrameHostObject.h" not found Screenshot 2023-08-05 at 11 34 31 AM

Relevant log output

Showing All Errors Only

Build target VisionCamera of project Pods with configuration Debug

CompileC /Users/adamscholz/Library/Developer/Xcode/DerivedData/naxos-assikdtcamslhmeoezmabigzimzk/Build/Intermediates.noindex/Pods.build/Debug-iphoneos/VisionCamera.build/Objects-normal/arm64/SkiaFrameProcessor.o /Users/adamscholz/pdev/naxos/naxos-response-mobile/node_modules/react-native-vision-camera/ios/Skia\ Render\ Layer/SkiaFrameProcessor.mm normal arm64 objective-c++ com.apple.compilers.llvm.clang.1_0.compiler (in target 'VisionCamera' from project 'Pods')
    cd /Users/adamscholz/pdev/naxos/naxos-response-mobile/ios/Pods
    /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x objective-c++ -ivfsstatcache /Users/adamscholz/Library/Developer/Xcode/DerivedData/SDKStatCaches.noindex/iphoneos16.4-20E238-.sdkstatcache -target arm64-apple-ios11.4 -fmessage-length\=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit\=0 -std\=c++17 -stdlib\=libc++ -fobjc-arc -fmodules -gmodules -fmodules-cache-path\=/Users/adamscholz/Library/Developer/Xcode/DerivedData/ModuleCache.noindex -fmodules-prune-interval\=86400 -fmodules-prune-after\=345600 -fbuild-session-file\=/Users/adamscholz/Library/Developer/Xcode/DerivedData/ModuleCache.noindex/Session.modulevalidation -fmodules-validate-once-per-build-session -Wnon-modular-include-in-framework-module -Werror\=non-modular-include-in-framework-module -fmodule-name\=VisionCamera -Wno-trigraphs -fpascal-strings -O0 -fno-common -Wno-missing-field-initializers -Wno-missing-prototypes -Werror\=return-type -Wdocumentation -Wunreachable-code -Wno-implicit-atomic-properties -Werror\=deprecated-objc-isa-usage -Wno-objc-interface-ivars -Werror\=objc-root-class -Wno-arc-repeated-use-of-weak -Wimplicit-retain-self -Wno-non-virtual-dtor -Wno-overloaded-virtual -Wno-exit-time-destructors -Wduplicate-method-match -Wno-missing-braces -Wparentheses -Wswitch -Wunused-function -Wno-unused-label -Wno-unused-parameter -Wunused-variable -Wunused-value -Wempty-body -Wuninitialized -Wconditional-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wconstant-conversion -Wint-conversion -Wbool-conversion -Wenum-conversion -Wno-float-conversion -Wnon-literal-null-conversion -Wobjc-literal-conversion -Wshorten-64-to-32 -Wno-newline-eof -Wno-selector -Wno-strict-selector-match -Wundeclared-selector -Wdeprecated-implementations -Wno-c++11-extensions -Wno-implicit-fallthrough -DPOD_CONFIGURATION_DEBUG\=1 -DDEBUG\=1 -DCOCOAPODS\=1 -DPOD_CONFIGURATION_DEBUG\=1 -DDEBUG\=1 -DSK_METAL\=1 -DSK_GANESH\=1 -DVISION_CAMERA_ENABLE_FRAME_PROCESSORS\=true -DVISION_CAMERA_ENABLE_SKIA\=true -D_LIBCPP_ENABLE_CXX17_REMOVED_UNARY_BINARY_FUNCTION -DOBJC_OLD_DISPATCH_PROTOTYPES\=0 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS16.4.sdk -fstrict-aliasing -Wprotocol -Wdeprecated-declarations -Winvalid-offsetof -g -fvisibility-inlines-hidden -Wno-sign-conversion -Winfinite-recursion -Wmove -Wcomma -Wblock-capture-autoreleasing -Wstrict-prototypes -Wrange-loop-analysis -Wno-semicolon-before-method-body -Wunguarded-availability -index-store-path /Users/adamscholz/Library/Developer/Xcode/DerivedData/naxos-assikdtcamslhmeoezmabigzimzk/Index.noindex/DataStore -iquote /Users/adamscholz/Library/Developer/Xcode/DerivedData/naxos-assikdtcamslhmeoezmabigzimzk/Build/Intermediates.noindex/Pods.build/Debug-iphoneos/VisionCamera.build/VisionCamera-generated-files.hmap -I/Users/adamscholz/Library/Developer/Xcode/DerivedData/naxos-assikdtcamslhmeoezmabigzimzk/Build/Intermediates.noindex/Pods.build/Debug-iphoneos/VisionCamera.build/VisionCamera-own-target-headers.hmap -I/Users/adamscholz/Library/Developer/Xcode/DerivedData/naxos-assikdtcamslhmeoezmabigzimzk/Build/Intermediates.noindex/Pods.build/Debug-iphoneos/VisionCamera.build/VisionCamera-all-non-framework-target-headers.hmap -ivfsoverlay /Users/adamscholz/Library/Developer/Xcode/DerivedData/naxos-assikdtcamslhmeoezmabigzimzk/Build/Intermediates.noindex/Pods.build/Debug-iphoneos/VisionCamera.build/all-product-headers.yaml -iquote /Users/adamscholz/Library/Developer/Xcode/DerivedData/naxos-assikdtcamslhmeoezmabigzimzk/Build/Intermediates.noindex/Pods.build/Debug-iphoneos/VisionCamera.build/VisionCamera-project-headers.hmap -I/Users/adamscholz/Library/Developer/Xcode/DerivedData/naxos-assikdtcamslhmeoezmabigzimzk/Build/Products/Debug-iphoneos/VisionCamera/include -I/Users/adamscholz/Library/Developer/Xcode/DerivedData/naxos-assikdtcamslhmeoezmabigzimzk/Build/Products/Debug-iphoneos/ReactCommon-Samples/ReactCommon_Samples.framework/Headers -I/Users/adamscholz/Library/Developer/Xcode/DerivedData/naxos-assikdtcamslhmeoezmabigzimzk/Build/Products/Debug-iphoneos/ReactCommon/ReactCommon.framework/Headers/react/nativemodule/core -I/Users/adamscholz/Library/Developer/Xcode/DerivedData/naxos-assikdtcamslhmeoezmabigzimzk/Build/Products/Debug-iphoneos/ReactCommon-Samples/ReactCommon_Samples.framework/Headers/platform/ios -I/Users/adamscholz/Library/Developer/Xcode/DerivedData/naxos-assikdtcamslhmeoezmabigzimzk/Build/Products/Debug-iphoneos/React-NativeModulesApple/React_NativeModulesApple.framework/Headers -I/Users/adamscholz/Library/Developer/Xcode/DerivedData/naxos-assikdtcamslhmeoezmabigzimzk/Build/Products/Debug-iphoneos/React-graphics/React_graphics.framework/Headers/react/renderer/graphics/platform/ios -I/Users/adamscholz/pdev/naxos/naxos-response-mobile/ios/Pods/Headers/Public -I/Users/adamscholz/pdev/naxos/naxos-response-mobile/ios/Pods/Headers/Public/FBLazyVector -I/Users/adamscholz/pdev/naxos/naxos-response-mobile/ios/Pods/Headers/Public/RCTRequired -I/Users/adamscholz/pdev/naxos/naxos-response-mobile/ios/Pods/Headers/Public/React-callinvoker -I/Users/adamscholz/pdev/naxos/naxos-response-mobile/ios/Pods/Headers/Public/React-runtimeexecutor -I/Users/adamscholz/pdev/naxos/naxos-response-mobile/ios/Pods/Headers/Public/hermes-engine -I/Users/adamscholz/Library/Developer/Xcode/DerivedData/naxos-assikdtcamslhmeoezmabigzimzk/Build/Products/Debug-iphoneos/XCFrameworkIntermediates/react-native-skia/Headers -I/Users/adamscholz/Library/Developer/Xcode/DerivedData/naxos-assikdtcamslhmeoezmabigzimzk/Build/Products/Debug-iphoneos/XCFrameworkIntermediates/react-native-skia/Headers -I/Users/adamscholz/Library/Developer/Xcode/DerivedData/naxos-assikdtcamslhmeoezmabigzimzk/Build/Products/Debug-iphoneos/XCFrameworkIntermediates/react-native-skia/Headers -I../../node_modules/react-native-vision-camera/cpp -I/Users/adamscholz/pdev/naxos/naxos-response-mobile/node_modules/@shopify/react-native-skia/cpp/skia -I/Users/adamscholz/pdev/naxos/naxos-response-mobile/node_modules/@shopify/react-native-skia/cpp/skia/include -I/Users/adamscholz/pdev/naxos/naxos-response-mobile/node_modules/@shopify/react-native-skia/cpp/skia/modules -I/Users/adamscholz/pdev/naxos/naxos-response-mobile/node_modules/@shopify/react-native-skia/cpp/skia/src -I/Users/adamscholz/pdev/naxos/naxos-response-mobile/node_modules/@shopify/react-native-skia/cpp/skia/include/android -I/Users/adamscholz/pdev/naxos/naxos-response-mobile/node_modules/@shopify/react-native-skia/cpp/skia/include/codec -I/Users/adamscholz/pdev/naxos/naxos-response-mobile/node_modules/@shopify/react-native-skia/cpp/skia/include/config -I/Users/adamscholz/pdev/naxos/naxos-response-mobile/node_modules/@shopify/react-native-skia/cpp/skia/include/core -I/Users/adamscholz/pdev/naxos/naxos-response-mobile/node_modules/@shopify/react-native-skia/cpp/skia/include/docs -I/Users/adamscholz/pdev/naxos/naxos-response-mobile/node_modules/@shopify/react-native-skia/cpp/skia/include/effects -I/Users/adamscholz/pdev/naxos/naxos-response-mobile/node_modules/@shopify/react-native-skia/cpp/skia/include/encode -I/Users/adamscholz/pdev/naxos/naxos-response-mobile/node_modules/@shopify/react-native-skia/cpp/skia/include/gpu -I/Users/adamscholz/pdev/naxos/naxos-response-mobile/node_modules/@shopify/react-native-skia/cpp/skia/include/pathops -I/Users/adamscholz/pdev/naxos/naxos-response-mobile/node_modules/@shopify/react-native-skia/cpp/skia/include/ports -I/Users/adamscholz/pdev/naxos/naxos-response-mobile/node_modules/@shopify/react-native-skia/cpp/skia/include/private -I/Users/adamscholz/pdev/naxos/naxos-response-mobile/node_modules/@shopify/react-native-skia/cpp/skia/include/sksl -I/Users/adamscholz/pdev/naxos/naxos-response-mobile/node_modules/@shopify/react-native-skia/cpp/skia/include/svg -I/Users/adamscholz/pdev/naxos/naxos-response-mobile/node_modules/@shopify/react-native-skia/cpp/skia/include/third_party -I/Users/adamscholz/pdev/naxos/naxos-response-mobile/node_modules/@shopify/react-native-skia/cpp/skia/include/utils -I/Users/adamscholz/pdev/naxos/naxos-response-mobile/node_modules/@shopify/react-native-skia/cpp/skia/modules/skcms -I/Users/adamscholz/pdev/naxos/naxos-response-mobile/node_modules/@shopify/react-native-skia/cpp/skia/modules/skparagraph -I/Users/adamscholz/pdev/naxos/naxos-response-mobile/node_modules/@shopify/react-native-skia/cpp/skia/modules/skresources -I/Users/adamscholz/pdev/naxos/naxos-response-mobile/node_modules/@shopify/react-native-skia/cpp/skia/modules/svg -I/Users/adamscholz/pdev/naxos/naxos-response-mobile/node_modules/@shopify/react-native-skia/cpp/skia/src/core -I/Users/adamscholz/pdev/naxos/naxos-response-mobile/node_modules/@shopify/react-native-skia/cpp/skia/include/gpu/d3d -I/Users/adamscholz/pdev/naxos/naxos-response-mobile/node_modules/@shopify/react-native-skia/cpp/skia/include/gpu/dawn -I/Users/adamscholz/pdev/naxos/naxos-response-mobile/node_modules/@shopify/react-native-skia/cpp/skia/include/gpu/ganesh -I/Users/adamscholz/pdev/naxos/naxos-response-mobile/node_modules/@shopify/react-native-skia/cpp/skia/include/gpu/gl -I/Users/adamscholz/pdev/naxos/naxos-response-mobile/node_modules/@shopify/react-native-skia/cpp/skia/include/gpu/graphite -I/Users/adamscholz/pdev/naxos/naxos-response-mobile/node_modules/@shopify/react-native-skia/cpp/skia/include/gpu/mock -I/Users/adamscholz/pdev/naxos/naxos-response-mobile/node_modules/@shopify/react-native-skia/cpp/skia/include/gpu/mtl -I/Users/adamscholz/pdev/naxos/naxos-response-mobile/node_modules/@shopify/react-native-skia/cpp/skia/include/gpu/vk -I/Users/adamscholz/pdev/naxos/naxos-response-mobile/node_modules/@shopify/react-native-skia/cpp/skia/include/private/base -I/Users/adamscholz/pdev/naxos/naxos-response-mobile/node_modules/@shopify/react-native-skia/cpp/skia/include/private/chromium -I/Users/adamscholz/pdev/naxos/naxos-response-mobile/node_modules/@shopify/react-native-skia/cpp/skia/include/private/gpu -I/Users/adamscholz/pdev/naxos/naxos-response-mobile/node_modules/@shopify/react-native-skia/cpp/skia/include/third_party/vulkan -I/Users/adamscholz/pdev/naxos/naxos-response-mobile/node_modules/@shopify/react-native-skia/cpp/skia/include/utils/mac -I/Users/adamscholz/pdev/naxos/naxos-response-mobile/node_modules/@shopify/react-native-skia/cpp/skia/modules/skcms/src -I/Users/adamscholz/pdev/naxos/naxos-response-mobile/node_modules/@shopify/react-native-skia/cpp/skia/modules/skparagraph/include -I/Users/adamscholz/pdev/naxos/naxos-response-mobile/node_modules/@shopify/react-native-skia/cpp/skia/modules/skresources/include -I/Users/adamscholz/pdev/naxos/naxos-response-mobile/node_modules/@shopify/react-native-skia/cpp/skia/modules/svg/include -I/Users/adamscholz/pdev/naxos/naxos-response-mobile/node_modules/@shopify/react-native-skia/cpp/skia/include/gpu/gl/egl -I/Users/adamscholz/pdev/naxos/naxos-response-mobile/node_modules/@shopify/react-native-skia/cpp/skia/include/gpu/gl/glx -I/Users/adamscholz/pdev/naxos/naxos-response-mobile/node_modules/@shopify/react-native-skia/cpp/skia/include/gpu/graphite/dawn -I/Users/adamscholz/pdev/naxos/naxos-response-mobile/node_modules/@shopify/react-native-skia/cpp/skia/include/gpu/graphite/mtl -I/Users/adamscholz/pdev/naxos/naxos-response-mobile/node_modules/@shopify/react-native-skia/cpp/skia/include/gpu/graphite/vk -I/Users/adamscholz/pdev/naxos/naxos-response-mobile/node_modules/@shopify/react-native-skia/cpp/skia/include/private/gpu/ganesh -I/Users/adamscholz/pdev/naxos/naxos-response-mobile/node_modules/@shopify/react-native-skia/cpp/skia/include/private/gpu/graphite -I/Users/adamscholz/pdev/naxos/naxos-response-mobile/node_modules/@shopify/react-native-skia/cpp/skia/include/private/gpu/vk -I/Users/adamscholz/pdev/naxos/naxos-response-mobile/node_modules/@shopify/react-native-skia/cpp/skia/include/third_party/vulkan/vulkan -I/Users/adamscholz/pdev/naxos/naxos-response-mobile/node_modules/react-native/ReactCommon -I/Users/adamscholz/pdev/naxos/naxos-response-mobile/node_modules/react-native-vision-camera/ios -I/Users/adamscholz/pdev/naxos/naxos-response-mobile/ios/Pods/Headers/Private/React-bridging/react/bridging -I/Users/adamscholz/Library/Developer/Xcode/DerivedData/naxos-assikdtcamslhmeoezmabigzimzk/Build/Products/Debug-iphoneos/React-bridging/react_bridging.framework/Headers -I/Users/adamscholz/Library/Developer/Xcode/DerivedData/naxos-assikdtcamslhmeoezmabigzimzk/Build/Intermediates.noindex/Pods.build/Debug-iphoneos/VisionCamera.build/DerivedSources-normal/arm64 -I/Users/adamscholz/Library/Developer/Xcode/DerivedData/naxos-assikdtcamslhmeoezmabigzimzk/Build/Intermediates.noindex/Pods.build/Debug-iphoneos/VisionCamera.build/DerivedSources/arm64 -I/Users/adamscholz/Library/Developer/Xcode/DerivedData/naxos-assikdtcamslhmeoezmabigzimzk/Build/Intermediates.noindex/Pods.build/Debug-iphoneos/VisionCamera.build/DerivedSources -F/Users/adamscholz/Library/Developer/Xcode/DerivedData/naxos-assikdtcamslhmeoezmabigzimzk/Build/Products/Debug-iphoneos/VisionCamera -F/Users/adamscholz/Library/Developer/Xcode/DerivedData/naxos-assikdtcamslhmeoezmabigzimzk/Build/Products/Debug-iphoneos/DoubleConversion -F/Users/adamscholz/Library/Developer/Xcode/DerivedData/naxos-assikdtcamslhmeoezmabigzimzk/Build/Products/Debug-iphoneos/RCT-Folly -F/Users/adamscholz/Library/Developer/Xcode/DerivedData/naxos-assikdtcamslhmeoezmabigzimzk/Build/Products/Debug-iphoneos/RCTTypeSafety -F/Users/adamscholz/Library/Developer/Xcode/DerivedData/naxos-assikdtcamslhmeoezmabigzimzk/Build/Products/Debug-iphoneos/React-Codegen -F/Users/adamscholz/Library/Developer/Xcode/DerivedData/naxos-assikdtcamslhmeoezmabigzimzk/Build/Products/Debug-iphoneos/React-Core -F/Users/adamscholz/Library/Developer/Xcode/DerivedData/naxos-assikdtcamslhmeoezmabigzimzk/Build/Products/Debug-iphoneos/React-NativeModulesApple -F/Users/adamscholz/Library/Developer/Xcode/DerivedData/naxos-assikdtcamslhmeoezmabigzimzk/Build/Products/Debug-iphoneos/React-RCTAnimation -F/Users/adamscholz/Library/Developer/Xcode/DerivedData/naxos-assikdtcamslhmeoezmabigzimzk/Build/Products/Debug-iphoneos/React-RCTBlob -F/Users/adamscholz/Library/Developer/Xcode/DerivedData/naxos-assikdtcamslhmeoezmabigzimzk/Build/Products/Debug-iphoneos/React-RCTImage -F/Users/adamscholz/Library/Developer/Xcode/DerivedData/naxos-assikdtcamslhmeoezmabigzimzk/Build/Products/Debug-iphoneos/React-RCTLinking -F/Users/adamscholz/Library/Developer/Xcode/DerivedData/naxos-assikdtcamslhmeoezmabigzimzk/Build/Products/Debug-iphoneos/React-RCTNetwork -F/Users/adamscholz/Library/Developer/Xcode/DerivedData/naxos-assikdtcamslhmeoezmabigzimzk/Build/Products/Debug-iphoneos/React-RCTSettings -F/Users/adamscholz/Library/Developer/Xcode/DerivedData/naxos-assikdtcamslhmeoezmabigzimzk/Build/Products/Debug-iphoneos/React-RCTText -F/Users/adamscholz/Library/Developer/Xcode/DerivedData/naxos-assikdtcamslhmeoezmabigzimzk/Build/Products/Debug-iphoneos/React-RCTVibration -F/Users/adamscholz/Library/Developer/Xcode/DerivedData/naxos-assikdtcamslhmeoezmabigzimzk/Build/Products/Debug-iphoneos/React-cxxreact -F/Users/adamscholz/Library/Developer/Xcode/DerivedData/naxos-assikdtcamslhmeoezmabigzimzk/Build/Products/Debug-iphoneos/React-debug -F/Users/adamscholz/Library/Developer/Xcode/DerivedData/naxos-assikdtcamslhmeoezmabigzimzk/Build/Products/Debug-iphoneos/React-hermes -F/Users/adamscholz/Library/Developer/Xcode/DerivedData/naxos-assikdtcamslhmeoezmabigzimzk/Build/Products/Debug-iphoneos/React-jsi -F/Users/adamscholz/Library/Developer/Xcode/DerivedData/naxos-assikdtcamslhmeoezmabigzimzk/Build/Products/Debug-iphoneos/React-jsiexecutor -F/Users/adamscholz/Library/Developer/Xcode/DerivedData/naxos-assikdtcamslhmeoezmabigzimzk/Build/Products/Debug-iphoneos/React-jsinspector -F/Users/adamscholz/Library/Developer/Xcode/DerivedData/naxos-assikdtcamslhmeoezmabigzimzk/Build/Products/Debug-iphoneos/React-logger -F/Users/adamscholz/Library/Developer/Xcode/DerivedData/naxos-assikdtcamslhmeoezmabigzimzk/Build/Products/Debug-iphoneos/React-perflogger -F/Users/adamscholz/Library/Developer/Xcode/DerivedData/naxos-assikdtcamslhmeoezmabigzimzk/Build/Products/Debug-iphoneos/React-utils -F/Users/adamscholz/Library/Developer/Xcode/DerivedData/naxos-assikdtcamslhmeoezmabigzimzk/Build/Products/Debug-iphoneos/ReactCommon -F/Users/adamscholz/Library/Developer/Xcode/DerivedData/naxos-assikdtcamslhmeoezmabigzimzk/Build/Products/Debug-iphoneos/SocketRocket -F/Users/adamscholz/Library/Developer/Xcode/DerivedData/naxos-assikdtcamslhmeoezmabigzimzk/Build/Products/Debug-iphoneos/Yoga -F/Users/adamscholz/Library/Developer/Xcode/DerivedData/naxos-assikdtcamslhmeoezmabigzimzk/Build/Products/Debug-iphoneos/fmt -F/Users/adamscholz/Library/Developer/Xcode/DerivedData/naxos-assikdtcamslhmeoezmabigzimzk/Build/Products/Debug-iphoneos/glog -F/Users/adamscholz/Library/Developer/Xcode/DerivedData/naxos-assikdtcamslhmeoezmabigzimzk/Build/Products/Debug-iphoneos/libevent -F/Users/adamscholz/Library/Developer/Xcode/DerivedData/naxos-assikdtcamslhmeoezmabigzimzk/Build/Products/Debug-iphoneos/react-native-skia -F/Users/adamscholz/Library/Developer/Xcode/DerivedData/naxos-assikdtcamslhmeoezmabigzimzk/Build/Products/Debug-iphoneos/react-native-worklets -F/Users/adamscholz/pdev/naxos/naxos-response-mobile/node_modules/@shopify/react-native-skia/libs/ios -F/Users/adamscholz/pdev/naxos/naxos-response-mobile/ios/Pods/hermes-engine/destroot/Library/Frameworks/universal -F/Users/adamscholz/Library/Developer/Xcode/DerivedData/naxos-assikdtcamslhmeoezmabigzimzk/Build/Products/Debug-iphoneos/XCFrameworkIntermediates/hermes-engine/Pre-built -include /Users/adamscholz/pdev/naxos/naxos-response-mobile/ios/Pods/Target\ Support\ Files/VisionCamera/VisionCamera-prefix.pch -MMD -MT dependencies -MF /Users/adamscholz/Library/Developer/Xcode/DerivedData/naxos-assikdtcamslhmeoezmabigzimzk/Build/Intermediates.noindex/Pods.build/Debug-iphoneos/VisionCamera.build/Objects-normal/arm64/SkiaFrameProcessor.d --serialize-diagnostics /Users/adamscholz/Library/Developer/Xcode/DerivedData/naxos-assikdtcamslhmeoezmabigzimzk/Build/Intermediates.noindex/Pods.build/Debug-iphoneos/VisionCamera.build/Objects-normal/arm64/SkiaFrameProcessor.dia -c /Users/adamscholz/pdev/naxos/naxos-response-mobile/node_modules/react-native-vision-camera/ios/Skia\ Render\ Layer/SkiaFrameProcessor.mm -o /Users/adamscholz/Library/Developer/Xcode/DerivedData/naxos-assikdtcamslhmeoezmabigzimzk/Build/Intermediates.noindex/Pods.build/Debug-iphoneos/VisionCamera.build/Objects-normal/arm64/SkiaFrameProcessor.o -index-unit-output-path /Pods.build/Debug-iphoneos/VisionCamera.build/Objects-normal/arm64/SkiaFrameProcessor.o

In file included from /Users/adamscholz/pdev/naxos/naxos-response-mobile/node_modules/react-native-vision-camera/ios/Skia Render Layer/SkiaFrameProcessor.mm:10:
In file included from /Users/adamscholz/pdev/naxos/naxos-response-mobile/node_modules/react-native-vision-camera/ios/Skia Render Layer/SkiaFrameProcessor.h:12:
/Users/adamscholz/pdev/naxos/naxos-response-mobile/node_modules/react-native-vision-camera/ios/Frame Processor/FrameProcessor.h:18:9: fatal error: 'FrameHostObject.h' file not found
#import "FrameHostObject.h"
        ^~~~~~~~~~~~~~~~~~~
1 error generated.

/Users/adamscholz/pdev/naxos/naxos-response-mobile/node_modules/react-native-vision-camera/ios/Frame Processor/FrameProcessor.h:18:9: 'FrameHostObject.h' file not found

Build failed    8/5/23, 10:26 AM    137.5 seconds


### Device

simulator or live iPhone XR

### VisionCamera Version

v3.0.0-rc4

### Additional information

- [ ] I am using Expo
- [X] I have read the [Troubleshooting Guide](https://react-native-vision-camera.com/docs/guides/troubleshooting)
- [X] I agree to follow this project's [Code of Conduct](https://github.com/mrousavy/react-native-vision-camera/blob/main/CODE_OF_CONDUCT.md)
- [X] I searched for [similar issues in this repository](https://github.com/mrousavy/react-native-vision-camera/issues) and found none.
ghost commented 1 year ago

I have issue like this Failed to install Frame Processor JSI bindings!

how can I fix it?

ascholz81 commented 1 year ago

I was able to get around this issue and the next "not found" by adding the following to my podfile

    # needed for react-native-vision-camera https://github.com/mrousavy/react-native-vision-camera/issues/1413#issuecomment-1604205944
    installer.pods_project.targets.each do |target|
      target.build_configurations.each do |config|
        config.build_settings['HEADER_SEARCH_PATHS'] ||= '$(inherited) '
        config.build_settings['HEADER_SEARCH_PATHS'] << '"${PODS_ROOT}/../../node_modules/react-native/ReactCommon" '
        config.build_settings['HEADER_SEARCH_PATHS'] << '"${PODS_ROOT}/../../node_modules/react-native-vision-camera/ios" '
        config.build_settings['HEADER_SEARCH_PATHS'] << '"${PODS_ROOT}/../../node_modules/react-native-vision-camera/ios/Frame Processor" '
        config.build_settings['HEADER_SEARCH_PATHS'] << '"${PODS_ROOT}/../../node_modules/react-native-skia/cpp/api/third_party" '
      end
    end

However, I still have a build error in another file that I can't get around.
Screenshot 2023-08-19 at 2 06 39 PM

That file is "react-native-vision-camera/ios/Skia Render Layer/SkiaRenderContext.h"

pyc92 commented 1 year ago

I have issue like this Failed to install Frame Processor JSI bindings!

how can I fix it?

same here

dahlmo commented 1 year ago

The "Failed to install Frame Processor JSI bindings!" error seems to be resolved in rc.8 (link). Recommend to always check if there's a newer RC out before reporting @pyc92 .

mrousavy commented 1 year ago

Closing as this is a stale issue - this might have been fixed with the full rewrite in VisionCamera V3 (🥳) - if not, please create a new issue.

If your issue has been fixed, consider sponsoring me on GitHub to say thanks 💖