I created a react-native module. For iOS builds on Intel architecture I need the custom CFlags -maes -mpclmul
Right now it works if the "consuming" project configures those for my module by clicking Pods -> "My Module" -> Build Settings -> Other C Flags
But I don't want to force the users of my module to do that. I want to configure this in my module so that after pod install the config is automatically copied with my module.
I tried opening the "xcodeproj" file of my Module and setting the config there, but after trying it out in a project and installing my module with pod install the CFlags are not there and the build step fails because of that.
Is there any way to "automate" the setting of custom CFlags?