# Error in main.m file while integarting zoom-sdk-ios in ios project

**URL:** <https://devforum.zoom.us/t/error-in-main-m-file-while-integarting-zoom-sdk-ios-in-ios-project/6688>\
**Category:** iOS\
**Created:** [November 16, 2019, 12:55pm UTC](https://devforum.zoom.us/t/error-in-main-m-file-while-integarting-zoom-sdk-ios-in-ios-project/6688 "2019-11-16T12:55:11Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![veeralakshmi](https://avatars.discourse-cdn.com/v4/letter/v/858c86/32.png) [@veeralakshmi](https://devforum.zoom.us/u/veeralakshmi)\
**Post date:** [November 16, 2019, 12:55pm UTC](https://devforum.zoom.us/t/error-in-main-m-file-while-integarting-zoom-sdk-ios-in-ios-project/6688/1 "2019-11-16T12:55:11Z")

</div>

**Description**  
I am getting following Error in main.m file  
**-[MTLDebugBuffer newTextureWithDescriptor:offset:bytesPerRow:]:326: failed assertion `resourceOptions (0x0) must match backing buffer resource options (0x20).'**

- I am using the zoom sdk for the one to one video call feature, in which video call should happen without entering password which was my requirement.
- If you provide any sample project in ios , where the video call should be done one to one ,without entering any password ASAP, it will be very helpful to me.

**2019-11-16 17:36:10.167096+0530 one-to-oneVideoCall[3498:597657] XPC connection interrupted**

**Which version?**  
**MobileRTC Version: 4.4.55968.0904**  
Knowing the version can help us to identify your issue faster.

**To Reproduce(If applicable)**  
Steps to reproduce the behavior:

1. Go to ‘mainscreen of my project’
2. Enter meeting number of the hosted videocall and click on Join Meeting Button
3. you will navigate to the screen which i have listed in screenshot.
4. And then you will See error.

**Screenshots**

 ![image](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/2X/8/8a53e4e6b82dab75d5d11fdca875c5ded75a6fb0.png) Screen Shot 2019-11-16 at 2.37.48 PM.png

- When i reach to the above screen as show in the screen shot, i am getting the following error.  
i am getting the following error  
**-[MTLDebugBuffer newTextureWithDescriptor:offset:bytesPerRow:]:326: failed assertion `resourceOptions (0x0) must match backing buffer resource options (0x20).'**

**2019-11-16 17:36:10.167096+0530 one-to-oneVideoCall[3498:597657] XPC connection interrupted**

If applicable, add screenshots to help explain your problem.

**Smartphone (please complete the following information):**

- Device: [e.g. iPhone7 plus]
- OS: [e.g. iOS12.4.1]
- Version [e.g. 22]

**Additional context**  
one-to-oneVideoCall.zip(This was the project code folder , which i am using the zoom sdk and getting the error)

- Can you provide any sample project of zoon-sdk-ios, where i have to make one to one video call without entering any password.  
Add any other context about the problem here.

---

<div class="post-metadata">

**Author:** ![veeralakshmi](https://avatars.discourse-cdn.com/v4/letter/v/858c86/32.png) [@veeralakshmi](https://devforum.zoom.us/u/veeralakshmi)\
**Post date:** [November 18, 2019, 6:38am UTC](https://devforum.zoom.us/t/error-in-main-m-file-while-integarting-zoom-sdk-ios-in-ios-project/6688/2 "2019-11-18T06:38:22Z")

</div>

Hi Team,  
can you please reply to this post ASAP

---

<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:** [November 19, 2019, 1:56am UTC](https://devforum.zoom.us/t/error-in-main-m-file-while-integarting-zoom-sdk-ios-in-ios-project/6688/3 "2019-11-19T01:56:52Z")

</div>

Hi [veeralakshmi](https://devforum.zoom.us/t/error-in-main-m-file-while-integarting-zoom-sdk-ios-in-ios-project/6688/2),

Thanks for using Zoom SDK. Per [https://support.zoom.us/hc/en-us/articles/360033331271-Account-Setting-Update-Password-Default-for-Meeting-and-Webinar](https://support.zoom.us/hc/en-us/articles/360033331271-Account-Setting-Update-Password-Default-for-Meeting-and-Webinar), if you start an instant meeting, it will come with a password. But you can disable this feature in your web portal:

1. visit [zoom.us](http://zoom.us), and login into your account
2. Under Settings \> Meeting, you may find the following setting:  
 ![image](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/2X/b/bbee009c02dd23469ec37ff29de71fb78892d1ad.png) ,  
Turn the corresponding setting off, and the next time you start a meeting, it will not have a default password.

The console print you are mentioning are not from our SDK, as long as you following the instructions in [https://marketplace.zoom.us/docs/sdk/native-sdks/iOS/getting-started/integration](https://marketplace.zoom.us/docs/sdk/native-sdks/iOS/getting-started/integration), you should be able to use our SDK. If you would like a sample, you could refer to our demo app at: [https://github.com/zoom/zoom-sdk-ios](https://github.com/zoom/zoom-sdk-ios)

Hope this helps. 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, 7:04pm UTC](https://devforum.zoom.us/t/error-in-main-m-file-while-integarting-zoom-sdk-ios-in-ios-project/6688/4 "2020-08-21T19:04:15Z")

</div>

Closed on August 21, 2020, 7:04pm UTC


