Cannot find scope

Description
ZoomSDK for iOS 5.7.6 shows “Cannot find ‘MobileRTCMeetingState_InMeeting’ in scope”

func onMeetingStateChange(_ state: MobileRTCMeetingState) {
switch state {
        case MobileRTCMeetingState_InMeeting:
            print("Meeting state: inMeeting")
            break
  default:
            print("****DEFAULT***")
        }
}

I get an error in the code, is this the correct behavior?

I also get “Cannot find ‘XXXXXXXXXX’ in scope” and cannot compile. I created a new one, so I don’t think there are many other effects.

Thanks.

Which Mobile Meeting SDK version?
CustomUI
SDK Version 5.7.6

Hey @KAZUMA87,

Thanks for using the dev forum!

Can you try .inMeeting instead of MobileRTCMeetingState_InMeeting?

Thanks!
Michael

Hello , Micheal.

Thanks for the advice. The problem is solved.

Thanks

1 Like

Hey @KAZUMA87,

Awesome! I am super happy to hear :slight_smile:

Please let us know if you have any other questions.

Thanks!
Michael