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

Report

What did you do?

Run pod install

What did you expect to happen?

Install all pod dependencies correctly.

What happened instead?

Got error: "Xcodeproj doesn't know about the following attributes {"inputFileListPaths"=>[], "outputFileListPaths"=>[]} for the 'PBXShellScriptBuildPhase' isa"

CocoaPods Environment

Stack

   CocoaPods : 1.5.3
        Ruby : ruby 2.3.6p384 (2017-12-14 revision 61254) [universal.x86_64-darwin18]
    RubyGems : 2.5.2.2
        Host : Mac OS X 10.14 (18A293u)
       Xcode : 9.4 (9F1027a)
         Git : git version 2.15.1 (Apple Git-101)
Ruby lib dir : /System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib
Repositories : GSPods - ssh://git@git.geo4.pro:49384/ios/GSPods.git @ b6f6bbe0011db70e436918e8c3b6bc889150a0c7
               master - https://github.com/CocoaPods/Specs.git @ 66d002cdf4467b318684487888e984abe72e45d1

Also using Xcode 10 beta

Installation Source

Executable Path: /usr/local/bin/pod

Plugins

cocoapods-deintegrate : 1.0.2
cocoapods-plugins     : 1.0.0
cocoapods-search      : 1.0.0
cocoapods-stats       : 1.0.0
cocoapods-trunk       : 1.3.0
cocoapods-try         : 1.1.0

Podfile

use_frameworks!

target 'GSMapCamera_Example' do
  pod 'GSMapCamera', :path => '../'
  pod 'SwiftLint'

  target 'GSMapCamera_Tests' do
    inherit! :search_paths

    pod 'Quick', '~> 1.2.0'
    pod 'Nimble', '~> 7.0.2'
  end
end
40 Answers

βœ”οΈAccepted Answer

Or try gem update xcodeproj.

Other Answers:

@dnkoutso that issue can happen even when the lists are empty in Xcode 10 UI.
I had to manually edit the project.pbxproj file and delete the concerned lines to be free of that issue.

image

I got the same issue when my CocoaPods Environment is:

- CocoaPods : 1.5.3
- Ruby : ruby 2.3.7p456 (2018-03-28 revision 63024) [universal.x86_64-darwin18]
- Host : Mac OS X 10.14 
- Xcode : 10.0 (10A255)

But now I find a solution, and it is working for me:

  1. upgrade ruby: brew install ruby
  2. uninstall cocoapods: sudo gem uninstall cocoapods
  3. reinstall cocoapods: sudo gem install -n /usr/local/bin cocoapods
  4. done

now My CocoaPods Environment is:

- CocoaPods : 1.5.3
- Ruby : ruby 2.5.1p57 (2018-03-29 revision 63029) [x86_64-darwin18]
- Host : Mac OS X 10.14 
- Xcode : 10.0 (10A255)

@segiddins its simple, any Xcode 10 project that has a new script phase that has input file list or output file list shows this warning.

screen_shot_2018-06-14_at_11_11_22_pm

If a user actually adds an entry to these then pod install crashes with "Xcodeproj Unknown Object version"

Or try gem update xcodeproj.

Top Solution!!!

More Issues: