# Abort trap: 6 error in XCode 12.2

**URL:** <https://devforum.zoom.us/t/abort-trap-6-error-in-xcode-12-2/37102>\
**Category:** Meeting SDK\
**Created:** [November 27, 2020, 2:46pm UTC](https://devforum.zoom.us/t/abort-trap-6-error-in-xcode-12-2/37102 "2020-11-27T14:46:56Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![zishanj](https://avatars.discourse-cdn.com/v4/letter/z/7c8e57/32.png) [@zishanj](https://devforum.zoom.us/u/zishanj)\
**Post date:** [November 27, 2020, 2:46pm UTC](https://devforum.zoom.us/t/abort-trap-6-error-in-xcode-12-2/37102/1 "2020-11-27T14:46:56Z")

</div>

I am using Zoom iOS SDK v5.2.42037.1112 with SwiftUI in XCode 12.2. While compiling it, I am receiving this error:

```
3.	While deserializing SIL function "$sSo18MobileRTCMeetErrora8rawValues6UInt32Vvg"
0 swift 0x000000010eb13c15 llvm::sys::PrintStackTrace(llvm::raw_ostream&) + 37
1 swift 0x000000010eb14332 SignalHandler(int) + 610
2 libsystem_platform.dylib 0x00007fff20371d7d _sigtramp + 29
3 libsystem_platform.dylib 000000000000000000 _sigtramp + 18446603339975680672
4 libsystem_c.dylib 0x00007fff20280720 abort + 120
5 swift 0x000000010ad6379f swift::ModuleFile::fatal(llvm::Error) + 2639
6 swift 0x000000010ada9914 swift::SILDeserializer::readSILInstruction(swift::SILFunction*, swift::SILBasicBlock*, swift::SILBuilder&, unsigned int, llvm::SmallVectorImpl<unsigned long long>&) + 69764
7 swift 0x000000010ad96f94 swift::SILDeserializer::readSILFunctionChecked(llvm::PointerEmbeddedInt<unsigned int, 31>, swift::SILFunction*, llvm::StringRef, bool, bool) + 7236
8 swift 0x000000010adac298 swift::SILDeserializer::getAllSILFunctions() + 1480
9 swift 0x000000010ae27513 swift::SILDeserializer::getAll(bool) + 51
10 swift 0x000000010a45b530 swift::CompilerInstance::performSILProcessing(swift::SILModule*) + 288
11 swift 0x000000010a32b148 performCompileStepsPostSILGen(swift::CompilerInstance&, swift::CompilerInvocation const&, std:: __1::unique_ptr<swift::SILModule, std::__ 1::default_delete<swift::SILModule> >, llvm::PointerUnion<swift::ModuleDecl*, swift::SourceFile*>, swift::PrimarySpecificPaths const&, int&, swift::FrontendObserver*) + 1288
12 swift 0x000000010a31b7ba swift::performFrontend(llvm::ArrayRef<char const*>, char const*, void*, swift::FrontendObserver*) + 21802
13 swift 0x000000010a29c2c1 main + 1265
14 libdyld.dylib 0x00007fff20348631 start + 1
15 libdyld.dylib 0x0000000000000119 start + 18446603339975850729
error: Abort trap: 6

```

Any solution?

---

<div class="post-metadata">

**Author:** ![Michael\_Condon](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/michael_condon/32/13543_2.png) [@Michael\_Condon](https://devforum.zoom.us/u/Michael_Condon)\
**Post date:** [December 1, 2020, 12:22am UTC](https://devforum.zoom.us/t/abort-trap-6-error-in-xcode-12-2/37102/2 "2020-12-01T00:22:24Z")

</div>

Hey @zishanj

Thank you for using the dev forum!

That is very interesting. This happens at compile time? Is there any specific code that causes this to appear/disappear or does this happen after you have simply imported the frameworks?

Thanks!  
Michael

---

<div class="post-metadata">

**Author:** ![zishanj](https://avatars.discourse-cdn.com/v4/letter/z/7c8e57/32.png) [@zishanj](https://devforum.zoom.us/u/zishanj)\
**Post date:** [December 1, 2020, 4:16am UTC](https://devforum.zoom.us/t/abort-trap-6-error-in-xcode-12-2/37102/3 "2020-12-01T04:16:38Z")

</div>

I have downloaded [ios-mobilertc-all-5.2.42037.1112-clientlog.zip](https://github.com/zoom/zoom-sdk-ios/releases/download/v5.2.42037.1112/ios-mobilertc-all-5.2.42037.1112-clientlog.zip) and copied the lib files into xcode. Then I tried to design layout in SwiftUI and while previewing it in simulator I get this above reported error.

---

<div class="post-metadata">

**Author:** ![Michael\_Condon](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/michael_condon/32/13543_2.png) [@Michael\_Condon](https://devforum.zoom.us/u/Michael_Condon)\
**Post date:** [December 1, 2020, 11:22pm UTC](https://devforum.zoom.us/t/abort-trap-6-error-in-xcode-12-2/37102/4 "2020-12-01T23:22:59Z")

</div>

Hey @zishanj,

I am sorry this is happening, that must be frustrating to get this error in the preview. Unfortunately, the SDK is not yet fully integrated with SwiftUI. If you can reproduce this issue outside of SwiftUI we can investigate further, but support for SwiftUI is currently limited.

I will let you know when that changes though.

Thanks!  
Michael
