Hello
I'm currently upgrading an app because said app age requieres an upgrade and I've started a new empty project, when I get to the printing functionality after som weeks of work to my demise I can't get it to work, in essence my code looks like this:
let vista = NSView()
vista.setFrameSize(NSSize(width: 400, height: 800))
let operacion = NSPrintOperation(view: vista)
operacion.run()
But I just get this system warning, "This application does not support printing."
I´ve had checked the printing option in the project sandbox, and even deleted the sandbox itself with the same result. I even created a new empty project with this sole function with the same result but if I make a new project with a different name it works without a hitch, this error only occurs with projects with the same bundle identifier as my old app.
I am a lost with this issue and I greatly appreciate any help.
Thanks
Topic:
UI Frameworks
SubTopic:
AppKit