Reputation: 2457
For some reason print is not printing anything to the console. I ran the debugger and it's definitely being called.
Do I need to set some kind of setting? I've got "All Output" selected
override func viewDidLoad() {
super.viewDidLoad()
print("viewDidLoad")
}
This is the only thing in my console
Upvotes: 0
Views: 4122
Reputation: 2457
Found the issue
deep in the project, hidden among lines of code...I found!
public func debugPrint(_ items: Any..., separator: String = " ", terminator: String = "\n") {}
public func print(_ items: Any..., separator: String = " ", terminator: String = "\n") {}
Actually, it was at the top of AppDelegate...oops
Upvotes: 4