No podspec found for ... in <file> .podspec.json

I followed this tutorial to get the project on mine on CocoaPods. I am currently in the Testing section and am getting the error:

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

      

Reusing my repo works great:

pod spec lint App-Update-Tracker.podspec

 -> App-Update-Tracker (1.0.0)

Analyzed 1 podspec.

App-Update-Tracker.podspec passed validation.

      

And this is my 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

      

Any idea on how to get around this issue?

+3


source share


1 answer


It looks like the names of your subscriptions do not match: The module name is App-Update-Tracker, but it is referred to as AppUpdateTracker.



+5


source







All Articles