# SBUTheme.set(theme:) Crash

**URL:** <https://community.sendbird.com/t/sbutheme-set-theme-crash/2029>\
**Category:** iOS\
**Created:** [April 7, 2021, 1:01pm UTC](https://community.sendbird.com/t/sbutheme-set-theme-crash/2029 "2021-04-07T13:01:04Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Kevin\_Lee](https://sea2.discourse-cdn.com/flex020/user_avatar/community.sendbird.com/kevin_lee/32/1149_2.png) [@Kevin\_Lee](https://community.sendbird.com/u/Kevin_Lee)\
**Post date:** [April 7, 2021, 1:01pm UTC](https://community.sendbird.com/t/sbutheme-set-theme-crash/2029/1 "2021-04-07T13:01:04Z")

</div>

Hello,

I am trying to implement SendBirdUIKit on my project following this documentation [https://sendbird.com/docs/uikit/v1/ios/guides/themes](https://sendbird.com/docs/uikit/v1/ios/guides/themes)  
But i got fatal error when trying to set the theme using SBUTheme.set(theme:) function.  
I am using XCode 11.6 with Swift language.  
Please help.

 ![Screen Shot 2021-04-07 at 18.28.40](https://us1.discourse-cdn.com/flex020/uploads/sendbird/original/2X/2/2a2aa5e39232610353e69ebfafa3ba417ff8e1bb.png)

---

<div class="post-metadata">

**Author:** ![Woo](https://sea2.discourse-cdn.com/flex020/user_avatar/community.sendbird.com/woo/32/125_2.png) [@Woo](https://community.sendbird.com/u/Woo)\
**Post date:** [April 14, 2021, 1:48am UTC](https://community.sendbird.com/t/sbutheme-set-theme-crash/2029/2 "2021-04-14T01:48:50Z")

</div>

@Kevin_Lee would you please update your sdk to latest version and see if that fixes for you?

---

<div class="post-metadata">

**Author:** ![Kevin\_Lee](https://sea2.discourse-cdn.com/flex020/user_avatar/community.sendbird.com/kevin_lee/32/1149_2.png) [@Kevin\_Lee](https://community.sendbird.com/u/Kevin_Lee)\
**Post date:** [July 14, 2021, 11:16am UTC](https://community.sendbird.com/t/sbutheme-set-theme-crash/2029/3 "2021-07-14T11:16:31Z")

</div>

Sorry for my late reply.  
Updating the sdk version fixed the problem.  
Thanks.
