Post

Replies

Boosts

Views

Activity

Reply to Use of 'print' refers to instance method rather than global function 'print(_:separator:terminator:)' in module 'Swift'
I believe you have a function called print() in some of your classes/structs and inside it you have some kind of print("Something..."). Xcode complains because it doesn't know which print function to call, the one you declared yourself or the native function for printing content. If this is the case, then you can: Rename your own print() function or Change print statement from print("Something") into Swift.print("Something")
Aug ’23