So this is for cases where the app has been installed on a user's watch for a long period of time. I do suspect that this could be tied to an installation issue too though. But at least in this case I think we've waited an appropriate amount of time for install to complete (and the app does consider it self to be installed because the app is launchable on the user's watch).
Post
Replies
Boosts
Views
Activity
Same issue here too.
I'm seeing the same issue but I haven't found a way to resolve it yet.
Am I the only one that's also seeing this issue on device? I started noticing it with iOS 14 and it's continued intermittently on iOS 15 too. Every once in a while my app just stops being able to paste text that was copied from anywhere. Force-quitting the app fixes it so that the app can paste again.
I've never gathered a sysdiagnose or anything, but I do have logs from when it's happened in the simulator too.
2022-01-19 22:57:34.052240-0600 Testing[13092:3724690] [scoped] <0x283552940 file:///var/mobile/Library/Caches/com.apple.Pasteboard/eb77e5f8f043896faf63b5041f0fbd121db984dd/e773525714f94678cc813686e707bb53ec1d2285>: internal sandbox error for <StartAccessing>
2022-01-19 22:57:34.060486-0600 Testing[13092:3724763] [claims] Upload preparation for claim 2B831962-7238-4C74-B05E-396F22C916EA completed with error: Error Domain=NSCocoaErrorDomain Code=257 "The file “e773525714f94678cc813686e707bb53ec1d2285” couldn’t be opened because you don’t have permission to view it." UserInfo={NSURL=file:///var/mobile/Library/Caches/com.apple.Pasteboard/eb77e5f8f043896faf63b5041f0fbd121db984dd/e773525714f94678cc813686e707bb53ec1d2285, NSFilePath=/var/mobile/Library/Caches/com.apple.Pasteboard/eb77e5f8f043896faf63b5041f0fbd121db984dd/e773525714f94678cc813686e707bb53ec1d2285, NSUnderlyingError=0x281ddb0f0 {Error Domain=NSPOSIXErrorDomain Code=1 "Operation not permitted"}}
2022-01-19 22:57:36.086917-0600 Testing[13092:3724763] [scoped] sandbox_extension_consume error=[12: Cannot allocate memory] for path /var/mobile/Library/Caches/com.apple.Pasteboard/eb77e5f8f043896faf63b5041f0fbd121db984dd/e773525714f94678cc813686e707bb53ec1d2285
2022-01-19 22:57:36.087037-0600 Testing[13092:3724763] [scoped] <0x28354b600 file:///var/mobile/Library/Caches/com.apple.Pasteboard/eb77e5f8f043896faf63b5041f0fbd121db984dd/e773525714f94678cc813686e707bb53ec1d2285>: internal sandbox error for <StartAccessing>
2022-01-19 22:57:36.094329-0600 Testing[13092:3724690] [claims] Upload preparation for claim 1B54B832-0C50-4ABE-A4CA-72331726C2D5 completed with error: Error Domain=NSCocoaErrorDomain Code=257 "The file “e773525714f94678cc813686e707bb53ec1d2285” couldn’t be opened because you don’t have permission to view it." UserInfo={NSURL=file:///var/mobile/Library/Caches/com.apple.Pasteboard/eb77e5f8f043896faf63b5041f0fbd121db984dd/e773525714f94678cc813686e707bb53ec1d2285, NSFilePath=/var/mobile/Library/Caches/com.apple.Pasteboard/eb77e5f8f043896faf63b5041f0fbd121db984dd/e773525714f94678cc813686e707bb53ec1d2285, NSUnderlyingError=0x281dcdbf0 {Error Domain=NSPOSIXErrorDomain Code=1 "Operation not permitted"}}
Well that was quick. I figured out what the issue was. It looks like there's a Mac sandbox entitlement for calendar access, and I hadn't selected it. I have no idea why this worked before Ventura without that, or if that entitlement was just added recently, but checking that fixed it for me.
Looks like everything still works fine on the latest beta for iPadOS. It's only Ventura via Catalyst that is broken.
Maybe this will help. I'm getting an exception triggered periodically in NSToolbar.
Exception.txt
Another clue, looks like it could be related to setting a pinned button item to the trailing edge. Disabling that fixed it for me.