我试着用cocoapods安装KFEpubKit。安装运行得很好,但当我尝试运行我的项目时,由于KissXML (它是自动包含的)而出现以下错误:
Include of non-modular header inside framework module 'KissXML.DDXMLNode'所以我设置了属性
Allow Non-modular Includes in Frmaework Modules设置为Yes,但我仍然有这个错误。有什么想法吗?
我知道有很多类似的问题,但都没有解决我的问题。
非常感谢!
发布于 2016-02-25 18:56:59
添加
post_install do |installer|
installer.pods_project.build_configuration_list.build_configurations.each do |configuration|
configuration.build_settings['CLANG_ALLOW_NON_MODULAR_INCLUDES_IN_FRAMEWORK_MODULES'] = 'YES'
end
end在你的podfile的末尾可以解决你的问题。但之后你就会遇到下一个。(您不能构建Obj-C模块KFEpubKit)
https://stackoverflow.com/questions/33454191
复制相似问题