MeetYouDevs/cocoapods-imy-bin

Demo跑不起来

chengyinglpl opened this issue · 4 comments

admin@MacBook-Pro Swift-OC-Demo-master % pod bin auto --all-make
/Users/admin/Downloads/Swift-OC-Demo-master/Swift_OC-Swift.h
/Users/admin/Downloads/Swift-OC-Demo-master/Swift-OCTests
/Users/admin/Downloads/Swift-OC-Demo-master/.DS_Store
/Users/admin/Downloads/Swift-OC-Demo-master/Swift-OC.xcworkspace
/Users/admin/Downloads/Swift-OC-Demo-master/Swift-OC.xcodeproj
/Users/admin/Downloads/Swift-OC-Demo-master/Swift-OCUITests
/Users/admin/Downloads/Swift-OC-Demo-master/README.md
/Users/admin/Downloads/Swift-OC-Demo-master/Pods
/Users/admin/Downloads/Swift-OC-Demo-master/Swift-OC
/Users/admin/Downloads/Swift-OC-Demo-master/Podfile
/Users/admin/Downloads/Swift-OC-Demo-master/Swift-OC.podspec
====== cocoapods-imy-bin 0.3.0.11 版本 ========

====== dev 环境 ========

====== dev 环境 ========
[pod gen] Running with pod gen configuration {
podfile_path: /Users/admin/Downloads/Swift-OC-Demo-master/Podfile,
podfile: Podfile,
use_podfile: true,
use_podfile_plugins: true,
podfile_plugins: {"cocoapods-imy-bin"=>{}},
lockfile: #Pod::Lockfile,
use_lockfile: true,
use_lockfile_versions: true,
use_libraries: false,
generate_multiple_pod_projects: false,
incremental_installation: false,
gen_directory: /Users/admin/Downloads/Swift-OC-Demo-master-build-temp/bin-archive,
auto_open: false,
clean: true,
podspec_paths: [#Pathname:/Users/admin/Downloads/Swift-OC-Demo-master/Swift-OC.podspec, #Pathname:/Users/admin/Downloads/Swift-OC-Demo-master/Swift-OC.podspec],
podspecs: [#<Pod::Specification name="Swift-OC">, #<Pod::Specification name="Swift-OC">],
sources: ["git@github.com:chengyinglpl/spec_bin_dev.git", "git@github.com:chengyinglpl/Swift-OC-Demo.git", "git@github.com:chengyinglpl/spec_bin_dev.git", "git@github.com:chengyinglpl/Swift-OC-Demo.git", "https://cdn.cocoapods.org"],
repo_update: false,
use_default_plugins: false,
deterministic_uuids: false,
share_schemes_for_development_pods: true,
warn_for_multiple_pod_sources: false,
use_modular_headers: false }

――― MARKDOWN TEMPLATE ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――

Command

/Users/admin/.rvm/rubies/ruby-3.0.0/bin/pod bin auto --all-make

Report

  • What did you do?

  • What did you expect to happen?

  • What happened instead?

Stack

   CocoaPods : 1.10.1
        Ruby : ruby 3.0.0p0 (2020-12-25 revision 95aff21468) [x86_64-darwin20]
    RubyGems : 3.2.3
        Host : macOS 11.5.2 (20G95)
       Xcode : 12.5.1 (12E507)
         Git : git version 2.30.1 (Apple Git-130)
Ruby lib dir : /Users/admin/.rvm/rubies/ruby-3.0.0/lib
Repositories : chengyinglpl - git - https://github.com/chengyinglpl/Swift-OC-Demo.git @ 7c1382382a68041ca8fe7f608b7d7427d546fe4d

               chengyinglpl-1 - git - git@github.com:chengyinglpl/Swift-OC-Demo.git @ 7c1382382a68041ca8fe7f608b7d7427d546fe4d

               chengyinglpl-2 - git - git@github.com:chengyinglpl/spec_bin_dev.git @ 481f5e8d9ef085961718a0946b3d6fb035dd35c9

               master - git - https://github.com/CocoaPods/Specs.git @ 981764bb18a582166c5459af54e42930c8470ffa

               poizon-dupublicspecs - git - git@pkg.poizon.com:duapp/publicsdk/dupublicspecs.git @ 170683de72ec291b16f7087509d6f8372607fc88

               PrivatePods - git - https://github.com/ModulizationDemo/PrivatePods.git @ 727fb3add4fd6d34275a185841a1607f5b74bfd7

               shihuo-95fen-ios - git - git@code.shihuo.cn:lipenglin/95fen-ios.git @ e72a012d3ddcfe7349e90e8cac069630c76ab43e

               shihuo-nfspecs - git - git@code.shihuo.cn:nfpods/NFSpecs.git @ 43651c64c30ebc5da934ab127fda67f0935d374b

               shizhuang-inc-dupublicspecs - git - git@repo.shizhuang-inc.com:ios/DUPublicSpecs.git @ 47f77c72789f8c206694be345dbd37ec9e2d0462

               spec_bin_dev - git - git@code.shihuo.cn:lipenglin/spec_bin_dev.git @ d01dd41ea9e25e23955773df880bededc790063c

               trunk - CDN - https://cdn.cocoapods.org/

Plugins

cocoapods-deintegrate : 1.0.5
cocoapods-generate    : 1.4.1
cocoapods-imy-bin     : 0.3.0.11
cocoapods-plugins     : 1.0.0
cocoapods-search      : 1.0.1
cocoapods-trunk       : 1.6.0
cocoapods-try         : 1.2.0

Podfile

#plugin 'cocoapods-imy-bin'
#use_binaries!
#set_use_source_pods ['Moya','SnapKit']


source 'https://cdn.cocoapods.org/'
platform :ios, '9.0'

use_frameworks!

target 'Swift-OC' do
    
#Swift库

    pod 'Alamofire'
    pod 'Moya'
    pod 'SnapKit'
    pod 'Kingfisher'
    pod 'HandyJSON'
    pod 'lottie-ios'
    pod 'Toast'
    
#OC库

    pod 'MYLCommonUI', '~> 0.0.11'
    pod 'Masonry'
 

end

Error

NoMethodError - undefined method `podfile_plugins' for #<Pod::Generate::PodfileGenerator:0x00007f84441e4978 @configuration=#<Pod::Generate::Configuration:0x00007f844894ea70 @pod_config=#<Pod::Config:0x00007f84440f4810 @verbose=true, @silent=false, @skip_download_cache=false, @new_version_message=true, @cache_root=#<Pathname:/Users/admin/Library/Caches/CocoaPods>, @home_dir=#<Pathname:/Users/admin/.cocoapods>, @templates_dir=#<Pathname:/Users/admin/.cocoapods/templates>, @repos_dir=#<Pathname:/Users/admin/.cocoapods/repos>, @allow_root=nil, @sources_manager=#<Pod::Source::Manager:0x00007f844792fab8 @repos_dir=#<Pathname:/Users/admin/.cocoapods/repos>, @sources_by_path={#<Pathname:/Users/admin/.cocoapods/repos/chengyinglpl>=>#<Pod::Source name:chengyinglpl type:git>, #<Pathname:/Users/admin/.cocoapods/repos/chengyinglpl-1>=>#<Pod::Source name:chengyinglpl-1 type:git>, #<Pathname:/Users/admin/.cocoapods/repos/chengyinglpl-2>=>#<Pod::Source name:chengyinglpl-2 type:git>, #<Pathname:/Users/admin/.cocoapods/repos/master>=>#<Pod::Source name:master type:git>, #<Pathname:/Users/admin/.cocoapods/repos/poizon-dupublicspecs>=>#<Pod::Source name:poizon-dupublicspecs type:git>, #<Pathname:/Users/admin/.cocoapods/repos/PrivatePods>=>#<Pod::Source name:PrivatePods type:git>, #<Pathname:/Users/admin/.cocoapods/repos/shihuo-95fen-ios>=>#<Pod::Source name:shihuo-95fen-ios type:git>, #<Pathname:/Users/admin/.cocoapods/repos/shihuo-nfspecs>=>#<Pod::Source name:shihuo-nfspecs type:git>, #<Pathname:/Users/admin/.cocoapods/repos/shizhuang-inc-dupublicspecs>=>#<Pod::Source name:shizhuang-inc-dupublicspecs type:git>, #<Pathname:/Users/admin/.cocoapods/repos/spec_bin_dev>=>#<Pod::Source name:spec_bin_dev type:git>, #<Pathname:/Users/admin/.cocoapods/repos/trunk>=>#<Pod::TrunkSource name:trunk type:CDN>}, @aggregates_by_repos={[#<Pathname:/Users/admin/.cocoapods/repos/chengyinglpl>, #<Pathname:/Users/admin/.cocoapods/repos/chengyinglpl-1>, #<Pathname:/Users/admin/.cocoapods/repos/chengyinglpl-2>, #<Pathname:/Users/admin/.cocoapods/repos/master>, #<Pathname:/Users/admin/.cocoapods/repos/poizon-dupublicspecs>, #<Pathname:/Users/admin/.cocoapods/repos/PrivatePods>, #<Pathname:/Users/admin/.cocoapods/repos/shihuo-95fen-ios>, #<Pathname:/Users/admin/.cocoapods/repos/shihuo-nfspecs>, #<Pathname:/Users/admin/.cocoapods/repos/shizhuang-inc-dupublicspecs>, #<Pathname:/Users/admin/.cocoapods/repos/spec_bin_dev>, #<Pathname:/Users/admin/.cocoapods/repos/trunk>]=>#<Pod::Source::Aggregate:0x00007f84480f4d70 @sources=[#<Pod::Source name:chengyinglpl type:git>, #<Pod::Source name:chengyinglpl-1 type:git>, #<Pod::Source name:chengyinglpl-2 type:git>, #<Pod::Source name:master type:git>, #<Pod::Source name:poizon-dupublicspecs type:git>, #<Pod::Source name:PrivatePods type:git>, #<Pod::Source name:shihuo-95fen-ios type:git>, #<Pod::Source name:shihuo-nfspecs type:git>, #<Pod::Source name:shizhuang-inc-dupublicspecs type:git>, #<Pod::Source name:spec_bin_dev type:git>, #<Pod::TrunkSource name:trunk type:CDN>]>}>, @installation_root=#<Pathname:/Users/admin/Downloads/Swift-OC-Demo-master>, @podfile_path=#<Pathname:/Users/admin/Downloads/Swift-OC-Demo-master/Podfile>, @podfile=#<Pod::Podfile:0x00007f844291a1e0 @defined_in_file=#<Pathname:/Users/admin/Downloads/Swift-OC-Demo-master/Podfile>, @internal_hash={"sources"=>["https://cdn.cocoapods.org/"]}, @root_target_definitions=[#<Pod::Podfile::TargetDefinition label=Pods>], @current_target_definition=#<Pod::Podfile::TargetDefinition label=Pods>>, @lockfile_path=#<Pathname:/Users/admin/Downloads/Swift-OC-Demo-master/Podfile.lock>, @lockfile=#<Pod::Lockfile>>, @podfile_path=#<Pathname:/Users/admin/Downloads/Swift-OC-Demo-master/Podfile>, @podfile=#<Pod::Podfile:0x00007f844894e7c8 @defined_in_file=#<Pathname:/Users/admin/Downloads/Swift-OC-Demo-master/Podfile>, @internal_hash={"sources"=>["https://cdn.cocoapods.org/"]}, @root_target_definitions=[#<Pod::Podfile::TargetDefinition label=Pods>], @current_target_definition=#<Pod::Podfile::TargetDefinition label=Pods>>, @use_podfile=true, @use_podfile_plugins=true, @podfile_plugins={"cocoapods-imy-bin"=>{}}, @lockfile=#<Pod::Lockfile>, @use_lockfile=true, @use_lockfile_versions=true, @use_libraries=false, @generate_multiple_pod_projects=false, @incremental_installation=false, @gen_directory=#<Pathname:/Users/admin/Downloads/Swift-OC-Demo-master-build-temp/bin-archive>, @auto_open=false, @clean=true, @app_host_source_dir=nil, @podspec_paths=[#<Pathname:/Users/admin/Downloads/Swift-OC-Demo-master/Swift-OC.podspec>, #<Pathname:/Users/admin/Downloads/Swift-OC-Demo-master/Swift-OC.podspec>], @podspecs=[#<Pod::Specification name="Swift-OC">, #<Pod::Specification name="Swift-OC">], @sources=["git@github.com:chengyinglpl/spec_bin_dev.git", "git@github.com:chengyinglpl/Swift-OC-Demo.git", "git@github.com:chengyinglpl/spec_bin_dev.git", "git@github.com:chengyinglpl/Swift-OC-Demo.git", "https://cdn.cocoapods.org"], @repo_update=false, @use_default_plugins=false, @deterministic_uuids=false, @share_schemes_for_development_pods=true, @warn_for_multiple_pod_sources=false, @use_modular_headers=false>>
Did you mean?  podfile_dependencies
/Users/admin/.rvm/rubies/ruby-3.0.0/lib/ruby/gems/3.0.0/gems/cocoapods-imy-bin-0.3.0.11/lib/cocoapods-imy-bin/native/podfile_generator.rb:34:in `block in podfile_for_spec'
/Users/admin/.rvm/rubies/ruby-3.0.0/lib/ruby/gems/3.0.0/gems/cocoapods-core-1.10.1/lib/cocoapods-core/podfile.rb:50:in `instance_eval'
/Users/admin/.rvm/rubies/ruby-3.0.0/lib/ruby/gems/3.0.0/gems/cocoapods-core-1.10.1/lib/cocoapods-core/podfile.rb:50:in `initialize'
/Users/admin/.rvm/rubies/ruby-3.0.0/lib/ruby/gems/3.0.0/gems/cocoapods-imy-bin-0.3.0.11/lib/cocoapods-imy-bin/native/podfile_generator.rb:26:in `new'
/Users/admin/.rvm/rubies/ruby-3.0.0/lib/ruby/gems/3.0.0/gems/cocoapods-imy-bin-0.3.0.11/lib/cocoapods-imy-bin/native/podfile_generator.rb:26:in `podfile_for_spec'
/Users/admin/.rvm/rubies/ruby-3.0.0/lib/ruby/gems/3.0.0/gems/cocoapods-generate-1.4.1/lib/cocoapods/generate/podfile_generator.rb:22:in `block in podfiles_by_spec'
/Users/admin/.rvm/rubies/ruby-3.0.0/lib/ruby/gems/3.0.0/gems/cocoapods-generate-1.4.1/lib/cocoapods/generate/podfile_generator.rb:21:in `map'
/Users/admin/.rvm/rubies/ruby-3.0.0/lib/ruby/gems/3.0.0/gems/cocoapods-generate-1.4.1/lib/cocoapods/generate/podfile_generator.rb:21:in `podfiles_by_spec'
/Users/admin/.rvm/rubies/ruby-3.0.0/lib/ruby/gems/3.0.0/gems/cocoapods-generate-1.4.1/lib/cocoapods/command/gen.rb:67:in `run'
/Users/admin/.rvm/rubies/ruby-3.0.0/lib/ruby/gems/3.0.0/gems/cocoapods-imy-bin-0.3.0.11/lib/cocoapods-imy-bin/command/bin/archive.rb:176:in `block (2 levels) in generate_project'
/Users/admin/.rvm/rubies/ruby-3.0.0/lib/ruby/gems/3.0.0/gems/cocoapods-imy-bin-0.3.0.11/lib/cocoapods-imy-bin/native/podfile_env.rb:29:in `execute_with_key'
/Users/admin/.rvm/rubies/ruby-3.0.0/lib/ruby/gems/3.0.0/gems/cocoapods-imy-bin-0.3.0.11/lib/cocoapods-imy-bin/native/podfile_env.rb:22:in `execute_with_use_binaries'
/Users/admin/.rvm/rubies/ruby-3.0.0/lib/ruby/gems/3.0.0/gems/cocoapods-imy-bin-0.3.0.11/lib/cocoapods-imy-bin/command/bin/archive.rb:155:in `block in generate_project'
/Users/admin/.rvm/rubies/ruby-3.0.0/lib/ruby/gems/3.0.0/gems/cocoapods-imy-bin-0.3.0.11/lib/cocoapods-imy-bin/native/podfile_env.rb:29:in `execute_with_key'
/Users/admin/.rvm/rubies/ruby-3.0.0/lib/ruby/gems/3.0.0/gems/cocoapods-imy-bin-0.3.0.11/lib/cocoapods-imy-bin/native/podfile_env.rb:14:in `execute_with_bin_plugin'
/Users/admin/.rvm/rubies/ruby-3.0.0/lib/ruby/gems/3.0.0/gems/cocoapods-imy-bin-0.3.0.11/lib/cocoapods-imy-bin/command/bin/archive.rb:154:in `generate_project'
/Users/admin/.rvm/rubies/ruby-3.0.0/lib/ruby/gems/3.0.0/gems/cocoapods-imy-bin-0.3.0.11/lib/cocoapods-imy-bin/command/bin/archive.rb:70:in `run'
/Users/admin/.rvm/rubies/ruby-3.0.0/lib/ruby/gems/3.0.0/gems/cocoapods-imy-bin-0.3.0.11/lib/cocoapods-imy-bin/command/bin/auto.rb:126:in `run_archive'
/Users/admin/.rvm/rubies/ruby-3.0.0/lib/ruby/gems/3.0.0/gems/cocoapods-imy-bin-0.3.0.11/lib/cocoapods-imy-bin/command/bin/auto.rb:54:in `run'
/Users/admin/.rvm/rubies/ruby-3.0.0/lib/ruby/gems/3.0.0/gems/claide-1.0.3/lib/claide/command.rb:334:in `run'
/Users/admin/.rvm/rubies/ruby-3.0.0/lib/ruby/gems/3.0.0/gems/cocoapods-1.10.1/lib/cocoapods/command.rb:52:in `run'
/Users/admin/.rvm/rubies/ruby-3.0.0/lib/ruby/gems/3.0.0/gems/cocoapods-1.10.1/bin/pod:55:in `<top (required)>'
/Users/admin/.rvm/rubies/ruby-3.0.0/bin/pod:23:in `load'
/Users/admin/.rvm/rubies/ruby-3.0.0/bin/pod:23:in `<main>'
/Users/admin/.rvm/rubies/ruby-3.0.0/bin/ruby_executable_hooks:22:in `eval'
/Users/admin/.rvm/rubies/ruby-3.0.0/bin/ruby_executable_hooks:22:in `<main>'

――― TEMPLATE END ――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――

[!] Oh no, an error occurred.

It appears to have originated from your Podfile at line 0.

Search for existing GitHub issues similar to yours:
https://github.com/CocoaPods/CocoaPods/search?q=undefined+method+%60podfile_plugins%27+for+%23%3CPod%3A%3AGenerate%3A%3APodfileGenerator%3A0x00007f84441e4978+%40configuration%3D%23%3CPod%3A%3AGenerate%3A%3AConfiguration%3A0x00007f844894ea70+%40pod_config%3D%23%3CPod%3A%3AConfig%3A0x00007f84440f4810+%40verbose%3Dtrue%2C+%40silent%3Dfalse%2C+%40skip_download_cache%3Dfalse%2C+%40new_version_message%3Dtrue%2C+%40cache_root%3D%23%3CPathname%3A%2FUsers%2Fadmin%2FLibrary%2FCaches%2FCocoaPods%3E%2C+%40home_dir%3D%23%3CPathname%3A%2FUsers%2Fadmin%2F.cocoapods%3E%2C+%40templates_dir%3D%23%3CPathname%3A%2FUsers%2Fadmin%2F.cocoapods%2Ftemplates%3E%2C+%40repos_dir%3D%23%3CPathname%3A%2FUsers%2Fadmin%2F.cocoapods%2Frepos%3E%2C+%40allow_root%3Dnil%2C+%40sources_manager%3D%23%3CPod%3A%3ASource%3A%3AManager%3A0x00007f844792fab8+%40repos_dir%3D%23%3CPathname%3A%2FUsers%2Fadmin%2F.cocoapods%2Frepos%3E%2C+%40sources_by_path%3D%7B%23%3CPathname%3A%2FUsers%2Fadmin%2F.cocoapods%2Frepos%2Fchengyinglpl%3E%3D%3E%23%3CPod%3A%3ASource+name%3Achengyinglpl+type%3Agit%3E%2C+%23%3CPathname%3A%2FUsers%2Fadmin%2F.cocoapods%2Frepos%2Fchengyinglpl-1%3E%3D%3E%23%3CPod%3A%3ASource+name%3Achengyinglpl-1+type%3Agit%3E%2C+%23%3CPathname%3A%2FUsers%2Fadmin%2F.cocoapods%2Frepos%2Fchengyinglpl-2%3E%3D%3E%23%3CPod%3A%3ASource+name%3Achengyinglpl-2+type%3Agit%3E%2C+%23%3CPathname%3A%2FUsers%2Fadmin%2F.cocoapods%2Frepos%2Fmaster%3E%3D%3E%23%3CPod%3A%3ASource+name%3Amaster+type%3Agit%3E%2C+%23%3CPathname%3A%2FUsers%2Fadmin%2F.cocoapods%2Frepos%2Fpoizon-dupublicspecs%3E%3D%3E%23%3CPod%3A%3ASource+name%3Apoizon-dupublicspecs+type%3Agit%3E%2C+%23%3CPathname%3A%2FUsers%2Fadmin%2F.cocoapods%2Frepos%2FPrivatePods%3E%3D%3E%23%3CPod%3A%3ASource+name%3APrivatePods+type%3Agit%3E%2C+%23%3CPathname%3A%2FUsers%2Fadmin%2F.cocoapods%2Frepos%2Fshihuo-95fen-ios%3E%3D%3E%23%3CPod%3A%3ASource+name%3Ashihuo-95fen-ios+type%3Agit%3E%2C+%23%3CPathname%3A%2FUsers%2Fadmin%2F.cocoapods%2Frepos%2Fshihuo-nfspecs%3E%3D%3E%23%3CPod%3A%3ASource+name%3Ashihuo-nfspecs+type%3Agit%3E%2C+%23%3CPathname%3A%2FUsers%2Fadmin%2F.cocoapods%2Frepos%2Fshizhuang-inc-dupublicspecs%3E%3D%3E%23%3CPod%3A%3ASource+name%3Ashizhuang-inc-dupublicspecs+type%3Agit%3E%2C+%23%3CPathname%3A%2FUsers%2Fadmin%2F.cocoapods%2Frepos%2Fspec_bin_dev%3E%3D%3E%23%3CPod%3A%3ASource+name%3Aspec_bin_dev+type%3Agit%3E%2C+%23%3CPathname%3A%2FUsers%2Fadmin%2F.cocoapods%2Frepos%2Ftrunk%3E%3D%3E%23%3CPod%3A%3ATrunkSource+name%3Atrunk+type%3ACDN%3E%7D%2C+%40aggregates_by_repos%3D%7B%5B%23%3CPathname%3A%2FUsers%2Fadmin%2F.cocoapods%2Frepos%2Fchengyinglpl%3E%2C+%23%3CPathname%3A%2FUsers%2Fadmin%2F.cocoapods%2Frepos%2Fchengyinglpl-1%3E%2C+%23%3CPathname%3A%2FUsers%2Fadmin%2F.cocoapods%2Frepos%2Fchengyinglpl-2%3E%2C+%23%3CPathname%3A%2FUsers%2Fadmin%2F.cocoapods%2Frepos%2Fmaster%3E%2C+%23%3CPathname%3A%2FUsers%2Fadmin%2F.cocoapods%2Frepos%2Fpoizon-dupublicspecs%3E%2C+%23%3CPathname%3A%2FUsers%2Fadmin%2F.cocoapods%2Frepos%2FPrivatePods%3E%2C+%23%3CPathname%3A%2FUsers%2Fadmin%2F.cocoapods%2Frepos%2Fshihuo-95fen-ios%3E%2C+%23%3CPathname%3A%2FUsers%2Fadmin%2F.cocoapods%2Frepos%2Fshihuo-nfspecs%3E%2C+%23%3CPathname%3A%2FUsers%2Fadmin%2F.cocoapods%2Frepos%2Fshizhuang-inc-dupublicspecs%3E%2C+%23%3CPathname%3A%2FUsers%2Fadmin%2F.cocoapods%2Frepos%2Fspec_bin_dev%3E%2C+%23%3CPathname%3A%2FUsers%2Fadmin%2F.cocoapods%2Frepos%2Ftrunk%3E%5D%3D%3E%23%3CPod%3A%3ASource%3A%3AAggregate%3A0x00007f84480f4d70+%40sources%3D%5B%23%3CPod%3A%3ASource+name%3Achengyinglpl+type%3Agit%3E%2C+%23%3CPod%3A%3ASource+name%3Achengyinglpl-1+type%3Agit%3E%2C+%23%3CPod%3A%3ASource+name%3Achengyinglpl-2+type%3Agit%3E%2C+%23%3CPod%3A%3ASource+name%3Amaster+type%3Agit%3E%2C+%23%3CPod%3A%3ASource+name%3Apoizon-dupublicspecs+type%3Agit%3E%2C+%23%3CPod%3A%3ASource+name%3APrivatePods+type%3Agit%3E%2C+%23%3CPod%3A%3ASource+name%3Ashihuo-95fen-ios+type%3Agit%3E%2C+%23%3CPod%3A%3ASource+name%3Ashihuo-nfspecs+type%3Agit%3E%2C+%23%3CPod%3A%3ASource+name%3Ashizhuang-inc-dupublicspecs+type%3Agit%3E%2C+%23%3CPod%3A%3ASource+name%3Aspec_bin_dev+type%3Agit%3E%2C+%23%3CPod%3A%3ATrunkSource+name%3Atrunk+type%3ACDN%3E%5D%3E%7D%3E%2C+%40installation_root%3D%23%3CPathname%3A%2FUsers%2Fadmin%2FDownloads%2FSwift-OC-Demo-master%3E%2C+%40podfile_path%3D%23%3CPathname%3A%2FUsers%2Fadmin%2FDownloads%2FSwift-OC-Demo-master%2FPodfile%3E%2C+%40podfile%3D%23%3CPod%3A%3APodfile%3A0x00007f844291a1e0+%40defined_in_file%3D%23%3CPathname%3A%2FUsers%2Fadmin%2FDownloads%2FSwift-OC-Demo-master%2FPodfile%3E%2C+%40internal_hash%3D%7B%22sources%22%3D%3E%5B%22https%3A%2F%2Fcdn.cocoapods.org%2F%22%5D%7D%2C+%40root_target_definitions%3D%5B%23%3CPod%3A%3APodfile%3A%3ATargetDefinition+label%3DPods%3E%5D%2C+%40current_target_definition%3D%23%3CPod%3A%3APodfile%3A%3ATargetDefinition+label%3DPods%3E%3E%2C+%40lockfile_path%3D%23%3CPathname%3A%2FUsers%2Fadmin%2FDownloads%2FSwift-OC-Demo-master%2FPodfile.lock%3E%2C+%40lockfile%3D%23%3CPod%3A%3ALockfile%3E%3E%2C+%40podfile_path%3D%23%3CPathname%3A%2FUsers%2Fadmin%2FDownloads%2FSwift-OC-Demo-master%2FPodfile%3E%2C+%40podfile%3D%23%3CPod%3A%3APodfile%3A0x00007f844894e7c8+%40defined_in_file%3D%23%3CPathname%3A%2FUsers%2Fadmin%2FDownloads%2FSwift-OC-Demo-master%2FPodfile%3E%2C+%40internal_hash%3D%7B%22sources%22%3D%3E%5B%22https%3A%2F%2Fcdn.cocoapods.org%2F%22%5D%7D%2C+%40root_target_definitions%3D%5B%23%3CPod%3A%3APodfile%3A%3ATargetDefinition+label%3DPods%3E%5D%2C+%40current_target_definition%3D%23%3CPod%3A%3APodfile%3A%3ATargetDefinition+label%3DPods%3E%3E%2C+%40use_podfile%3Dtrue%2C+%40use_podfile_plugins%3Dtrue%2C+%40podfile_plugins%3D%7B%22cocoapods-imy-bin%22%3D%3E%7B%7D%7D%2C+%40lockfile%3D%23%3CPod%3A%3ALockfile%3E%2C+%40use_lockfile%3Dtrue%2C+%40use_lockfile_versions%3Dtrue%2C+%40use_libraries%3Dfalse%2C+%40generate_multiple_pod_projects%3Dfalse%2C+%40incremental_installation%3Dfalse%2C+%40gen_directory%3D%23%3CPathname%3A%2FUsers%2Fadmin%2FDownloads%2FSwift-OC-Demo-master-build-temp%2Fbin-archive%3E%2C+%40auto_open%3Dfalse%2C+%40clean%3Dtrue%2C+%40app_host_source_dir%3Dnil%2C+%40podspec_paths%3D%5B%23%3CPathname%3A%2FUsers%2Fadmin%2FDownloads%2FSwift-OC-Demo-master%2FSwift-OC.podspec%3E%2C+%23%3CPathname%3A%2FUsers%2Fadmin%2FDownloads%2FSwift-OC-Demo-master%2FSwift-OC.podspec%3E%5D%2C+%40podspecs%3D%5B%23%3CPod%3A%3ASpecification+name%3D%22Swift-OC%22%3E%2C+%23%3CPod%3A%3ASpecification+name%3D%22Swift-OC%22%3E%5D%2C+%40sources%3D%5B%22git%40github.com%3Achengyinglpl%2Fspec_bin_dev.git%22%2C+%22git%40github.com%3Achengyinglpl%2FSwift-OC-Demo.git%22%2C+%22git%40github.com%3Achengyinglpl%2Fspec_bin_dev.git%22%2C+%22git%40github.com%3Achengyinglpl%2FSwift-OC-Demo.git%22%2C+%22https%3A%2F%2Fcdn.cocoapods.org%22%5D%2C+%40repo_update%3Dfalse%2C+%40use_default_plugins%3Dfalse%2C+%40deterministic_uuids%3Dfalse%2C+%40share_schemes_for_development_pods%3Dtrue%2C+%40warn_for_multiple_pod_sources%3Dfalse%2C+%40use_modular_headers%3Dfalse%3E%3E%0ADid+you+mean%3F++podfile_dependencies&type=Issues

If none exists, create a ticket, with the template displayed above, on:
https://github.com/CocoaPods/CocoaPods/issues/new

Be sure to first read the contributing guide for details on how to properly submit a ticket:
https://github.com/CocoaPods/CocoaPods/blob/master/CONTRIBUTING.md

Don't forget to anonymize any private data!

Looking for related issues on cocoapods/cocoapods...
Searching for inspections failed: undefined method `map' for nil:NilClass

[!] cocoapods-generate requires CocoaPods >= 1.5.0

[!] ====== cocoapods-imy-bin 0.3.0.11 版本 ========

[!] ====== dev 环境 ========

你的ruby版本太高了,换成2.7.2应该可以

TypeError - no implicit conversion of nil into String
/Users/shuai/.rvm/gems/ruby-2.7.2/gems/cocoapods-core-1.11.2/lib/cocoapods-core/specification.rb:711:in `initialize'
/Users/shuai/.rvm/gems/ruby-2.7.2/gems/cocoapods-core-1.11.2/lib/cocoapods-core/specification.rb:711:in `new'
/Users/shuai/.rvm/gems/ruby-2.7.2/gems/cocoapods-core-1.11.2/lib/cocoapods-core/specification.rb:711:in `from_file'
/Users/shuai/.rvm/rubies/ruby-2.7.2/lib/ruby/gems/2.7.0/gems/cocoapods-imy-bin-0.3.1.3/lib/cocoapods-imy-bin/command/bin/auto.rb:33:in `initialize'
/Users/shuai/.rvm/gems/ruby-2.7.2/gems/claide-1.0.3/lib/claide/command.rb:356:in `new'
/Users/shuai/.rvm/gems/ruby-2.7.2/gems/claide-1.0.3/lib/claide/command.rb:356:in `parse'
/Users/shuai/.rvm/gems/ruby-2.7.2/gems/claide-1.0.3/lib/claide/command.rb:352:in `parse'
/Users/shuai/.rvm/gems/ruby-2.7.2/gems/claide-1.0.3/lib/claide/command.rb:352:in `parse'
/Users/shuai/.rvm/gems/ruby-2.7.2/gems/claide-1.0.3/lib/claide/command.rb:330:in `run'
/Users/shuai/.rvm/gems/ruby-2.7.2/gems/cocoapods-1.11.2/lib/cocoapods/command.rb:52:in `run'
/Users/shuai/.rvm/gems/ruby-2.7.2/gems/cocoapods-1.11.2/bin/pod:55:in `<top (required)>'
/Users/shuai/.rvm/gems/ruby-2.7.2/bin/pod:23:in `load'
/Users/shuai/.rvm/gems/ruby-2.7.2/bin/pod:23:in `<main>'
/Users/shuai/.rvm/gems/ruby-2.7.2/bin/ruby_executable_hooks:22:in `eval'
/Users/shuai/.rvm/gems/ruby-2.7.2/bin/ruby_executable_hooks:22:in `<main>'

2.7.2也不行

TypeError - no implicit conversion of nil into String
/Users/shuai/.rvm/gems/ruby-2.7.2/gems/cocoapods-core-1.11.2/lib/cocoapods-core/specification.rb:711:in `initialize'
/Users/shuai/.rvm/gems/ruby-2.7.2/gems/cocoapods-core-1.11.2/lib/cocoapods-core/specification.rb:711:in `new'
/Users/shuai/.rvm/gems/ruby-2.7.2/gems/cocoapods-core-1.11.2/lib/cocoapods-core/specification.rb:711:in `from_file'
/Users/shuai/.rvm/rubies/ruby-2.7.2/lib/ruby/gems/2.7.0/gems/cocoapods-imy-bin-0.3.1.3/lib/cocoapods-imy-bin/command/bin/auto.rb:33:in `initialize'
/Users/shuai/.rvm/gems/ruby-2.7.2/gems/claide-1.0.3/lib/claide/command.rb:356:in `new'
/Users/shuai/.rvm/gems/ruby-2.7.2/gems/claide-1.0.3/lib/claide/command.rb:356:in `parse'
/Users/shuai/.rvm/gems/ruby-2.7.2/gems/claide-1.0.3/lib/claide/command.rb:352:in `parse'
/Users/shuai/.rvm/gems/ruby-2.7.2/gems/claide-1.0.3/lib/claide/command.rb:352:in `parse'
/Users/shuai/.rvm/gems/ruby-2.7.2/gems/claide-1.0.3/lib/claide/command.rb:330:in `run'
/Users/shuai/.rvm/gems/ruby-2.7.2/gems/cocoapods-1.11.2/lib/cocoapods/command.rb:52:in `run'
/Users/shuai/.rvm/gems/ruby-2.7.2/gems/cocoapods-1.11.2/bin/pod:55:in `<top (required)>'
/Users/shuai/.rvm/gems/ruby-2.7.2/bin/pod:23:in `load'
/Users/shuai/.rvm/gems/ruby-2.7.2/bin/pod:23:in `<main>'
/Users/shuai/.rvm/gems/ruby-2.7.2/bin/ruby_executable_hooks:22:in `eval'
/Users/shuai/.rvm/gems/ruby-2.7.2/bin/ruby_executable_hooks:22:in `<main>'

2.7.2也不行

那我就不清楚了,感觉这个工具坑很多

这个插件学习成本太高,即使你解决了这个问题,后面还会有一大推问题等着你去解决,总之这个工具使用困难、不具备普适性,demo何其简单单向问题还如此之多,可想运用到真实项目中,解决各种问题的时间远比省下的那些编译时间多的多,而且还消磨耐心~,不建议运用到线上项目中