# MobileRTC.shared().initialize(context) induce write file not work

**URL:** <https://devforum.zoom.us/t/mobilertc-shared-initialize-context-induce-write-file-not-work/24051>\
**Category:** iOS\
**Created:** [July 14, 2020, 6:54am UTC](https://devforum.zoom.us/t/mobilertc-shared-initialize-context-induce-write-file-not-work/24051 "2020-07-14T06:54:28Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![veovuive1](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/veovuive1/32/10445_2.png) [@veovuive1](https://devforum.zoom.us/u/veovuive1)\
**Post date:** [July 14, 2020, 6:54am UTC](https://devforum.zoom.us/t/mobilertc-shared-initialize-context-induce-write-file-not-work/24051/1 "2020-07-14T06:54:28Z")

</div>

_**let context = MobileRTCSDKInitContext()  
context.domain = “[zoom.us](http://zoom.us)”  
context.enableLog = true  
context.locale = .default  
context.appGroupId = “”  
MobileRTC.shared().initialize(context)**_

I initialize MobileRTCSDKInitContext induce write file not work

 ![Screen Shot 2020-07-14 at 13.50.18](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/2X/2/25cdf02a714bf554ac2ed8a48da931e0438748a5.png)

debug show error : “Error Domain=NSCocoaErrorDomain Code=512 “The file “data” couldn’t be saved in the folder “Documents”.””

---

<div class="post-metadata">

**Author:** ![carson.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/carson.zoom/32/785_2.png) [@carson.zoom](https://devforum.zoom.us/u/carson.zoom)\
**Post date:** [July 18, 2020, 2:09am UTC](https://devforum.zoom.us/t/mobilertc-shared-initialize-context-induce-write-file-not-work/24051/2 "2020-07-18T02:09:37Z")

</div>

Hi @veovuive1,

Thanks for using Zoom SDK. The code snippet shown in the screenshot is not related to SDK and the error code does not belong to SDK as well.

Thanks!

---

<div class="post-metadata">

**Author:** ![DeveloperBot](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/developerbot/32/12632_2.png) [@DeveloperBot](https://devforum.zoom.us/u/DeveloperBot)\
**Post date:** [August 21, 2020, 10:45pm UTC](https://devforum.zoom.us/t/mobilertc-shared-initialize-context-induce-write-file-not-work/24051/3 "2020-08-21T22:45:47Z")

</div>

Closed on August 21, 2020, 10:45pm UTC


