pod lib lint显示没有此类模块错误

时间:2019-07-26 09:09:28

标签: swift cocoa-touch cocoapods podspec

我正在创建一个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.

我该如何解决?

0 个答案:

没有答案