1

I've created a cocoapod and I am attempting to validate its podspec, but I get this error:

➜  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'

I am using Xcode 7 beta, developing for ios9

4

2 回答 2

1

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

于 2015-08-28T18:49:23.533 回答
0

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

于 2015-10-22T15:43:53.433 回答