CocoaPods with Xcode 10 RuntimeError Xcodeproj doesn't know about the following attributes

Viewed 5436

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.

4 Answers

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.

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 = (

  );

...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

Related