Reputation: 13053
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
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
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
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)
Upvotes: 2
Reputation: 818
This will surely work, It worked for me. cheers!!!
You have to remove following from your from the project.pbxproj file.
Remove following
inputFileListPaths = (
);
outputFileListPaths = (
);
Upvotes: 10