boltcode-js / react-native-sqlite-storage

Full featured SQLite3 Native Plugin for React Native (Android and iOS)
MIT License
6 stars 0 forks source link

iOS build fails: ../../sqlite/sqlite-amalgamation/sqlite3.h' file not found #2

Open 386sx opened 4 months ago

386sx commented 4 months ago

iOS build fails

Expected Behavior

it should build

Current Behavior

iOS build fails with the error /node_modules/@boltcode/react-native-sqlite-storage/platforms/ios/SQLite.m:36:10 '../../sqlite/sqlite-amalgamation/sqlite3.h' file not found

Steps to Reproduce (for bugs)

npm i @boltcode/react-native-sqlite-storage open xcode, build

Context

I purged all dev-related data, pods, derived data etc.

Your Environment

Debug logs

/node_modules/@boltcode/react-native-sqlite-storage/platforms/ios/SQLite.m:36:10 '../../sqlite/sqlite-amalgamation/sqlite3.h' file not found

Technickster commented 3 months ago

Its not adding the libraries when installing the package. I ended up having to manually put them in. I am sure there is a way to do it automatically but this was the quickest way for me