Custom framework cannot find other pod that required Bridging-Header file: "No such module 'InsiderMobile'"

Viewed 11

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,
  • MapModule with Build Settings/Import Paths method is also apply,

Here is some methods that we've already tried:

  • pod install again, 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 Modules in Build Settings to Yes
  • Also Embed InsiderMobile framework,

None of these above methods solve the problem. Is there anyway to allow our custom framework to import InsiderMobile? Thanks in advance.

0 Answers
Related