验证podspec时出错

时间:2015-08-17 16:52:28

标签: ios cocoapods ios9 xcode7 podspec

我创建了一个cocoapod,我正在尝试验证它的podspec,但是我收到了这个错误:

➜  MyProject git:(master) ✗ pod spec lint MyProject.podspec

 -> MyProject (1.0)
    - ERROR | Returned an unsuccessful exit code. You can use `--verbose` for more information.
    - ERROR | [iOS] Swift support uses dynamic frameworks and is therefore only supported on iOS > 8.
    - NOTE  |  [BEROR]error: There is no SDK with the name or path 'watchos'
    - NOTE  | [watchOS]  error: There is no SDK with the name or path 'watchos'

我正在使用Xcode 7 beta,为ios9开发

2 个答案:

答案 0 :(得分:1)

CocoaPods目前不支持watchOS。有关该主题的更多信息,请参阅this post

答案 1 :(得分:0)

搜索"生成错误"在详细模式下应该可以帮助您追踪错误。