CoreStore with Cocoapods and Firebase #256

Closed
opened 2025-12-29 15:27:43 +01:00 by adam · 4 comments
Owner

Originally created by @viatsyshyn on GitHub (Jan 24, 2019).

Hello, I was using CoreStore in my app installed via Cocoapods frameworks mode. Now I need to have Firebase also in project, but it's incomatible with frameworks mode. When I switch off frameworks, re install pods and build app, I get CoreStore compilation errors. Mostly like

Type 'NSManagedObject' does not conform to protocol 'DynamicObject'

Does CoreStore thru CocoaPods work only in frameworks mode ?

Originally created by @viatsyshyn on GitHub (Jan 24, 2019). Hello, I was using CoreStore in my app installed via Cocoapods frameworks mode. Now I need to have Firebase also in project, but it's incomatible with frameworks mode. When I switch off frameworks, re install pods and build app, I get CoreStore compilation errors. Mostly like ``` Type 'NSManagedObject' does not conform to protocol 'DynamicObject' ``` Does CoreStore thru CocoaPods work only in frameworks mode ?
adam closed this issue 2025-12-29 15:27:44 +01:00
Author
Owner

@JohnEstropia commented on GitHub (Jan 24, 2019):

Not sure about the issue here. I have a project that uses use_frameworks! in the Podfile and with both Firebase and CoreStore dependencies.

As for CocoaPods' static framework support, I'm not sure most open source libraries work properly on this mode. Have you tried pod 'CoreStore', :modular_headers => true in your Podfile?

@JohnEstropia commented on GitHub (Jan 24, 2019): Not sure about the issue here. I have a project that uses `use_frameworks!` in the Podfile and with both Firebase and CoreStore dependencies. As for CocoaPods' static framework support, I'm not sure most open source libraries work properly on this mode. Have you tried `pod 'CoreStore', :modular_headers => true` in your Podfile?
Author
Owner

@viatsyshyn commented on GitHub (Jan 24, 2019):

I think this issue is with RN firebase wrapper actually. Added :modular_headers => true and # use_frameworks!. Has no effect :-(

@viatsyshyn commented on GitHub (Jan 24, 2019): I think this issue is with RN firebase wrapper actually. Added `:modular_headers => true` and `# use_frameworks!`. Has no effect :-(
Author
Owner

@JohnEstropia commented on GitHub (Jan 25, 2019):

After a quick google of the issue this looks like a common React Native issue:
https://github.com/react-native-community/react-native-maps/issues/2218

Someone has posted a solution here using cocoapods-fix-react-native so you may want to look at that:
https://github.com/react-native-community/react-native-maps/issues/2324

@JohnEstropia commented on GitHub (Jan 25, 2019): After a quick google of the issue this looks like a common React Native issue: https://github.com/react-native-community/react-native-maps/issues/2218 Someone has posted a solution here using [cocoapods-fix-react-native](https://github.com/orta/cocoapods-fix-react-native) so you may want to look at that: https://github.com/react-native-community/react-native-maps/issues/2324
Author
Owner

@viatsyshyn commented on GitHub (Jan 26, 2019):

Hi, ended up, including RN plugin directly into xcode project, same way as for AirMaps (react-native-maps).

@viatsyshyn commented on GitHub (Jan 26, 2019): Hi, ended up, including RN plugin directly into xcode project, same way as for AirMaps (react-native-maps).
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/CoreStore#256