Ios 找不到用于。。。在<;文件>;。podspec.json

Ios 找不到用于。。。在<;文件>;。podspec.json,ios,xcode,cocoapods,Ios,Xcode,Cocoapods,我一直在跟踪我的CocoaPods项目。我目前在测试部分,收到错误信息: [!] No podspec found for `AppUpdateTracker` in /Users/aaron/Downloads/AUTCocoaPodsTest/AUTPodTest/Pods/AppUpdateTracker/AppUpdateTracker.podspec.json 对我的回购进行林廷操作很好: pod spec lint App-Update-Tracker.podspec ->

我一直在跟踪我的CocoaPods项目。我目前在测试部分,收到错误信息:

[!] No podspec found for `AppUpdateTracker` in /Users/aaron/Downloads/AUTCocoaPodsTest/AUTPodTest/Pods/AppUpdateTracker/AppUpdateTracker.podspec.json
对我的回购进行林廷操作很好:

pod spec lint App-Update-Tracker.podspec

 -> App-Update-Tracker (1.0.0)

Analyzed 1 podspec.

App-Update-Tracker.podspec passed validation.
这是我的播客:

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::Spec.new do|s|
s、 name=“应用程序更新跟踪器”
s、 version=“1.0.0”
s、 summary=“AppUpdateTracker是一个简单、轻量级的iOS库,用于确定基本的应用程序安装/更新行为。”
s、 description=“LICENSE.txt”}
s、 作者={“特技演员”=>“”
s、 社交媒体url=”http://twitter.com/ajubbal"
s、 平台=:ios
s、 source={:git=>”https://github.com/Stunner/App-Update-Tracker.git“,:tag=>1.0.0”}
s、 source\u files=“AppUpdateTracker”
s、 需要_弧=真
结束

你知道如何避开这个问题吗?

看起来你的Pod名称不匹配:
pod的名称为App Update Tracker,但其引用为AppUpdateTracker。

您的pod文件外观如何?它是否正确引用了您的本地Podspec?当我需要使用
App updatetracker
时,我在我的pod文件中使用了
AppUpdateTracker
。我收到了相同的问题,我的pod名称是正确的,仍然收到了这个问题,知道为什么会发生这种情况吗?我的pod规范文件在不同的文件夹中,我的测试项目在不同的文件夹中。这会引起问题吗?我想我和你有同样的问题@PoojaShah你找到原因了吗?@MaciekCzarnik没有,如果你找到了,请告诉我。你在使用你的私人播客@PoojaShah吗?