# Library not found for -lBabylonNative in iOS Xcode

**URL:** <https://forum.babylonjs.com/t/library-not-found-for-lbabylonnative-in-ios-xcode/26215>\
**Category:** Questions\
**Created:** [December 21, 2021, 7:46am UTC](https://forum.babylonjs.com/t/library-not-found-for-lbabylonnative-in-ios-xcode/26215 "2021-12-21T07:46:10Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![AlanSmithGit](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/alansmithgit/32/20714_2.png) [@AlanSmithGit](https://forum.babylonjs.com/u/AlanSmithGit)\
**Post date:** [December 21, 2021, 7:46am UTC](https://forum.babylonjs.com/t/library-not-found-for-lbabylonnative-in-ios-xcode/26215/1 "2021-12-21T07:46:10Z")

</div>

Followed the instructions on [GitHub - BabylonJS/BabylonReactNative: Build React Native applications with the power of Babylon Native](https://github.com/BabylonJS/BabylonReactNative) 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) "

---

<div class="post-metadata">

**Author:** ![sebavan](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/sebavan/32/57_2.png) [@sebavan](https://forum.babylonjs.com/u/sebavan)\
**Post date:** [December 21, 2021, 10:48am UTC](https://forum.babylonjs.com/t/library-not-found-for-lbabylonnative-in-ios-xcode/26215/2 "2021-12-21T10:48:09Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![AlanSmithGit](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/alansmithgit/32/20714_2.png) [@AlanSmithGit](https://forum.babylonjs.com/u/AlanSmithGit)\
**Post date:** [December 21, 2021, 12:59pm UTC](https://forum.babylonjs.com/t/library-not-found-for-lbabylonnative-in-ios-xcode/26215/3 "2021-12-21T12:59:19Z")

</div>

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.
