OP-Engineering/op-sqlite

Fail to build ios for 5.0.5 lib version

Closed this issue · 4 comments

Describe the bug
I am not able to build expo app with 5.0.5
https://github.com/Volland/op-sql-db-version-ios/tree/main

Versions:

  • OS and version: iOS 17
  • op-sqlite version: 5.0.5
  • RN version: 0.73.6
  • New Architecture: Yes

Reproducible example
Follow repo https://github.com/Volland/op-sql-db-version-ios/tree/main

Error :
error: Error Domain=NSCocoaErrorDomain Code=4 "The file “clang” doesn’t exist." UserInfo={NSFilePath=/usr/local/opt/llvm/bin/clang}

❌ error: Error Domain=NSCocoaErrorDomain Code=4 "The file “clang” doesn’t exist." UserInfo={NSFilePath=/usr/local/opt/llvm/bin/clang}

❌ error: Error Domain=NSCocoaErrorDomain Code=4 "The file “clang” doesn’t exist." UserInfo={NSFilePath=/usr/local/opt/llvm/bin/clang}

❌ error: Error Domain=NSCocoaErrorDomain Code=4 "The file “clang” doesn’t exist." UserInfo={NSFilePath=/usr/local/opt/llvm/bin/clang}

Seems to be compiling fine for me

CleanShot 2024-04-23 at 09 33 09@2x

Your repo seemed to be missing the op-sqlite dependency. But even after I added it and did a pod-install everything is compiling.

CleanShot 2024-04-23 at 09 35 31@2x

@ospfranco i found issue . I use Cozodb in a project that uses SQLite, too, and I don't know how it influences the version of SQLite that Op Library is using. it is reproducing only for ios . if you have any idea why . let me know but for regular user I it is not a issue

No idea. You are better off asking in StackOverflow buddy