Closed ospfranco closed 10 months ago
@ospfranco Hi, after updating to 2.0.15 I get Use of undeclared identifier 'sqlite3_enable_load_extension'
and Use of undeclared identifier 'sqlite3_load_extension'
on iOS on the bridge
:
I'm using rn 0.73.2 and iOS 17.2 on Xcode 15.2
Are you using the Phone embedded sqlite or any flags? Have you cleared your Build Cache?
Not embedded, no special flags on pod install. I have cleaned the Product and Derived Data. Downgrading to 2.0.13 works as a charm.
Just created a new expo project and installed 2.0.15 and it is compiling without issues. Maybe you can create a reproduction repo. (The failed builds had to do with my node setup and not with the compilation of the app itself)
Thank you for looking into this. I created an empty bare react-native project with expo-modules-core (that's what I do in current app) and it compiled just fine.
What I've tried:
pod deintegrate
pod install
Cannot get it to compile.
Tried with OP_SQLITE_USE_PHONE_VERSION=1 npx pod-install
and the same error pops.
This is my Podfile:
It seems it does not like use_frameworks! :linkage => :static
. I updated the repro repo Podfile to include it and it breaks.
static linkage is needed because of react-native-firebase
.
this is a repro repo: https://github.com/efstathiosntonas/bare-react-native-expo-svg-transformer-issue , I had created it a while ago for a bug on react-native-svg-transformer so just ignore that.
That's weird, considering the source files are compiled with the rest of the code. Please create a new issue and I will take a look when I can although the use framework issues are usually not fixable.
@ospfranco done, linked issue: https://github.com/OP-Engineering/op-sqlite/issues/42
Previous PR had messed up branches. See for reference. https://github.com/OP-Engineering/op-sqlite/pull/38