Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error when updating to xcode 15 #501

Open
willmoreira opened this issue Apr 4, 2024 · 1 comment
Open

Error when updating to xcode 15 #501

willmoreira opened this issue Apr 4, 2024 · 1 comment

Comments

@willmoreira
Copy link

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
Copy link
Owner

Can you isolate the issue in a smaller project?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants