gpt4 book ai didi

ios - 在 .podspec.json 中找不到 ... 的 podspec

转载 作者:塔克拉玛干 更新时间:2023-11-01 21:21:42 26 4
gpt4 key购买 nike

我一直在关注this guide在我的 CocoaPods 上获得一个项目。我目前在测试 部分并收到错误:

[!] No podspec found for `AppUpdateTracker` in /Users/aaron/Downloads/AUTCocoaPodsTest/AUTPodTest/Pods/AppUpdateTracker/AppUpdateTracker.podspec.json

检查我的 repo 协议(protocol)工作正常:

pod spec lint App-Update-Tracker.podspec

-> App-Update-Tracker (1.0.0)

Analyzed 1 podspec.

App-Update-Tracker.podspec passed validation.

这是我的 Podspec:

Pod::Spec.new do |s|

s.name = "App-Update-Tracker"
s.version = "1.0.0"
s.summary = "AppUpdateTracker is a simple, lightweight iOS library intended to determine basic app install/update behavior."

s.description = <<-DESC
This library allows you to easily determine when the user uses your app after a fresh install, when the user updates your app (and the version from which (s)he updated, and how many times the user has opened a given version of your app. This library was created in order to help determine update information so that appropriate data migration logic could be run after an app update.
DESC

s.homepage = "https://github.com/Stunner/App-Update-Tracker"
s.license = { :type => "MIT", :file => "LICENSE.txt" }
s.author = { "Stunner" => "" }
s.social_media_url = "http://twitter.com/ajubbal"
s.platform = :ios
s.source = { :git => "https://github.com/Stunner/App-Update-Tracker.git", :tag => "1.0.0" }

s.source_files = "AppUpdateTracker"
s.requires_arc = true

end

关于如何解决这个问题有什么想法吗?

最佳答案

看起来您的 Pod 名称不匹配:pod 的名称是 App-Update-Tracker,但它被引用为 AppUpdateTracker。

关于ios - 在 <file>.podspec.json 中找不到 ... 的 podspec,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/27344090/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com