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

Post not yet marked as solved Up vote post of 809789679 Down vote post of 809789679
436 views

Replies

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 :)

Add a Comment

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