Currently we are developing a custom framework which need to use InsiderMobile cocoapods. According to this guideline, we will need o create Bridging-Header File to use InsiderMobile. However, Bridging-Header or Umbrella file did not work inside our framework so we have to use MapModule with Build Settings/Import Paths method, then the framework compile just fine.
The actual problem occur when we try to apply our framework to an application. The framework recognize all other pods except InsiderMobile. Here our current settings:
- We got both our custom framework and InsiderMobile in Pods folder,
- Our custom framework is Embed,
MapModulewithBuild Settings/Import Pathsmethod is also apply,
Here is some methods that we've already tried:
pod installagain, delete derived data, clean and rebuild project,- Manually edit custom framework -umbrella file, but bump into new error: "Include of non-modular header inside framework module ", also try to set
Allow Non-modular Includes In Framework ModulesinBuild Settingsto Yes - Also Embed
InsiderMobileframework,
None of these above methods solve the problem. Is there anyway to allow our custom framework to import InsiderMobile? Thanks in advance.