I'm trying to build a Cocoa Touch Framework in Swift with AFNetworking integrated, among other things... in xCode 6.0.1 I keep getting the "include of non-modular header inside framework module 'MyFrameworkName' when I include the .h file in the MyFrameworkName.h file.
I've already set the "Allow non-modular includes in Framwork modules" to YES, though this keeps happening...
It's going to keep happening
Please advice...
Thanks.
You need to mark each header your framework will provide as "Public" rather than "Private" or "Project"
Click on the .h file in question and look in the File Inspector on the right side of Xcode (you can bring up the File Inspector from View->Utilities->Show File Inspector)
Then change the dropdown menu from "Project" or "Private"
to "Public"