Skip to content

Error when updating to xcode 15 #501

@willmoreira

Description

@willmoreira

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions