objective c - Non-modular header inside framework module -


i creating cocoapod (framework) in swift needs import 3rd party objective-c framework. however, when adding #import <thirdpartyframework/thirdpartyframework.h> umbrella file of cocoapod, following error:

include of non-modular header inside framework module 'mycocoapod' 

i tried setting allow non-modular includes in framework modules yes did not resolve error.

the thirdpartyframework.h header has bunch of imports of other headers:

#import <thirdpartyframework/header1.h> #import <thirdpartyframework/header2.h> ... 

i can't edit framework since it's 3rd party. there can use 3rd party framework in swift cocoapod? can not modularize header need import?

i've read here library owner needs move imports .m file, not library owner. also, i'm using swift , library in objective-c don't have .m files, why have import in umbrella file.

using xcode 7.3


Comments

Popular posts from this blog

Ansible - ERROR! the field 'hosts' is required but was not set -

customize file_field button ruby on rails -

SoapUI on windows 10 - high DPI/4K scaling issue -