We have a coredata entity named User with the schema as below -
name String,
aliases Transformable
Note: aliases is an String array.
The fetch code is like this -
let request = NSFetchRequest.init(entityName:"User")
userDetails = try self.viewContext.fetch(request) as? [User]
The fetch request is intermittently crashing with the below errors -
Fatal error: NSArray element failed to match the Swift Array Element type
Expected UserProfile but found _NSCoreTypesetterLayoutCache
Fatal error: NSArrav element failed to match the Swift Arrav Element tvpe
Expected NSFetchRequestResult but found NSAsynchronousFetchResult
Please let me know if anyone has any suggestions.
Post
Replies
Boosts
Views
Activity
I've recently upgraded to MAC OS 14.5 and Xcode 15.3. My iOS project which was running properly on earlier Xcode versions started failing when I run archive command from command line tools. Still able to archive properly from Xcode directly.
The error is /Users/buildbot/buildslave/ws/scp-macos-builder/build/Release/analysis/Source/narwhal-utils/ProgUtils.cpp(519): exception 60003 Executable failed
Please let me know if anyone of you have faced the similar issue.