You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Unfortunately in later versions of iOS 9 Apple introduced functionality that prevents non-foreground apps (including command-line processes) from reading from the clipboard.
This is enforced by pasteboardd; it uses -[BKSApplicationStateMonitor applicationInfoForPID:completion:] to get info about the app, and appears to check if the app's SBApplicationStateKey reflects that it's a foreground app, or that the value for SBApplicationStateRunningReasonKey is com.apple.viewservice.session.
The best path forward would probably be to add a substrate tweak to hook AssertionServices.framework to always consider pbpaste to be a foreground app. I don't have time to implement this right now, but hope to address at some point!
doesnt look like this is maintained but figure its worth a try.
pbpaste is not working on 9.3.3 just outputs blank text
The text was updated successfully, but these errors were encountered: