aksonov / react-native-xmpp

XMPP library for React Native (iOS and Android native support)
BSD 2-Clause "Simplified" License
308 stars 98 forks source link

Could not determine generated file paths for Core Data code generation #91

Closed kasran15 closed 6 years ago

kasran15 commented 6 years ago

Version: 1.0.3

Getting the following error while building

Could not determine generated file paths for Core Data code generation: Error Domain=com.apple.dt.ModelingTools Code=1 "Error, failed to read Core Data data model from {proj}/node_modules/react-native-xmpp/XMPPFramework/Extensions/XEP-0115/CoreDataStorage/XMPPCapabilities.xcdatamodel: unknown model format" UserInfo={NSFilePath={proj}/node_modules/react-native-xmpp/XMPPFramework/Extensions/XEP-0115/CoreDataStorage/XMPPCapabilities.xcdatamodel, NSLocalizedDescription=Error, failed to read Core Data data model from {proj}/node_modules/react-native-xmpp/XMPPFramework/Extensions/XEP-0115/CoreDataStorage/XMPPCapabilities.xcdatamodel: unknown model format} Could not determine generated file paths for Core Data code generation: Error Domain=com.apple.dt.ModelingTools Code=1 "Error, failed to read Core Data data model from {proj}/node_modules/react-native-xmpp/XMPPFramework/Extensions/Roster/CoreDataStorage/XMPPRoster.xcdatamodel: unknown model format" UserInfo={NSFilePath={proj}/node_modules/react-native-xmpp/XMPPFramework/Extensions/Roster/CoreDataStorage/XMPPRoster.xcdatamodel, NSLocalizedDescription=Error, failed to read Core Data data model from {proj}/node_modules/react-native-xmpp/XMPPFramework/Extensions/Roster/CoreDataStorage/XMPPRoster.xcdatamodel: unknown model format}

kasran15 commented 6 years ago

Deleting RNXMPP from my Libraries did the trick. I think it was from a previous version of react-native-xmpp