Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Include of non-modular header inside framework module error

Trying to integrate ParseLiveQuery cocoapod into my project, but when building I keep getting the error:

Include of non-modular header inside framework module error 'Bolt.BFCancellation'

enter image description here

I installed ParseLiveQuery (along with Parse) via cocoapods. Here's my podfile:

use_frameworks!

pod 'ParseLiveQuery'
pod 'Parse'

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

I have also set Allow Non-module Includes In Framework Modules to Yes in build settings, but still get this error.

like image 205
vikzilla Avatar asked Jul 17 '16 16:07

vikzilla


1 Answers

Just ran into this myself. I added the header file to the Framework's umbrella header, and then added it to the Headers section as Public. (I'm adding Reachability lib)

enter image description here

So far it seems to be working for me without trouble.

like image 52
Nick Avatar answered Nov 16 '22 11:11

Nick