I need some advice about building react native library that using framework. I'm trying to build one using this library. My react native library contains these files:
Sample-Bridging-Header.hSample.mSample.swiftSample.xcodeproj/Utilities/Utility.swiftUtilities/Helper.swiftTest.framework
Inside my Utility.swift
and Helper.swift
, I import library Test
and there is no issue there.
However, when I build the sample app which uses the library, it will not build and it gives the error no such module 'Test'
.
So it looks like if the main application try to use the react native library, and if the library uses a framework, the main application can't reference the framework. I'm not sure if this is the right approach or not.
I built react native library before and it worked for me but I never have to reference any framework.
Appreciate any help! Thanks!