Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

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.

like image 872
Alexander Vasenin Avatar asked Sep 06 '18 08:09

Alexander Vasenin


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.

like image 69
Alexander Vasenin Avatar answered Oct 23 '22 08:10

Alexander Vasenin


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

  );
like image 37
Purnendu roy Avatar answered Oct 23 '22 08:10

Purnendu roy


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

like image 2
rswayz Avatar answered Oct 23 '22 07:10

rswayz


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

like image 1
Anunay Avatar answered Oct 23 '22 07:10

Anunay