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
Post a Comment