Alexander Vasenin
Alexander Vasenin

Reputation: 13053

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.

Upvotes: 19

Views: 6571

Answers (4)

Anunay
Anunay

Reputation: 507

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

Upvotes: 2

Alexander Vasenin
Alexander Vasenin

Reputation: 13053

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.

Upvotes: 47

rswayz
rswayz

Reputation: 1184

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

Upvotes: 2

Purnendu roy
Purnendu roy

Reputation: 818

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

  );

Upvotes: 10

Related Questions