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.