美文网首页Cocoapods
CocoaPods异常-[!] Invalid `Podfile

CocoaPods异常-[!] Invalid `Podfile

作者: codeTao | 来源:发表于2016-08-05 19:32 被阅读739次

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

    相关文章

      网友评论

        本文标题:CocoaPods异常-[!] Invalid `Podfile

        本文链接:https://www.haomeiwen.com/subject/akxksttx.html