Replies: 1 comment 2 replies
-
|
Hi @arsnyan, I'm not able to reproduce crashing of the app when using SQLiteData, so if you can provide a project that demonstrates that we will happily look into it. The linking problems you are seeing when building for tests is unfortunately a longstanding issue in Xcode where one cannot link to both a library (e.g. SQLiteData) and its test support library (e.g. SQLiteDataTestSupport). It should work just fine in an SPM package though. We should probably write some docs about this. And then finally, as for long indexing times in Xcode. I don't think there is anything we can do in our library to remedy this. I recommend you file a feedback with Apple. |
Beta Was this translation helpful? Give feedback.

Uh oh!
There was an error while loading. Please reload this page.
-
Hi!
I'm trying to start using SQLiteData in a freshly made project and I can't run tests and sometimes (seemingly) the app crashes right after launching on a simulator.


These are the errors that show when I try to run a test suite:
The suit itself doesn't seem to matter. This is my project settings for testing target:
SQLiteDataTestSupport is also in the "Link binary with libraries" under Build Phases.
For my app target, just yesterday my app crashed when I ran it with this in logs:
Today it's not crashing (which is weird cause I didn't change a thing), but it logs this:
And here's a screenshot of app target settings:

As you can see, it's indexing (processing files) and it's been this way for more than an two hours on my MBP M4 Pro 24 GB machine just yesterday.
Here's what I tried for my Test target:
For the app target I did try to clean my DerivedData folder, but I did it multiple times and today I haven't done anything. It just worked all of a sudden, although logs state that there's a duplicate and it makes me think the issue is still there, it just that right now it happened to load the correct version.
Any help will be appreciated, honestly I don't understand anything in the logs and in the error tab.
Beta Was this translation helpful? Give feedback.
All reactions