终端错误信息:
[!] Invalid Podfile
file: undefined method `inherit!' for #<Pod::Podfile:0x007fb522b88ad8>. Updating CocoaPods might fix the issue.
# from /Users/sunke/Desktop/Yep-master/Podfile:51
# -------------------------------------------
# target 'YepKitTests' do
> inherit! :search_paths
# end
# -------------------------------------------
解决方案:
Open your Podfile and Remove Project_Tests block.
删除工程 test block,
然后更新CocoaPods ,调用命令
pod update --verbose --no-repo-update
示例1
示例2
网友评论