orbital-systems / react-native-esp-idf-provisioning

ESP IDF provisioning and custom data library for react-native
MIT License
24 stars 5 forks source link

Error in iOS release build: The Swift pod `react-native-esp-idf-provisioning` depends upon `glog` #43

Closed tri-bao closed 8 months ago

tri-bao commented 8 months ago

when building iOS in release mode (to submit to appstore), we got the following error

The Swift pod `react-native-esp-idf-provisioning` depends upon `glog`, which does not define modules. To opt into those targets generating module maps (which is necessary to import them from Swift when building as static libraries), you may set `use_modular_headers!` globally in your Podfile, or specify `:modular_headers => true` for particular dependencies.

Are we missing anything causing the error?

tri-bao commented 8 months ago

I found the cause: the error happens on xcode 14.2. Using xcode 14.3 fixes it