代码之家  ›  专栏  ›  技术社区  ›  Alexander Vasenin

带有xcode10runtimeerror的cocoapod Xcodeproj不知道以下属性

  •  13
  • Alexander Vasenin  · 技术社区  · 6 年前

    pod install 并得到以下错误:

    RuntimeError - [!] Xcodeproj doesn't know about the following attributes {"inputFileListPaths"=>[], "outputFileListPaths"=>[]} for the 'PBXShellScriptBuildPhase' isa.
    

    我用的是cocoapods1.5.3和xcode10。

    3 回复  |  直到 6 年前
        1
  •  47
  •   Alexander Vasenin    6 年前

    这是xcode10引入的一个已知错误,在cocoapods1.6.0中修复了这个错误。现在(2019年1月)它是测试版,所以你可以用

    sudo gem install cocoapods --pre
    

    可以找到CocoaPods 1.5.3的替代解决方案 here .

        2
  •  8
  •   Purnendu roy    6 年前

    你必须从你的网站上删除以下内容 项目.pbxproj

    enter image description here

    删除以下内容

      inputFileListPaths = (
    
      );
    
    
      outputFileListPaths = (
    
      );
    
        3
  •  2
  •   rswayz    6 年前
        4
  •  1
  •   Anunay    5 年前