NSPasteboard is not available when debugging iOS apps (or at least I don't know how to get it). Instead temp. file gets created and redirect it to pbcopy utility.