Hello community,
I am implementing a Live Activity for my existing App Store app. The Live Activity works perfectly on the iOS Simulator, but it completely fails to appear on the physical device's lock screen.
When I call Activity.request, it succeeds and returns a valid Activity ID, but the physical device's console immediately outputs the following errors from liveactivitiesd:
liveactivitiesd is not entitled to specify a scene target. Defaulting containingProcess target to
liveactivitiesd No asset provider bundle ID provided
I have spent days debugging this and have tried every known workaround. Here is the comprehensive list of what I have already verified and attempted:
Environment:
Xcode: 16.4
iOS Device: iPhone 13 mini, iOS 26.3.1
macOS: Sequoia 15.6
What I have verified/tried (to avoid duplicate suggestions):
NSSupportsLiveActivities: It is set to YES in the main app's Info.plist. I also tried adding it to the Widget Extension's Info.plist just in case.
App Icons: The main app has a valid AppIcon set in Assets.xcassets. The Primary App Icon Set Name in Build Settings is correctly set to AppIcon.
Bundle IDs: They match perfectly (com.mycompany.app and com.mycompany.app.MyWidget).
Version & Build Numbers: The main app and the Widget Extension have exactly the same Version and Build numbers.
App Groups & Entitlements: Checked and perfectly synced between the main app and the extension.
Dummy Widget: Since it's a Live-Activity-only extension, I added a standard static DummyWidget to the WidgetBundle to prevent the known iOS 17 bug where the system ignores extensions without home screen widgets.
Memory/Sanitizers: Ensured Address Sanitizer and Zombie Objects are completely disabled in the Scheme to prevent the 30MB memory limit crash on the device.
Nuclear Option: Completely deleted the Widget Extension target, wiped DerivedData, restarted the Mac and iPhone, and recreated the extension from scratch.
Minimal UI Test: Replaced the widget's UI with a simple Text("Test") to rule out any SwiftUI rendering crashes.
Device Settings: Verified that "Live Activities" is enabled under "Face ID & Passcode" settings on the physical iPhone.
Despite all of this, the Simulator works flawlessy, while the device throws No asset provider bundle ID provided and shows nothing.
Does anyone know what specific condition causes liveactivitiesd to fail to find the asset provider (the parent app) on a physical device for an existing app? Are there any undocumented provisioning profile quirks or obscure Build Settings I might be missing?
Any insights would be deeply appreciated. Thank you!
3
0
75