I have some code that fetches entity model data in core-data, but when I built or debug in a simulator or phone the result will have
Thread 39: EXC_BREAKPOINT (code=1, subcode=0x1afa582ec)
and it is stopped at line 6 in the code bellow
let context = self.managedObjectContext
let fetchRequest: NSFetchRequestSomeEntityModel = SomeEntityModel.fetchRequest()
fetchRequest.predicate = NSPredicate(format: "id=%@", "001")
let fetchResult = try context.fetch(fetchRequest)
but, if I stop the debug, and run the app, not in the Xcode, the feature that develops those codes didn't stop, and it is running fine.
Does anyone have a solution to why this happens?
Post
Replies
Boosts
Views
Activity
it is possible to make a change of our app icon where the image is from outside the Xcode that we must download first from the URL?