(React-Native Expo) Add Dependency for Local Native Module

I am converting a project to expo and have created a new expo project. I have migrated most of the react-native code but need to add a native module. I added it using npx create-expo-module expo-settings --local The name of the module DataRetrieval.

So far so good but I need a package SwiftCSV. I added it as a dependency to Pods and did a npx pod-install but when I try to import SwiftCSV as a subproject, it is not found. So I tried adding to the DataRetrieval podspec an s.dependency 'SwiftCSV'. I then get an error that there is a redefining of symbols. I am able to include this in a regular Swift file but not in the sub-module under expo. What am I missing about how to not only add a native module but to add dependencies and include it in my project?

Thanks,

Ray

While someone here may be able to offer you a suggestion, Cocoapods, Expo, and React Native are all third-party libraries, and not provided by Apple. You should also ask the respective vendors for support in how to configure their software to help you get answers to these questions.

(React-Native Expo) Add Dependency for Local Native Module
 
 
Q