18

I'm trying to install a pod with pod install and getting the following error:

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

I'm using CocoaPods 1.5.3 and Xcode 10.

Alexander Vasenin
  • 11,437
  • 4
  • 42
  • 70

4 Answers4

47

This is a known bug introduced by Xcode 10 which fixed in CocoaPods 1.6.0. Right now (Jan 2019) it's in beta, so you can install it with

sudo gem install cocoapods --pre

Alternative solution for CocoaPods 1.5.3 could be found here.

Alexander Vasenin
  • 11,437
  • 4
  • 42
  • 70
10

This will surely work, It worked for me. cheers!!!

You have to remove following from your from the project.pbxproj file.

enter image description here

Remove following

  inputFileListPaths = (

  );


  outputFileListPaths = (

  );
Purnendu roy
  • 818
  • 8
  • 15
2

...also, for the solution provided by @Purnendu roy, here's how to access the aforementioned project.pbxproj file. (right-clicking on the .xcodeproj file) (right click on your .xcodeproj file

rswayz
  • 1,122
  • 2
  • 10
  • 21
1

gem update xcodeproj worked for me, thanks to this post http://swiftdynamics.blogspot.com/2019/01/pod-install-issue-xcodeproj-doesnt-know_29.html

Anunay
  • 497
  • 3
  • 13