-
Notifications
You must be signed in to change notification settings - Fork 2.7k
pod spec lint
fails after Cocoapods 1.0 update
#5320
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
@neonichu looks like a fourflusher issue? |
What's the output of |
|
I tried deleting the two unavailable devices using |
Can you also please share the spec you were linting or at least its platform information if you prefer to keep it private? |
Oh wait, that list doesn't show any actually usable simulator devices. Curious that you still have any inside Xcode. |
I looked at the output of |
I am seeing the same issue:
here's list of simulators:
Here's the podspec #
# Be sure to run `pod lib lint SimplePDF.podspec' to ensure this is a
# valid spec before submitting.
#
# Any lines starting with a # are optional, but their use is encouraged
# To learn more about a Podspec see http://guides.cocoapods.org/syntax/podspec.html
#
Pod::Spec.new do |s|
s.name = "SimplePDFSwift"
s.version = "0.2.0"
s.summary = "A Swift class to help generate simple PDF documents with page numbers and Table of Contents."
# This description is used to generate tags and improve search results.
# * Think: What does it do? Why did you write it? What is the focus?
# * Try to keep it short, snappy and to the point.
# * Write the description between the DESC delimiters below.
# * Finally, don't worry about the indent, CocoaPods strips it!
s.description = <<-DESC
SimplePDF is a Swift class to create PDF documents with page numbers and table of contents. SimplePDF generated document may have:
* Headings (H1 - H6) and Body Text.
* Images (with captions), multiple images per row.
* Multi column text (can be used for borderless tables too)
* UIView instances (good for cover pages, etc)
* Any attributed string
DESC
s.homepage = "https://github.com/ishaq/SimplePDF"
# s.screenshots = "www.example.com/screenshots_1", "www.example.com/screenshots_2"
s.license = 'MIT'
s.author = { "Muhammad Ishaq" => "ishaq@involution.co" }
s.source = { :git => "https://github.com/ishaq/SimplePDF.git", :tag => s.version.to_s }
# s.social_media_url = 'https://twitter.com/<TWITTER_USERNAME>'
s.platform = :ios, '8.0'
s.requires_arc = true
s.source_files = 'Pod/Classes/**/*'
# s.resource_bundles = {
# 'SimplePDF' => ['Pod/Assets/*.png']
# }
# s.public_header_files = 'Pod/Classes/**/*.h'
# s.frameworks = 'UIKit', 'MapKit'
# s.dependency 'AFNetworking', '~> 2.3'
end |
@ishaq which version of Xcode are you using to get that output? The issue is that your simulator is called "iPhone 4s iOS 9.3" whereas CocoaPods is looking for one which is called "iPhone 4s" (default naming of Xcode 6.x and 7.x). |
Thank you @neonichu, I am using Xcode 7.3.1 but I was using simulator_populator script. I have changed it to produce default naming and it now works. I am sorry for raising false alarm, when I couldn't find a solution through google, I thought may be it was a bug in CocoaPods. Sincere apologies. |
I ran into this issue. I didn't have a TV simulator. Added one and then it worked. |
I ran into the same problem with Xcode 7.3.1 (xcode-select points to it, too). |
This got fixed in master, it'll now determine the lowest supported sim in the next release |
Getting the same error for Xcode 8 |
re: Xcode 8, I updated to 1.1.0.rc.2 and problem went away. |
This worked for me (with Xcode 8)
|
I ran into the same issue with XCode 8. I installed 1.1.0.rc.3 and it still did not work. Then I uninstalled all older cocoapod versions with |
I installed 1.1.1 (from 1.0.1) and this issue was fixed for me. |
I ran into the same issue used XCode 8.1 ,I download iOS 8.1 develop doucment and set up a Simulator iPhone 4s in my XCode simulator device ,ran "pod lib lint" it worked . |
I had two versions of Xcode 7.3 and 8. it was using 7.3. I just used |
make sure ua simulator and xcode is closed |
I've seen this issue before: The solution was to run |
xcode-->preferences(command+,)-->locations-->Command Line Tools |
When I try to run
pod spec lint
on my project I get the following error:Report
What did you do?
Ran
pod spec lint
, and alsopod spec lint --use-libraries
.What did you expected to happen?
Pass the linter check.
What happened instead?
Failed with:
And I have the iPhone 4s Simulator on Xcode working just fine.
CocoaPods Environment
Stack
Installation Source
Plugins
The text was updated successfully, but these errors were encountered: