When creating an iOS live activity I get the error:
The operation couldn’t be completed. (com.apple.ActivityKit.ActivityInput error 1.)
When creating an iOS live activity I get the error:
The operation couldn’t be completed. (com.apple.ActivityKit.ActivityInput error 1.)
One possible cause for this is not having set the NSSupportsLiveActivities
property in your App target's Info.plist
.
Even if you have it set in your Widget Extension make sure it's set in your App target.
You will have to add Supports Live Activities
to the apps info.plist
in addition to the widget's info.plist
In my case I have this error when trying to start a Live Activity from my app.
Error requesting Live Activity The operation couldn’t be completed. (com.apple.ActivityKit.ActivityInput error 0.)
What I did was:
Supports Live Activities
Signing & Capabilities
, add Push Notification
capabilityTested on simulator ios 17.2
Please make sure that you are using iPhone with 16.2 above OS versions. When you will run a live activity on iPad it shows the same error log Because it's only supported on iPhones.
© 2022 - 2024 — McMap. All rights reserved.
NSSupportsLiveActivities
to app'sinfo.plist
in addition to widget'sinfo.plist
And xcode 14.1 also seems to have issues if your profile has access to app containers :-( – Fissi