Cocoapods: ERROR | [iOS] file patterns: The `vendored_frameworks` pattern did not match any file

Created on 12 Jul 2017  路  1Comment  路  Source: CocoaPods/CocoaPods

Report

What did you do?

Run pod spec lint using the following podspec:

Pod::Spec.new do |s|
  s.name  = "AdamPodTest"
  s.version = "0.1.0" # How it will be listed in Specs repo
  s.summary = "This pod is to test if pods work for us."
  s.homepage = "https://judgecardx.com"
  s.license = { :type => "Commercial", :text => "Do whatever you want"}
  s.author = { "Johns, Robert" => "[email protected]" }
  s.platform = :ios
  s.ios.deployment_target = "9.0"
  s.source = { :http => "https://github.com/rajohns08/AdamPodFramework/archive/0.1.0.zip" }
  s.vendored_frameworks = "AdamPodTest.framework"
  s.framework = "UIKit"
  s.requires_arc = true
end

What did you expect to happen?

Pod spec passes validation

What happened instead?

 -> AdamPodTest (0.1.0)
    - ERROR | [iOS] file patterns: The `vendored_frameworks` pattern did not match any file.

Analyzed 1 podspec.

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

CocoaPods Environment

Stack

   CocoaPods : 1.2.1
        Ruby : ruby 2.4.1p111 (2017-03-22 revision 58053) [x86_64-darwin15]
    RubyGems : 2.6.11
        Host : Mac OS X 10.12.4 (16E195)
       Xcode : 8.3.3 (8E3004b)
         Git : git version 2.11.0 (Apple Git-81)
Ruby lib dir : /usr/local/Cellar/ruby/2.4.1_1/lib
Repositories : AdamPodTest - https://github.com/rajohns08/AdamPodTest.git @ 698b12f846d6e8cb25adf3cb7b714f7181696999
               master - https://github.com/CocoaPods/Specs.git @ 4eff202ff3ee74abdcbbc7b549c5ba0bc66b5a7a

Installation Source

Executable Path: /usr/local/bin/pod

Plugins

```
cocoapods-deintegrate : 1.0.1
cocoapods-plugins : 1.0.0
cocoapods-search : 1.0.0
cocoapods-stats : 1.0.0
cocoapods-trunk : 1.2.0
cocoapods-try : 1.1.0

Most helpful comment

I dont think thats a cocoapods issue. Downloading your ZIP shows a folder AdamPodFramework-0.1.0 so change:

s.vendored_frameworks = "AdamPodFramework-0.1.0/AdamPodTest.framework"

>All comments

I dont think thats a cocoapods issue. Downloading your ZIP shows a folder AdamPodFramework-0.1.0 so change:

s.vendored_frameworks = "AdamPodFramework-0.1.0/AdamPodTest.framework"
Was this page helpful?
0 / 5 - 0 ratings