I am trying to build a private CocoaPods framework with other pod dependencies.
Among others, I added Parse as a dependency in the podspec file:
s.dependency 'Parse'
However, when I try to lint it,
pod lib lint MyPrivateSpec.podspec --verbose --sources 'git@bitbucket.org:MY_BITBUCKET_NAME/specs.git,https://github.com/CocoaPods/Specs'
I get the following errors:
Target Support Files/Parse/Parse-umbrella.h:3:9: note: in file included from Target Support Files/Parse/Parse-umbrella.h:3:
ERROR | xcodebuild: Parse/Parse/Parse.h:12:9: error: include of non-modular header inside framework module 'Parse.Parse'
[and more of these types of errors in the following lines ...]
I looked at virtually every relevant question asked on SO and in github issues, but I could not find anything that worked for me. Has anybody experienced these issues, or is familiar with why this does not work ?