Comments (13)
I'm not sure what's causing this. Maybe a permissions issue on the folder? Can you run fine on a real device?
I would open an issue on https://github.com/stephencelis/SQLite.swift, as the error is triggered by this third-party dependency.
from swift-toolkit.
The above error is I have runned it on iPad
from swift-toolkit.
in addition I run test app. by Carthage making , replace my own bundle id of "org.readium.TestApp",
I find that it run crush on device when launching with。another error. "unable to open database file"
and find some answer
https://stackoverflow.com/questions/77206338/xcode-15-ios-17-objc3422-class-ttc6sqlite-is-implemented-in-both-one-o
from swift-toolkit.
This looks like the same error but in a different context : in the Test App SQLite database with the GRDB dependency instead of SQLite.swift.
I do have the same warnings about _TtC6SQLite*
symbols, I don't know if this is the culprit for the crash you observe, but it is definitely concerning with the StackOverflow link you shared.
There's another relevant SQLite.swift issue reported there: stephencelis/SQLite.swift#1177
I think this will increase the priority of a task that was postponed: removing the SQLite database from the ReadiumLCP
package, for the v3
.
Unfortunately I don't have any solution to offer right now.
from swift-toolkit.
Just for debugging purposes, do you still have the same crash if you don't enable LCP in the Test App and your app? ReadiumLCP
is the only package that depend on SQLite.swift
.
from swift-toolkit.
I find that test app run successfully in simulator but crush in device,
here is the key point
there. is no database.dbfile file to init with Appmodel class ,
from swift-toolkit.
I intergate LCP to my own app,app run successfully,but when I use some lcp class,it crush!
when I new a class extend DRMLibraryService,run in device. and new that class it also crush without daabase.db file
from swift-toolkit.
If you remove LCP in the Test App (generate with make dev
for example, without using the lcp=
parameter), are you able to run the app without crash on your device?
I want to know if the problem is triggered by embedding SQLite.swift
in the toolkit.
from swift-toolkit.
I make by Carthage
here is my operation
Run only”make carthage” instead of “make carthage lcp=https://lixxx/ios/XX/liblcp.json”
found that test app without LCPClient also crush in device
from swift-toolkit.
Hmm okay, then I'm not sure it's related to the StackOverflow you shared earlier. Besides something weird with your device, I don't have a better idea.
from swift-toolkit.
I have intergated to my app run successfully and open lcpl format file to read in simulator but faile d in device with the above problem
from swift-toolkit.
from swift-toolkit.
I removed the SQLite.swift dependency from the ReadiumLCP
package in #442. Hopefully this will allow apps to circumvent any issues integrating SQLite.swift by implementing a different repository.
from swift-toolkit.
Related Issues (20)
- Nondeterministic loading issue with `EPUBNavigatorViewController` HOT 2
- [Feature] Add support for new LCP Profiles
- Logic behind the selected text information for remote server HOT 2
- Pagination after increasing the font size HOT 4
- [Bug] EditingActions like Define Lookup are not shown. HOT 1
- [develop] Locator href for exploded archive audiobook incorrectly starts with leading slash HOT 2
- [develop] Opening exploded archive audiobook inside App Group fails with `Publication.OpeningError.unsupportedFormat` in (Designed for iPad) Mac app HOT 9
- [Bug] Search Result Chapter Title HOT 6
- lcpl file which is pub format can't be open by publication.metadata.identifier is nil HOT 6
- `Navigator.go` results in misaligned view HOT 9
- [Bug] iOS Reader Search crashed with 4-5 character HOT 1
- [Bug] Expression is 'async' but is not marked with 'await' HOT 1
- iOS Text to Speech feature crashing HOT 1
- [Documentation] Locator -> Location -> progression and totalProgression properties calculation
- PDF in landscape mode HOT 1
- [Bug] iOS 17: Unable to add any `EditingAction`s to the selection menu HOT 3
- Does readium provide CFI of epub HOT 1
- [Bug] Text alignment setting doesn't work on some epubs. HOT 1
- [Bug] progress doesn't change after changing text size
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 swift-toolkit.