Skip to main content
Answered

iOS / iPad OS v15.0 opening "Test workspace" Help Center with SDK 16.3.1 crashes


Only my “Test workspace” crashes, the production one works fine.

The code I’m calling is the following when opening the Help Center:

Intercom.present(Space.helpCenter)

--

The uncaught exception that is being thrown is:

Terminating app due to uncaught exception 'NSUnknownKeyException', reason: '[<IntercomSDKPrivate.ErrorViewController ...> setValue:forUndefinedKey:]: this class is not key value coding-compliant for the key closeImageView.'

Which often means the `ErrorViewController.xib `(or storyboard?) had a property set in a XIB which longer exists in ErrorViewController.

--

The expected behaviour is that if an error needs to display (because I’m using a test workspace) that the error shows rather than the app crashing.

Best answer by Jacob Cox

Hi @mindfulnessmatt !

Crashes with the Mobile SDK are best addressed directly with our Support team due to the need for further information. I’ve gone ahead and forwarded your message over to them. They should reach out to you via the Email address that you’ve signed up with. So be on the lookout for their message!

View original
Did this topic help you find an answer to your question?

3 replies

Jacob Cox
Intercom Team
Forum|alt.badge.img+5
  • Sr. Technical Support Engineer
  • 441 replies
  • Answer
  • December 10, 2023

Hi @mindfulnessmatt !

Crashes with the Mobile SDK are best addressed directly with our Support team due to the need for further information. I’ve gone ahead and forwarded your message over to them. They should reach out to you via the Email address that you’ve signed up with. So be on the lookout for their message!


In case it helps others, this was resolved by renaming the “ErrorViewController” class in my app to something else.

As an Intercom framework user I don’t have control over how Intercom chooses which view controller to put onscreen, but it should be possible to fix this on the framework side.


Brian B11
Intercom Team
Forum|alt.badge.img+2
  • Intercom Team
  • 40 replies
  • January 17, 2024

Thanks @mindfulnessmatt 

We’ll make some changes to address this issue. Thanks for highlighting it.

Brian


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings