DeviceActivityReportExtension working on IOS 17 device but not on IOS 16 device

When I run it on my IOS 16 device I get this error message. When I run it on my device with IOS 17 I get none of these logs. My build target for both the widget and app are 16.0.

"process may not map database" UserInfo={NSDebugDescription=process may not map database, _LSLine=66, _LSFunction=_LSServer_GetServerStoreForConnectionWithCompletionHandler} 2023-10-19 13:49:44.565845-0400 Halo[87980:7963095] [db] Failed to initialize client context with error Error Domain=NSOSStatusErrorDomain Code=-54 "process may not map database" UserInfo={NSDebugDescription=process may not map database, _LSLine=66, _LSFunction=_LSServer_GetServerStoreForConnectionWithCompletionHandler} 2023-10-19 13:49:44.569345-0400 Halo[87980:7963095] Metal API Validation Enabled

Hey ! We already opened a thread subject for this -> https://developer.apple.com/forums/thread/735915

I invite you to open a bug report so the issue has more chance to be fixed !

The workaround for now is to continue using Xcode 14 to publish your app, this issue only happens when you build with Xcode 15.

Regards :)

Yes, this is known issue for months but Apple is not doing anything about it 🤷🏻‍♂️

I also have my own thread https://developer.apple.com/forums/thread/737948

DeviceActivityReportExtension working on IOS 17 device but not on IOS 16 device
 
 
Q