swift - pod lib lint 显示没有此类模块错误
问题描述
我正在创建一个 pod 框架,并且在我的项目的一个文件中我使用了第三方库DataCompression
。我有一个与它相关的 podspec 文件,我运行它,pod lib lint
我得到了这个
-> MyPod (0.1.0)
- WARN | http: The URL (`~/Desktop/qwerty/`) doesn't use the encrypted HTTPS protocol. It is crucial for Pods to be transferred over a secure protocol to protect your users from man-in-the-middle attacks. This will be an error in future releases. Please update the URL to use https.
- 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/shubhambhiwaniwala/Desktop/qwerty/qwerty/Encryptor.swift:10:8: error: no such module 'DataCompression'
[!] MyPod did not pass validation, due to 2 errors.
You can use the `--no-clean` option to inspect any issue.
我该如何解决这个问题?
解决方案
推荐阅读
- r - 从边缘定义一个转移概率矩阵
- html - 无法使图标留在输入内
- python - 基于高级期望行为示例的自动低级测试生成
- javascript - JavaScript:setInterval 函数仅在浏览器空闲时计数?
- javascript - 如何让 style.visibility 使用外部样式表?(只有香草 javascript,没有 jQuery)
- css - 无法将绝对 div 居中对齐
- theano - Theano 导入错误:“AttributeError:模块 'theano' 没有属性 'gof'”
- python - 我怎样才能拆分列表?我应该使用 Input.split(;) 吗?
- javascript - 下载文件时Angular忽略离开页面事件
- c++ - 当我尝试对数组的内容使用函数时,控制台中没有任何显示