error Swift 0_pthread_kill

Asked

Viewed 65 times

0

Good afternoon friends.

I am trying to make a COREDATA SELECT because I am having the following error:

2016-01-29 13:08:39.648 epicGames[2049:1579473] * Terminating app due to uncaught Exception 'Nsinternalinconsistencyexception', Report: 'Nsfetchrequest could not locate an Nsentitydescription for Entity name 'wordEasy'' * First throw call stack: ( 0 Corefoundation 0x000000010ecee795 exceptionPreprocess + 165 1 libobjc.A.dylib
0x0000000110a77deb objc_exception_throw + 48 2 Coredata
0x000000010e4f3caa -[Nsfetchrequest(_Nsinternalmethods) _resolveEntityWithContext:] + 426 3 Coredata 0x000000010e4f2896 -[Nsmanagedobjectcontext executeFetchRequest:error:] + 150 4 epicGames
0x000000010e3e7838 _TFFC9epicGames11jogoDaForca18CaptureMensageJsonFS0_FT_T_U_FTGSqCSo6NSData_GSqCSo13NSURLResponse_GSqCSo7NSError__T_ + 4712 5 epicGames 0x000000010e3e7c4a _Ttrxfo_ogsqcso6nsdata_ogsqcso13nsurlresponse_ogsqcso7nserror__dt__xfdcb_dgsqs__dgsqs0__dgsqs1___dt
+ 90 6 CFNetwork 0x0000000111ca8a41 75-[__Nsurlsessionlocal taskForClass:request:uploadFile:bodyData:Completion:]_block_invoke + 19 7 CFNetwork 0x0000000111cbad96 __49-[__Nscflocalsessiontask _task_onqueue_didFinish]_block_invoke + 302 8 Foundation 0x000000010f166cec __NSBLOCKOPERATION_IS_CALLING_OUT_TO_A_BLOCK + 7 9 Foundation 0x000000010f0a1e35 -[Nsblockoperation main] + 101 10 Foundation
0x000000010f084dc5 -[__Nsoperationinternal _start:] + 646 11 Foundation 0x000000010f0849d6 __Nsoqschedule_f + 194 12 libdispatch.dylib 0x00000001124483eb _dispatch_client_callout + 8 13 libdispatch.dylib 0x000000011242e82c _dispatch_queue_drain + 2215 14 libdispatch.dylib 0x000000011242dd4d _dispatch_queue_invoke + 601 15 libdispatch.dylib 0x0000000112430996 _dispatch_root_queue_drain + 1420 16 libdispatch.dylib 0x0000000112430405 _dispatch_worker_thread3 + 111 17 libsystem_pthread.dylib 0x000000011279c68f _pthread_wqthread + 1129 18 libsystem_pthread.dylib 0x000000011279a365 start_wqthread + 13 ) libc++Abi.dylib: terminating with uncaught Exception of type Nsexception (lldb)

inserir a descrição da imagem aqui

1 answer

0

Reason: 'Nsfetchrequest could not locate an Nsentitydescription for Entity name 'wordEasy''

This means that the Entity with the name has not been found wordEasy on your . xdatamodel

You can try to check some possible sources of this error:

Print all the names of the entities you have:

let entities = managedObjectModel.entitiesByName
print("entidades: \(entities.allKeys)")

Check if you are loading the correct model, because after upgrading the model with new entities you may still be loading the old model

Check whether the Target Membership xcdatamodel file is targeting your project target

inserir a descrição da imagem aqui

  • our unfortunately the problem has not yet solved what it will be that can be?

Browser other questions tagged

You are not signed in. Login or sign up in order to post.