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:
sudo gem update cocoapods --pre
pod update
- clean
- 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
- Open terminal under project folder
pod deintegrate
sudo gem install cocoapods-clean
pod clean
- Open the project and delete (if it's still there) the “Pods” folder that should be red
pod setup
(This may take some time)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.
Since this change is present in the pods 1.10 beta, it will probably be present in releases 1.10 and greater.
Related Topics
How to Consecutively Present Two Alert Views Using Swiftui
Swiftui Holding Reference to Deleted Core Data Object Causing Crash
How to Access the Real 100Vh on iOS in CSS
How to Handle iPhone Screen Sizes/Resolution for Background Images
Retain Cycle (Strong Reference) Fix for Custom Uitextfield
Change Lock Screen Background Audio Controls Text
How to Limit an iOS App Only to 4 Inch Screen Devices
Migrating from Uiwebview to Wkwebview
Xcode Suddenly Stopped Running Project on Hardware: "Could Not Launch Xxx.App: .. No Such File.."
How to Open Maps App Programmatically with Coordinates in Swift
Iphone:How to Detect the End of Slider Drag
Convert Mkcoordinateregion to Mkmaprect
Ios11 Photo Library Access Is Possible Even If Settings Are Set to "Never"
How to Change the Default Text of Cancel Button Which Appears in the Uisearchbar +Iphone
iOS Different Font Sizes Within Single Size Class for Different Devices