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 … Read more

Updating to latest version of CocoaPods?

Execute the following on your terminal to get the latest stable version: sudo gem install cocoapods Add –pre to get the latest pre release: sudo gem install cocoapods –pre If you originally installed the cocoapods gem using sudo, you should use that command again. Later on, when you’re actively using CocoaPods by installing pods, you … Read more

Xcode 8 – Missing Files warnings

This is just an Xcode bug. If you delete or rename a file without then doing a commit, Xcode sees the discrepancy between the previous git commit and the current state of things and reports these warnings. They go away as soon as you do a git add that includes the file deletion / rename.

How to use local-only project via CocoaPods

Local CocoaPods [Dependency manager] [Cocoapods with specyfic branch] Example with Git: Textual Podfile //Podfile pod supports: //default(try to find .podcpec in centralised repo), path //-remote pod ‘PodName’ //-local //local_path can be absolute or relative pod ‘PodName’, :path => ‘<local_path>.podspec’ Podspec //Podspec source supports: //git, svn, hg, http //-remote s.source = { :git => “https://url_to.git”, :tag … Read more

ld: framework not found Pods

In Project Navigator in the folder Pods I had a Pods.framework in there which was red. It was also present in Linked Frameworks and Libraries. I removed both references and the error disappeared. TL;DR Remove Pods.framework in: Folder named Pods Linked Frameworks and Libraries

coca pod Chart not appearing (Swift4)

Try this one it’s is Working (Swift 4 Code). import UIKit import Charts class RootViewController: UIViewController { @IBOutlet weak var lineChartView: BarChartView! var days: [String]! override func viewDidLoad() { super.viewDidLoad() days = [“Monday”,”Tuesday”,”Wednesday”,”Thursday”] let task = [1.0,4.0,3.0,5.0] setChart(dataPoints: days, values: task) } func setChart(dataPoints : [String], values : [Double]){ lineChartView.noDataText = “Nothining to display” var … Read more