Skip to content

Testing pods fail to lint with 1.0 #5321

@nhgrif

Description

@nhgrif

Report

What did you do?

Ran pod lib lint. Also ran pod spec lint.

In addition to trying on current head, also rolled back to the last tagged commit which successfully linted previous to 1.0 update.

What did you expected to happen?

Linting to succeed.

What happened instead?

Linting failed.

 -> MTK (0.1.5)
    - ERROR | [iOS] xcodebuild: Returned an unsuccessful exit code. You can use `--verbose` for more information.
    - NOTE  | xcodebuild:  clang: error: linker command failed with exit code 1 (use -v to see invocation)

Analyzed 1 podspec.

[!] The spec did not pass validation, due to 1 error.

Here are the linker errors:

ld: framework not found XCTest for architecture i386

ld: framework not found XCTest for architecture x86_64

XCTest is a dependency of my library.

CocoaPods Environment

Stack

   CocoaPods : 1.0.0
        Ruby : ruby 2.2.2p95 (2015-04-13 revision 50295) [x86_64-darwin14]
    RubyGems : 2.4.8
        Host : Mac OS X 10.11.4 (15E65)
       Xcode : 7.3 (7D175)
         Git : git version 2.7.4
Ruby lib dir : /Users/ngriffith/.rvm/rubies/ruby-2.2.2/lib
Repositories : master - https://github.com/CocoaPods/Specs.git @ 05f9fb7084ce906da05fb8e5772dde448deb4d8a
               metova - https://github.com/metova/ThunderCats.git @ 85fe53bdd01845057f42aba3981053d9c72ff766

Installation Source

Executable Path: /Users/ngriffith/.rvm/gems/ruby-2.2.2/bin/pod

Plugins

cocoapods-deintegrate : 1.0.0
cocoapods-plugins     : 1.0.0
cocoapods-search      : 1.0.0
cocoapods-stats       : 1.0.0
cocoapods-trunk       : 1.0.0
cocoapods-try         : 1.0.0

Project that demonstrates the issue

https://github.com/metova/MetovaTestKit

Issue can be replicated on current master or current develop (pod lib lint), or even at the 0.1.5 tag (which is already in the CocoaPods master spec repo).

Metadata

Metadata

Assignees

Labels

s2:confirmedIssues that have been confirmed by a CocoaPods contributort2:defectThese are known bugs. The issue should also contain steps to reproduce. PRs welcome!

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions