吊舱规格皮棉未更新

时间:2019-04-23 12:54:41

标签: terminal cocoapods podspec

运行pod spec lint后出现以下错误:

Calebs-MacBook-Pro:JacquardToolkit calebrudnicki$ pod spec lint

 -> JacquardToolkit (1.1.4)
     - 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:  
JacquardToolkit/JacquardToolkit/JSQRCodeScannerView.swift:47:40: error: type 'String' has no member 'center'

Analyzed 1 podspec.

[!] The spec did not pass validation, due to 2 errors.

返回项目并更新有问题的行,然后再次运行pod spec lint之后,即使该行代码不存在,我仍然会遇到相同的错误。如何通过最新的代码使它通过?

1 个答案:

答案 0 :(得分:0)

问题已解决。我需要做的就是更新标签,所有标签都可以正常工作。这是我的步骤:

  1. git tag 1.1.5(我之前是1.1.4)
  2. git push origin --tags
  3. pod lib lint
  4. pod spec lint
  5. pod trunk push

现在,我的广告连播已更新。