Library not found for -lBabylonNative in iOS Xcode

Followed the instructions on GitHub - BabylonJS/BabylonReactNative: Build React Native applications with the power of Babylon Native to run the playground app but after I run the " npm run ios " I get the the error " error Failed to build iOS project. We ran “xcodebuild” command but it exited with error code 65. "

and when I open Playground.xcworkspace directly in the Xcode 12.5.1 and build I get the error:
" ld: library not found for -lBabylonNative

clang: error: linker command failed with exit code 1 (use -v to see invocation) "

Adding @DarraghBurke who might be able to help with the native part.

1 Like

Thanks @sebavan but I was able to solve the issue.
Just in case if any one faces the same issue , heres the reason and solution : The issue was with CMake . so I installed the cmake through brew and then just build the iOS build and it started working. Due to cmake issue the ReactNativeBabylon.xcodeproject was missing in the project.

3 Likes