Xcode 10.2 Update Issue Build System Error -1: Unable to Load Contents of File List: Input/Output Xcfilelist

Xcode 10.2 Update issue Build system error -1: Unable to load contents of file list: input/output xcfilelist

I struggled with this for several hours today and this is what finally worked for me:

  1. sudo gem update cocoapods --pre
  2. pod update
  3. clean
  4. build

From what I've read, this is an issue with the new build process that is enabled by default in Xcode 10.2 though I've not found the workaround clearly documented anywhere yet. There may be a more elegant solution than what I described.

Xcode Buildtime Error: 'Unable to load contents of file list: '.../Info.plist' (in target 'xxxx')

In my case, I just fixed below

  1. Open terminal under project folder
  2. pod deintegrate
  3. sudo gem install cocoapods-clean
  4. pod clean
  5. Open the project and delete (if it's still there) the “Pods” folder that should be red
  6. pod setup (This may take some time)
  7. pod install

Cocoapods 1.10.beta.2 - Unable to load contents of file list (xcfilelist)

It looks like the pods team recent switched from using the project's objectVersion to using the compatibilityVersion to decide whether or not to generate this file list, as seen in this commit.

By bumping your compatibility version to 9.3 (or greater) and running pod install, the missing file should be restored. To do so, select the project and select the desired version from the drop down list in your File Inspector.

File Inspector

Since this change is present in the pods 1.10 beta, it will probably be present in releases 1.10 and greater.



Related Topics



Leave a reply



Submit