всем привет !
Подскажите пожалуйста что делать . В конце у рока я компилирую и все компилируется но когда нажимаю кнопку сохранить все падает . Начал искать ошибку и не нашел решил все заново написать . И опять на том-же месте все падает , вот что пишет.
2016-03-16 19:43:03.573 CoreDataDemo[9080:1372284] the behavior of the UICollectionViewFlowLayout is not defined because:
2016-03-16 19:43:03.574 CoreDataDemo[9080:1372284] the item height must be less than the height of the UICollectionView minus the section insets top and bottom values, minus the content insets top and bottom values.
2016-03-16 19:43:03.574 CoreDataDemo[9080:1372284] The relevant UICollectionViewFlowLayout instance is <_UIAlertControllerCollectionViewFlowLayout: 0x7f993b636bd0>, and it is attached to <UICollectionView: 0x7f993d004000; frame = (0 120.667; 270 44); clipsToBounds = YES; gestureRecognizers = <NSArray: 0x7f993b6378c0>; layer = <CALayer: 0x7f993b6371f0>; contentOffset: {0, 0}; contentSize: {0, 0}> collection view layout: <_UIAlertControllerCollectionViewFlowLayout: 0x7f993b636bd0>.
2016-03-16 19:43:03.575 CoreDataDemo[9080:1372284] Make a symbolic breakpoint at UICollectionViewFlowLayoutBreakForInvalidSizes to catch this in the debugger.
2016-03-16 19:43:17.780 CoreDataDemo[9080:1372284] CoreData: error: -addPersistentStoreWithType:SQLite configuration:(null) URL:file:///Users/arsenkhachukov/Library/Developer/CoreSimulator/Devices/51EF1CEA-2ECD-4234-A5AE-4F98C1003C78/data/Containers/Data/Application/62F7438A-B2B8-4E45-8BF9-3A4365A01058/Documents/SingleViewCoreData.sqlite options:(null) … returned error Error Domain=NSCocoaErrorDomain Code=134100 “(null)” UserInfo={metadata={
NSPersistenceFrameworkVersion = 641;
NSStoreModelVersionHashes = {
Car = <cd7f1ca6 8062cd7b 7e044b40 e04ed73e 165af4b6 73cc79db b6141593 43367a7d>;
Entity1 = <42ff7ced 97937a31 cbbbcad0 89013069 d4c35497 a7fb9df9 6932a0cb 875ff560>;
};
NSStoreModelVersionHashesVersion = 3;
NSStoreModelVersionIdentifiers = (
""
);
NSStoreType = SQLite;
NSStoreUUID = "6F48A1E3-8579-4428-A4C7-8B909C851660";
"_NSAutoVacuumLevel" = 2;
}, reason=The model used to open the store is incompatible with the one used to create the store} with userInfo dictionary {
metadata = {
NSPersistenceFrameworkVersion = 641;
NSStoreModelVersionHashes = {
Car = <cd7f1ca6 8062cd7b 7e044b40 e04ed73e 165af4b6 73cc79db b6141593 43367a7d>;
Entity1 = <42ff7ced 97937a31 cbbbcad0 89013069 d4c35497 a7fb9df9 6932a0cb 875ff560>;
};
NSStoreModelVersionHashesVersion = 3;
NSStoreModelVersionIdentifiers = (
""
);
NSStoreType = SQLite;
NSStoreUUID = "6F48A1E3-8579-4428-A4C7-8B909C851660";
"_NSAutoVacuumLevel" = 2;
};
reason = "The model used to open the store is incompatible with the one used to create the store";
}
2016-03-16 19:43:17.782 CoreDataDemo[9080:1372284] Unresolved error Error Domain=YOUR_ERROR_DOMAIN Code=9999 “Failed to initialize the application’s saved data” UserInfo={NSLocalizedDescription=Failed to initialize the application’s saved data, NSLocalizedFailureReason=There was an error creating or loading the application’s saved data., NSUnderlyingError=0x7f993c95caf0 {Error Domain=NSCocoaErrorDomain Code=134100 “(null)” UserInfo={metadata={
NSPersistenceFrameworkVersion = 641;
NSStoreModelVersionHashes = {
Car = <cd7f1ca6 8062cd7b 7e044b40 e04ed73e 165af4b6 73cc79db b6141593 43367a7d>;
Entity1 = <42ff7ced 97937a31 cbbbcad0 89013069 d4c35497 a7fb9df9 6932a0cb 875ff560>;
};
NSStoreModelVersionHashesVersion = 3;
NSStoreModelVersionIdentifiers = (
""
);
NSStoreType = SQLite;
NSStoreUUID = "6F48A1E3-8579-4428-A4C7-8B909C851660";
"_NSAutoVacuumLevel" = 2;
}, reason=The model used to open the store is incompatible with the one used to create the store}}}, [NSLocalizedDescription: Failed to initialize the application’s saved data, NSLocalizedFailureReason: There was an error creating or loading the application’s saved data., NSUnderlyingError: Error Domain=NSCocoaErrorDomain Code=134100 “(null)” UserInfo={metadata={
NSPersistenceFrameworkVersion = 641;
NSStoreModelVersionHashes = {
Car = <cd7f1ca6 8062cd7b 7e044b40 e04ed73e 165af4b6 73cc79db b6141593 43367a7d>;
Entity1 = <42ff7ced 97937a31 cbbbcad0 89013069 d4c35497 a7fb9df9 6932a0cb 875ff560>;
};
NSStoreModelVersionHashesVersion = 3;
NSStoreModelVersionIdentifiers = (
""
);
NSStoreType = SQLite;
NSStoreUUID = "6F48A1E3-8579-4428-A4C7-8B909C851660";
"_NSAutoVacuumLevel" = 2;
}, reason=The model used to open the store is incompatible with the one used to create the store}]