【发布时间】:2016-01-20 14:34:00
【问题描述】:
我正在尝试使用其他 pod 依赖项构建一个私有 CocoaPods 框架。
其中,我在 podspec 文件中添加了 Parse 作为依赖项:
s.dependency 'Parse'
但是,当我尝试对其进行 lint 处理时,
pod lib lint MyPrivateSpec.podspec --verbose --sources 'git@bitbucket.org:MY_BITBUCKET_NAME/specs.git,https://github.com/CocoaPods/Specs'
我收到以下错误:
Target Support Files/Parse/Parse-umbrella.h:3:9:注意:在 Target Support Files/Parse/Parse-umbrella.h:3 中包含的文件中:
错误 | xcodebuild: Parse/Parse/Parse.h:12:9: 错误:在框架模块'Parse.Parse'中包含非模块化标头
[以及以下几行中的更多此类错误...]
我几乎查看了关于 SO 和 github 问题的所有相关问题,但我找不到任何对我有用的东西。有没有人遇到过这些问题,或者熟悉为什么这不起作用?
【问题讨论】:
标签: swift frameworks cocoapods