ios – Azure Communication Calling SDK crashes on begin name


I’m making an attempt to begin a one on one name utilizing Azure CommunicationCalling sdk. I get a crash inside one of many sdk features as proven in screenshot for backtrace under.

Code for begin name:-

func startCall(callee: String, successHandler: @escaping (Name?) -> Void ) {

    // begin name logic
    let callees:[CommunicationIdentifier] = [createCommunicationIdentifier(fromRawId: callee)]
    self.callAgent?.startCall(contributors: callees, choices: StartCallOptions()) { (name, error) in
        if let error = error {
        } else {
   = name
            debugPrint("name positioned efficiently")

I’ve verified that decision agent and communication identifier arr obj handed will not be nil.

Crash log:-
*** Terminating app as a result of uncaught exception ‘NSInvalidArgumentException’, purpose: ‘*** -[__NSArrayM insertObject:atIndex:]: object can’t be nil’
terminating with uncaught exception of kind NSException

BackTrace for crash:-
enter image description here

I’ve referred to following documentation:-


Leave a Reply

Your email address will not be published. Required fields are marked *