Strange Crash Event occurred with EAAccessoryManager shared object

Issue Details:

When EAAccessoryManager object is created using below line:-

let eaManaer = EAAccessoryManager.shared()

Sometimes, It takes too much time to initialize the object nearly about 5-10 seconds it takes to initailize the object.

When this happens, if you take your app to background and bring the app to foreground the application gets hanged and crashed.

Recovery:

Restart the iPhone. After restarting the iPhone, EAAccessoryManager object starts initializing normally within milliseconds and application does not hang when goes to background and comes to foreground.

Also, one observation:

If app does not initialize the object of EAAccessoryManager then we are not able to see this issue.

Hello Team,

Can you please check this as this happens suddenly after anytime and then we need to restart the iPhone to recover from this problem?

Strange Crash Event occurred with EAAccessoryManager shared object
 
 
Q