Skip to content
This repository has been archived by the owner on May 4, 2023. It is now read-only.

Include of non-modular header inside framework module #44

Open
chiswicked opened this issue Dec 26, 2015 · 1 comment
Open

Include of non-modular header inside framework module #44

chiswicked opened this issue Dec 26, 2015 · 1 comment

Comments

@chiswicked
Copy link

Hi Brad

I have built a Cocoa Touch Framework written in Swift (using Xcode 7.2) utilising BDBOAuth1Manager 2.0.0 with no problem.

However, when I 'pod install' my aforementioned framework into a Swift standalone app (and as a result BDBOAuth1Manager gets installed as a dependency) I get the following errors when I try to build:

/Path/To/StandaloneApp/Pods/BDBOAuth1Manager/BDBOAuth1Manager/BDBOAuth1RequestSerializer.h:23:9: Include of non-modular header inside framework module 'BDBOAuth1Manager.BDBOAuth1RequestSerializer'

screen shot 2015-12-26 at 01 17 59

/Path/To/StandaloneApp/Pods/BDBOAuth1Manager/BDBOAuth1Manager/BDBOAuth1SessionManager.h:23:9: Include of non-modular header inside framework module 'BDBOAuth1Manager.BDBOAuth1SessionManager'

screen shot 2015-12-26 at 01 18 18

I've tried setting CLANG_ALLOW_NON_MODULAR_INCLUDES_IN_FRAMEWORK_MODULES = 'YES', but didn't seem to help. I guess it wouldn't be an elegant solution anyway.

I've read through quite a few threads e.g 1 2 but couldn't really find a proper solution to my problem.

However, I came across this issue and the fix. I'm not sure if it's related but seems very much the same problem I'm facing.

Unfortunately, I know practically nothing about Obj C so can't really debug myself, but was wondering if you could look into this and perhaps give me some pointers if I could resolve this issue myself or does this require the same fix as the one for AFNetworking?

Or am I chasing a red herring?

Thanks

@lucasleongit
Copy link

+1 from me

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants