mirror of
https://github.com/JohnEstropia/CoreStore.git
synced 2026-01-12 04:10:36 +01:00
Error when updating to xcode 15 #429
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @willmoreira on GitHub (Apr 4, 2024).
Error when updating to xcode 15, I use the CoreStore lib in version 7.3.1 with Xcode 14.3 in my project, when I upgrade the version to xcode 15 in debug it doesn't run and gives the error Command SwiftCompile failed with a nonzero exit code, in release mode it runs normally.
When I update to version 9.2.0 of the library and xcode 15, minimum target iOS version 13 I have this error in this method
#if swift(>=5.9)
return unsafeDowncast(object, to: self) //crash
#else
// unsafeDowncast fails debug assertion starting Swift 5.2
return _unsafeUncheckedDowncast(object, to: self)
#endif
I have the CoreStore 9.2.0 lib and in this code snippet it breaks, before it didn't break
Thread 1: Fatal error: invalid unsafeDowncast this is the error
I'm worried because I can't run debug version 7.3.1 with xcode 15, and when I raise the lib version to 9.0.0 or higher it breaks when trying to create an object
@JohnEstropia commented on GitHub (Apr 5, 2024):
Can you isolate the issue in a smaller project?