ios - 【已经自己解决】Pod 验证不通过
高洛峰
高洛峰 2017-04-18 09:45:03
0
1
444

我正在执行 命令如下:

pod lib lint XXX.podspec --verbose

代码是Objective-C写的,为什么会出现Swift的相关错误呢?

错误信息如下:

[!] TDTouchID did not pass validation, due to 2 errors. [!] The validator for Swift projects uses Swift 3.0 by default, if you are using a different version of swift you can use a `.swift-version` file to set the version for your Pod. For example to use Swift 2.3, run: `echo "2.3" > .swift-version`. You can use the `--no-clean` option to inspect any issue.

已经解决:
重新标记了git tag
重新 提交到远程仓库 git push --tag
重新 验证就通过了

高洛峰
高洛峰

拥有18年软件开发和IT教学经验。曾任多家上市公司技术总监、架构师、项目经理、高级软件工程师等职务。 网络人气名人讲师,...

reply all (1)
洪涛

Re-tagged git tag
Re-submitted to the remote warehouse git push --tag
Re-verification passed

    Latest Downloads
    More>
    Web Effects
    Website Source Code
    Website Materials
    Front End Template
    About us Disclaimer Sitemap
    php.cn:Public welfare online PHP training,Help PHP learners grow quickly!