iOS/Xcode: Include of non-modular header inside framework module

Options

I have a native Swift iOS app (A). This app has an Augmented Reality aspect of the app which I keep separated into a Swift framework (B). I would like to include the LoadBalancing-objc library into framework B to make the AR aspect multiplayer.

I have followed these steps: https://forum.photonengine.com/discussion/comment/17052#Comment_17052), and am importing "LoadBalancing-objc/inc/EGLoadBalancingClient.h" into B.h.

However, I am getting this error:

Include of non-modular header inside framework module 'B': '<PhotonPath>/LoadBalancing-objc/inc/EGLoadBalancingClient.h'.


Sorry if this question has already been answered - I'm quite new to linking C++/ObjC into swift.

Answers