QuickBlox / quickblox-ios-sdk

QuickBlox iOS SDK for messaging and video calling
https://quickblox.com/developers/IOS
MIT License
396 stars 358 forks source link

Cannot find type 'PermissionBlock' in scope XCode 12 #1236

Closed shoaibhassan1 closed 3 years ago

shoaibhassan1 commented 4 years ago

Unable to compile app on xcode 12 please find a solution Thanks in advance.

maughray commented 4 years ago

Just add this line of code: typealias PermissionBlock = (Bool) -> Void

Navya-ios commented 4 years ago

resolved for me thank you

Drumering commented 4 years ago

Just add this line of code: typealias PermissionBlock = (Bool) -> Void

I'm having the same problem and the above solution didn't work for me. Any other tip?

Drumering commented 4 years ago

Just add this line of code: typealias PermissionBlock = (Bool) -> Void

I'm having the same problem and the above solution didn't work for me. Any other tip?

Hi there!

I got to solve the problem.

I add typealias PermissionBlock = (Bool) -> Void before the declaration of the class.

Screen Shot 2020-10-07 at 11 34 35

This way the problem has solved.

RajModi235 commented 4 years ago

Just add this line of code: typealias PermissionBlock = (Bool) -> Void

@maughray it's working good so nice

ghost commented 3 years ago

Hello,

This is Nikolay from QuickBlox support.

Glad to hear that the issue is resolved. It is being closed.