Sometimes, after the app is resumed from background it shows these messages in the log:
2022-03-23 19:16:53.423801+0000 AppName[15711:6706975] [hapi] CHHapticEngine.mm:595 -[CHHapticEngine createHapticPlayerWithOptions:]: ERROR: Server failure: Error Domain=com.apple.CoreHaptics Code=-4810 "(null)"
2022-03-23 19:16:53.424531+0000 AppName[15711:6706975] [Feedback] failed initializing core haptics engine for <_UIFeedbackCoreHapticsEngine: 0x282e115e0>: Error Domain=com.apple.CoreHaptics Code=-4810 "(null)"
(AppName is the name of the app)
After that it fails to run code in Task - I can see in the log that the Task is called but the code in it is never executed. The app only recovers after restart.
It may be relevant that the app runs background refresh couple of times before it happens.
Thank you for any help / suggestions.
Related
I'm getting these logs when I opened the camera with the imagePicker and then last logs appear when I switch my app to the real camera app of the iOS device and then when I returned back to the camera in my app these logs appear. So I'm wondering what are these.
[heln] AVHapticClient.mm:446 -[AVHapticClient finish:]: ERROR: Player was not running - bailing with error Error Domain=com.apple. CoreHaptics Code=-4805 "(null)"
[Feedback] core haptics engine finished for <_UIFeedbackCoreHapticsIgnoreCaptureHapticsOnlyEngine: 0x281a14230> with error: Error Domain=com.apple. CoreHaptics Code=-4805 "(null)"
[heln] AVHapticClient.mm: 1207 - [AVHapticClient getAsyncDelegateForMethod: errorHandler: ]_block_invoke: ERROR: Async XPC call for 'prewarm:' (client ID 0x0) failed:Couldn't communicate with a helper application.
[hapi] CHHapticEngine.mm:1136 - [CHHapticEngine prewarmWithCompletionHandler:]_block_invoke: ERROR: Player prewarm failed: Couldn't communicate with a helper application.
[Feedback] failed to prewarm core haptics engine for <_UIFeedbackCoreHapticsIgnoreCaptureHapticsOnlyEngine: 0x281a14230>: Error Domain=NSCocoaErrorDomain Code=4099 "The connection to service with pid 36 named com.apple.audio.haptic was invalidated from this process." UserInfo={NSDebugDescription=The connection to service with pid 36 named com.apple.audio.haptic was invalidated from this process.}
[Camera] Attempted to change to mode Portrait with an unsupported device (BackAuto). Auto device for both positions unsupported, returning Auto device for same position anyway (BackAuto).
I have a service worker running in production, lately I have started seeing increase in error Failed to get navigation preload state: The user denied permission to use Service Worker. This error was always logged on our end but the amount has been quadrupled in past 3 weeks. I am not sure what causes this error at the first place, and I have tried multiple ways but could not able to reproduce. Most of these errors are coming from recently released Chrome 105, but I did not saw any policy change in the new release which can trigger this.
I am looking for more details about the error? What causes it? How it can be reproduced?
I have been using Cloudant through Bluemix and everything worked fine at the beginning. But now the replications don't complete successful anymore, constantly throwing errors or finishing with no data being received.
replicatorDidError: Error Domain=NSURLErrorDomain Code=-1005 "(null)"
replicatorDidError: Error Domain=TDChangeTracker Code=589 "(null)"
Bad DB response: {"error":"service_unavailable","reason":"Service unavailable"}
Sometimes it was temporarily fixed assigning new credentials, but now it doesn't do the trick anymore. It happens either from the iOS SDK or from a node.js app.
Any help will be very welcome.
Thanks in advance.
In a Unity project running on iPhones in iOS 9 I'm calling:
Social.localUser.Authenticate(ProcessAuthentication);
On a phone with all data cleared, this brings up Apple's dialogue to log into GameCenter. I enter an email address and password from an existing GameCenter test account. The dialogue seems to lock up for a few seconds. It then returns to the game, passing false (failure) to ProcessAuthentication.
When I try logging into the same account via the GameCenter settings menu, it brings up a Terms and Conditions screen that I wasn't getting in-game - I suspect that it's failing to bring it up and acting as though you refused to accept. If I complete the login process in settings I can run the game and GameCenter works fine.
This problem didn't occur in iOS 8.
Is this normal? Does anyone know if it can be fixed?
Edit:
Output message being printed:
Setting up 1 worker threads for Enlighten.
Thread->id: 40933000 -> priority: 1
2015-10-29 16:02:02:02.287 autowarriors[365:26287] plugin com.apple.GameCenterUI.GameCenterAuthenticateExension interrupted
2015-10-29 16:02:02:02.288 autowarriors[365:26233] plugin com.apple.GameCenterUI.GameCenterAuthenticateExension invalidated
2015-10-29 16:02:02:02.308 autowarriors[365:26220] viewServiceDidTerminateWithError:: Error Domain=_UIViewServiceInterfaceErrorDomain Code=3 "(null)" UserInfo=(Message=Service Connection Interrupted)
Failed to authenticate
(Filename: /Users/builduser/buildslave/unity/build/artifacts/generated/common/runtime/UnityEngineDebugBindings.gen.cpp Line: 64)
-> applicationWillResignActive()
I have an app that uses EventKit. I ask for permission for reminders and then I have code that creates a reminder. I sometimes get this error message in my logs when running the app in the simulator:
Error getting changed object IDs since timestamp 450512391.766620 from daemon: Error Domain=EKCADErrorDomain Code=1013 "The operation couldn’t be completed. (EKCADErrorDomain error 1013.)"
Error getting default calendar for new reminders: Error Domain=EKCADErrorDomain Code=1013 "The operation couldn’t be completed. (EKCADErrorDomain error 1013.)"
The first error comes from the authorization step and second comes from these lines:
EKReminder *reminder = [EKReminder reminderWithEventStore:eventStore];
reminder.calendar = eventStore.defaultCalendarForNewReminders;
This happens after requestAccessToEntityType:completion: returns granted permission for reminders, so there is definitely permission.
The weird thing is, once the issue happens if I just restart the app everything is fine. If I reset the simulator and rerun the app this only sometimes will happen again.
This seems to only happen with the following workflow:
Reset All Contact and Settings Menu Option.
Quit simulator right away when it comes back up.
Run your app which immediately asks for Calendar info on the just-reset, never-opened-before simulator.
I suspect the reason is because when you reset the entire simulator, it needs a few seconds to initialize all the demo data such as the contacts and calendar events when it "boots" for the first time.
If you wait 10+ seconds after reset, THEN run your app, you do not get this warning.
Another workaround is to use the "Reset Privacy Settings" in iOS Simulator Settings App (General > Reset) during testing of calendar permission testing.