日志报错如下
pod bin auto --all-make
/Users/xiong/Downloads/cocoapods-imy-bin-demo-master/Demo/Demo.xcodeproj
/Users/xiong/Downloads/cocoapods-imy-bin-demo-master/Demo/Demo
/Users/xiong/Downloads/cocoapods-imy-bin-demo-master/Demo/BinArchive.json
/Users/xiong/Downloads/cocoapods-imy-bin-demo-master/Demo/.DS_Store
/Users/xiong/Downloads/cocoapods-imy-bin-demo-master/Demo/Podfile_local
/Users/xiong/Downloads/cocoapods-imy-bin-demo-master/Demo/Demo_test.podspec
source 'https://github.com/cocoapods/specs.git'
#命令写在这里也是等效, 已移动到Podfile_local中,避免git提交冲突等场景
plugin 'cocoapods-imy-bin'
use_binaries!
target 'Demo' do
pod 'FMDB'
pod 'LKDBHelper'
pod 'YYModel',:podspec => 'https://github.com/ibireme/YYModel/raw/master/YYModel.podspec'
pod 'YYCache',:podspec => 'https://github.com/ibireme/YYCache/raw/master/YYCache.podspec'
end
日志报错如下
pod bin auto --all-make
/Users/xiong/Downloads/cocoapods-imy-bin-demo-master/Demo/Demo.xcodeproj /Users/xiong/Downloads/cocoapods-imy-bin-demo-master/Demo/Demo /Users/xiong/Downloads/cocoapods-imy-bin-demo-master/Demo/BinArchive.json /Users/xiong/Downloads/cocoapods-imy-bin-demo-master/Demo/.DS_Store /Users/xiong/Downloads/cocoapods-imy-bin-demo-master/Demo/Podfile_local /Users/xiong/Downloads/cocoapods-imy-bin-demo-master/Demo/Demo_test.podspec――― MARKDOWN TEMPLATE ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――
Command
Report
What did you do?
What did you expect to happen?
What happened instead?
Stack
Plugins
Podfile
Error
――― TEMPLATE END ――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――
[!] Oh no, an error occurred.
Search for existing GitHub issues similar to yours: https://github.com/CocoaPods/CocoaPods/search?q=undefined+method+%60podfile_for_spec%27+for+class+%60Pod%3A%3AGenerate%3A%3APodfileGenerator%27&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... Found no similar issues. To create a new issue, please visit: https://github.com/cocoapods/cocoapods/issues/new
插件PodfileGenerator 2.2.0 版本有对应method为 `podfile_for_specs'
插件cocoapods-imy-bin-0.3.0.11的podfile_generator.rb 对应method为podfile_for_spec
现在已通过更改cocoapods-imy-bin-0.3.0.11的podfile_generator.rb 定义method名,没有报错,请问后续有没有好的解决方式