Comments (1)
Little update
From my understanding there are, for the moment, no straight forward solution to this problem.
I found 3 possibilities :
- Fork the pod that is using the builtin sqlite and make it use the sql from the pod, like that (for me, forking a pod dependency was a real pain, I didn't even succeed to link it properly in my ios project)
- Work on the pod that is using the builtin sqlite and propose a solution like SQLite.swift (thanks simolus3). So, to add a standalone subspec that use sqlite3 from the pod and not from the builtin system (like this)
- Patch the pod that is using the sqlite3 from the pod (here expo-updates), and make it use a sqlite version that is aligned with the sqlite system version.
You can find the sqlite system version inside/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator17.5.sdk/usr/include/sqlite3.h
you will have something like this
#define SQLITE_VERSION "3.43.2"
#define SQLITE_VERSION_NUMBER 3043002
#define SQLITE_SOURCE_ID "2023-10-10 13:08:14 1b37c146ee9ebb7acd0160c0ab1fd11017a419fa8a3187386ed8cb32b709aapl"
For me, I'm using the last solution to patch expo-updates, my patch look like this
expo-updates+0.25.20.patch
diff --git a/node_modules/expo-updates/ios/EXUpdates.podspec b/node_modules/expo-updates/ios/EXUpdates.podspec
index 92aacaa..407d744 100644
--- a/node_modules/expo-updates/ios/EXUpdates.podspec
+++ b/node_modules/expo-updates/ios/EXUpdates.podspec
@@ -28,7 +28,7 @@ Pod::Spec.new do |s|
s.dependency 'EXManifests'
s.dependency 'EASClient'
s.dependency 'ReachabilitySwift'
- s.dependency 'sqlite3', '~> 3.45.3+1'
+ s.dependency 'sqlite3', '3.43.1'
unless defined?(install_modules_dependencies)
# `install_modules_dependencies` is defined from react_native_pods.rb.
It can be dangerous because you'll miss features of the newest sqlite version but in this case and from my understanding, only expo-sqlite are using it, and since I'll not use it'll be fine
Sorry for all this infos, but I wanted to documente everything because this is a complex subject and I'm very surprised that it is not a common issue. Sometimes, I'm thinking that maybe I'm missing something....
from expo.
Related Issues (20)
- [expo-av audio] Unable to make an audio recording with a sampling frequency lower than the microphone's default frequency on iOS
- Dev launcher tries connecting to dev server while running an expo update
- websocket connection fail between appwrite realtime service and expo web HOT 3
- headerLeft option not working for Stack when presentation is 'modal'
- printToFileAsync not resolving when triggered multiple time in android HOT 1
- Accept generic type parameters for Expo API Routes HOT 1
- Tabs broken in latest expo router with array syntax screens
- Update your target API level 34 HOT 1
- SplashScreen is automatically dismissed in development client HOT 3
- Android/IOS Store build fail when using alias path HOT 4
- [expo-notifications] FCMv1 payload structure should be simplified HOT 1
- Expo CMAKE LONG PATH ERROR HOT 1
- expo-camera not working HOT 1
- [expo-local-authentication] Android: crash when setting disableDeviceFallback to true (unless cancelLabel is set) HOT 1
- expo-image-picker crashing, no errors thrown In IOS 17.5 HOT 2
- expo-image-picker crashing, no errors thrown In IOS 17.5 HOT 1
- expo-image-picker crashing, no errors thrown In IOS 17.5 HOT 2
- The --no-bundler flag throws errors
- Motion permission on IOS has status granted but is not granted
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from expo.