내 앱에 두 개의 tableView가 있는데 두 사용자 모두에 개체를 추가 할 수 있어야합니다. 하나의 tableView로 잘 작동합니다 (하나의 coreData 만 있습니다 엔티티). 그러나 다른 엔터티를 추가하고 하나의 tableView와 동일한 작업을 수행하면 xcode에서 오류를 표시합니다. 나는 시간이 문제를 해결하기 위해 노력했습니다CoreData- 두 엔티티가있는 프로젝트
Unresolved error Error Domain=NSCocoaErrorDomain Code=134100 "The operation couldn’t be completed. (Cocoa error 134100.)" UserInfo=0x10333d80 {metadata={
NSPersistenceFrameworkVersion = 419;
NSStoreModelVersionHashes = {
Buy = <883135e4 2884b0ed 4bb8fc1c 7d56c229 fbae3090 91be719d 73ac5d66 65e70b18>;
};
NSStoreModelVersionHashesVersion = 3;
NSStoreModelVersionIdentifiers = (
""
);
NSStoreType = SQLite;
NSStoreUUID = "...";
"_NSAutoVacuumLevel" = 2;
}, reason=The model used to open the store is incompatible with the one used to create the store}, {
metadata = {
NSPersistenceFrameworkVersion = 419;
NSStoreModelVersionHashes = {
Buy = <883135e4 2884b0ed 4bb8fc1c 7d56c229 fbae3090 91be719d 73ac5d66 65e70b18>;
};
NSStoreModelVersionHashesVersion = 3;
NSStoreModelVersionIdentifiers = (
""
);
NSStoreType = SQLite;
NSStoreUUID = "...";
"_NSAutoVacuumLevel" = 2;
};
reason = "The model used to open the store is incompatible with the one used to create the store";
}
(lldb)
, 그러나 나는 처음과 두 번째있는 tableView에서 같은 일을했다 :
출력이다.
누군가 나를 도울 수 있습니다. 당신이 당신의 모델을 설계 할 때 advancen
"저장소를 여는 데 사용한 모델이 호환되지 않습니다 ..."오류 메시지가 검색 되었습니까? 몇 가지 안타가 있어야합니다 ... –