# Window: unrecognized selector sent to instance

**URL:** <https://devforum.zoom.us/t/window-unrecognized-selector-sent-to-instance/7660>\
**Category:** iOS\
**Created:** [January 23, 2020, 7:09pm UTC](https://devforum.zoom.us/t/window-unrecognized-selector-sent-to-instance/7660 "2020-01-23T19:09:14Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![daniel.brog](https://avatars.discourse-cdn.com/v4/letter/d/bbe5ce/32.png) [@daniel.brog](https://devforum.zoom.us/u/daniel.brog)\
**Post date:** [January 23, 2020, 7:09pm UTC](https://devforum.zoom.us/t/window-unrecognized-selector-sent-to-instance/7660/1 "2020-01-23T19:09:14Z")

</div>

**Description**  
In the joinMeeting function I have created, I am running into an error when joinMeetingWithDictionary is called. The error I’m getting is a ‘window: unrecognized selector sent to instance’. The function I’ve created is here:

```
- (void) joinMeeting: (NSString*) meetingNo {
    if(![meetingNo length]){
        NSLog(@"meeting number not created");
        return;
    }else{
        MobileRTCMeetingService *service = [[MobileRTC sharedRTC] getMeetingService];
        NSLog(@"%@",service);

        if(service){
                    NSLog(@"Service created");
            
            service.delegate = self;
            NSLog(@"delegate set");
            NSDictionary *paramDict = @{
                kMeetingParam_Username: @"User",
                kMeetingParam_MeetingNumber: @"111111111",
                kMeetingParam_MeetingPassword: @"",
            };
            NSLog(@"Params set%@",paramDict);
            MobileRTCMeetError response = [service joinMeetingWithDictionary:paramDict];
            NSLog(@"onJoinMeeting, response: %d",response);
        }else{
            NSLog(@"Service not created");
        }
    }
}

```

It runs fine up until the line with ‘[service joinMeetingWithDictionary:paramDict];’ and results with an error:  
**-[GUL\_AppDelegate-538C9E61-F7DA-41B7-AD94-8C36AC2513D1 window]: unrecognized selector sent to instance 0x6000035d0380**

Which is a **Thread 1: signal SIGABRT**

I get the same error when using handZoomWebUrl with the zoom meeting web url.

**Which version?**  
**MobileRTC Version: 4.4.57220.1211**

**EDIT:**  
I also receive a warning for the line:

```
service.delegate = self;

```

The warning is:

`Assigning to 'id<MobileRTCMeetingServiceDelegate> _Nullable' from incompatible type 'CallbackViewController *const __strong'`

---

<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:** [January 23, 2020, 11:43pm UTC](https://devforum.zoom.us/t/window-unrecognized-selector-sent-to-instance/7660/2 "2020-01-23T23:43:35Z")

</div>

Hi [daniel.brog](https://devforum.zoom.us/u/daniel.brog),

Thanks for using Zoom SDK. Regarding the warning **reason: '-[ GUL\_AppDelegate-538C9E61-F7DA-41B7-AD94-8C36AC2513D1 window: unrecognized selector sent to instance**, there is a chance that it might not relate to our SDK, please see the following links:

- [https://learnappmaking.com/unrecognized-selector-sent-to-instance-swift-development/](https://learnappmaking.com/unrecognized-selector-sent-to-instance-swift-development/)
- [https://stackoverflow.com/questions/25853947/how-can-i-debug-unrecognized-selector-sent-to-instance-error](https://stackoverflow.com/questions/25853947/how-can-i-debug-unrecognized-selector-sent-to-instance-error)
- [https://stackoverflow.com/questions/2455161/unrecognized-selector-sent-to-instance-error-in-objective-c](https://stackoverflow.com/questions/2455161/unrecognized-selector-sent-to-instance-error-in-objective-c)

However, if you are experiencing a crash, could you provide the .crash file and the SDK log so we can further investigate and find out the root cause?

Thanks!

---

<div class="post-metadata">

**Author:** ![hmaddali](https://avatars.discourse-cdn.com/v4/letter/h/d6d6ee/32.png) [@hmaddali](https://devforum.zoom.us/u/hmaddali)\
**Post date:** [March 9, 2020, 2:52pm UTC](https://devforum.zoom.us/t/window-unrecognized-selector-sent-to-instance/7660/3 "2020-03-09T14:52:52Z")

</div>

@daniel.brog any chance you able to figure out the source of this error? I received the same error when going through the steps for the “Build your first Zoom app” tutorial for iOS.

---

<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:** [March 10, 2020, 6:00am UTC](https://devforum.zoom.us/t/window-unrecognized-selector-sent-to-instance/7660/4 "2020-03-10T06:00:33Z")

</div>

Hi [hmaddali](https://devforum.zoom.us/u/hmaddali),

Thanks for using Zoom SDK. Are you facing the issue: **unrecognized selector sent to instance**? At which step of “Build your first Zoom app” tutorial are you getting this? Could you provide the .crash file so we could further investigate?

Thanks!

---

<div class="post-metadata">

**Author:** ![miteshkhat](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/miteshkhat/32/5870_2.png) [@miteshkhat](https://devforum.zoom.us/u/miteshkhat)\
**Post date:** [April 12, 2020, 11:28am UTC](https://devforum.zoom.us/t/window-unrecognized-selector-sent-to-instance/7660/5 "2020-04-12T11:28:20Z")

</div>

Hi @Carson_Chen  
Please find attached the crash log.

> **[Zoom1 12-04-20, 4-05 PM.crash](https://www.dropbox.com/s/wbxzdis1x0294vx/Zoom1%20%2012-04-20,%204-05%20PM.crash?dl=0)**
>
> Shared with Dropbox

@hmaddali Did you found any solution yet.  
Please suggest the solutions.

---

<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:** [April 16, 2020, 11:50pm UTC](https://devforum.zoom.us/t/window-unrecognized-selector-sent-to-instance/7660/6 "2020-04-16T23:50:36Z")

</div>

Hi [miteshkhat](https://devforum.zoom.us/u/miteshkhat),

Thanks for providing the crash file. Based on the crash file:

 ![24F6ABF2-5804-4A7C-8E39-3F17F1FC0D6B](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/2X/7/755083ea113e6ab0b3e3f192a40fb6aee9eb6828.jpeg)

It seems like the crash is happening in Zoom1, not in the SDK. 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, 8:15pm UTC](https://devforum.zoom.us/t/window-unrecognized-selector-sent-to-instance/7660/7 "2020-08-21T20:15:20Z")

</div>

Closed on August 21, 2020, 8:15pm UTC


