以下のコードステートメントを宣言しているときに、なぜこのエラーが発生するのですか?
宣言されていない識別子の使用'NSMigratePersistentStoresAutomaticallyOption'
NSDictionary *options = [NSDictionary dictionaryWithObjectsAndKeys: [NSNumber numberWithBool:YES], NSMigratePersistentStoresAutomaticallyOption, [NSNumber numberWithBool:YES], NSInferMappingModelAutomaticallyOption, nil];
これでNSMigratePersistentStoresAutomaticallyOption定数を認識できるようにするために何が欠けていますか?
ありがとう、
マイク