Cocoapods

CocoaPods异常-[!] Invalid `Podfile

2016-08-05  本文已影响739人  codeTao

终端错误信息:
[!] 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
上一篇 下一篇

猜你喜欢

热点阅读