我试图创建一个使用 pod 的框架,当我运行命令pod lib lint
来验证我的.podspec
文件时,我得到:
错误 | [iOS] xcodebuild: /Users/ /Desktop/Developer/ / /Models/ .swift:8:8: error: no such module 'SwiftyUserDefaults'
如何将 pod 链接到我的框架
我也收到警告,我认为这是因为我的存储库是私有的,所以我正在阅读教程,但我也收到另一个错误,我不知道这是什么意思:
错误 | [iOS] xcodebuild:返回不成功的退出代码。您可以使用
--verbose
以获取更多信息。
什么是?
完整信息:
- WARN | url: The URL (https://github.com/*/*) is not reachable.
- ERROR | [iOS] xcodebuild: Returned an unsuccessful exit code. You can use `--verbose` for more information.
- NOTE | xcodebuild: note: Using new build system
- NOTE | [iOS] xcodebuild: note: Planning build
- NOTE | [iOS] xcodebuild: note: Constructing build description
- ERROR | [iOS] xcodebuild: /Users/*/Desktop/Developer/*/*/Models/EMConnectedPeripheral.swift:8:8: error: no such module 'SwiftyUserDefaults'