我无法推送我的Cocoapods库,我在使用trunk push命令时遇到了问题。

huangapple go评论71阅读模式
英文:

I can't push my Cocoapods library, i have a problem with the trunk push command

问题

以下是翻译好的部分:

当我尝试运行以下命令时:pod trunk push CustomUIKitItems.podspec

终端给我返回以下结果:

更新 spec 仓库 `trunk`
验证 podspec
 -> CustomUIKitItems (1.0.0)
    - 注意  | xcodebuild:  注意: 正在使用代码签名身份覆盖: -
    - 注意  | [iOS] xcodebuild:  注意: 按依赖关系构建目标
    - 注意  | [iOS] xcodebuild:  注意: 跳过元数据提取。未找到 AppIntents.framework 依赖项。 (在项目 'Pods' 的目标 'CustomUIKitItems' 中)
    - 注意  | [iOS] xcodebuild:  注意: 跳过元数据提取。未找到 AppIntents.framework 依赖项。 (在项目 'App' 的目标 'App' 中)

[!] CocoaPods Trunk 无法访问您 Pod 的源代码。它是私有仓库还是在 http 上需要用户名/密码?

[!] 无法读取规范 `CustomUIKitItems (1.0.0)` 的许可文件 `LICENSE`

[!] 无法读取规范 `CustomUIKitItems (1.0.0)` 的许可文件 `LICENSE`

但该仓库是公开的,我一无所知!

您可以从以下链接查看完整的仓库,查看.podspec 或其他任何内容:

CustomUIKitItems GitHub 仓库

英文:

When I try the following command: pod trunk push CustomUIKitItems.podspec

The terminal gives me the following result:

Updating spec repo `trunk`
Validating podspec
 -> CustomUIKitItems (1.0.0)
    - NOTE  | xcodebuild:  note: Using codesigning identity override: -
    - NOTE  | [iOS] xcodebuild:  note: Building targets in dependency order
    - NOTE  | [iOS] xcodebuild:  note: Metadata extraction skipped. No AppIntents.framework dependency found. (in target 'CustomUIKitItems' from project 'Pods')
    - NOTE  | [iOS] xcodebuild:  note: Metadata extraction skipped. No AppIntents.framework dependency found. (in target 'App' from project 'App')

[!] Source code for your Pod was not accessible to CocoaPods Trunk. Is it a private repo or behind a username/password on http?

[!] Unable to read the license file `LICENSE` for the spec `CustomUIKitItems (1.0.0)`

[!] Unable to read the license file `LICENSE` for the spec `CustomUIKitItems (1.0.0)`

But the repository is public, I don't understand anything!

You can have a look at the complete repository from the following link, to have a look at the .podspec or anything else

CustomUIKitItems github repository

答案1

得分: 0

该存储库缺少1.0.0标签。https://github.com/Gonzalo-MR8/CustomUIKitItems/tags

英文:

The repository is missing a 1.0.0 tag. https://github.com/Gonzalo-MR8/CustomUIKitItems/tags

huangapple
  • 本文由 发表于 2023年6月2日 08:00:33
  • 转载请务必保留本文链接:https://go.coder-hub.com/76386403.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定