I'm using SQLite for the extension in an app.
Everything work fine in Simulator, but error has occurred when i run the app in my device.
dyld: Library not loaded: @rpath/SQLite.framework/SQLite Referenced from: /private/var/mobile/Containers/Bundle/Application/898AED60-6F5F-482C-83FC-A55655599429/*.app/PlugIns/*.appex/* Reason: image not found
error: make directory /Users/*/Library/Developer/Xcode/DerivedData/*-dlklrcpbpykobgbkaophrsrhssxr/Build/Products/Debug-iphonesimulator/*.appex/Frameworks/SQLite.framework: File exists
I've get rid of this error by add framework to the
Copy files section in extension, but also remove the framework in
Linked framework and Libraries to avoid this error.