Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Decode Crash #1

Open
stleon opened this issue Nov 5, 2018 · 1 comment
Open

Decode Crash #1

stleon opened this issue Nov 5, 2018 · 1 comment

Comments

@stleon
Copy link

stleon commented Nov 5, 2018

Hey, I have app crash when receive binary. Encoded version:

{msg, {text, <<"some text">>}}

And I decoding data like this:

let decoder = BertDecoder()
decoder.decodeAny(data: data)

Exception:

*** Terminating app due to uncaught exception
'NSInvalidArgumentException', reason: '*** -
[NSArray count]: method only defined for abstract class.  
Define -[BertSwift.BertTuple count]!'
@pankajsoni19
Copy link
Owner

hey @stleon saw this really late :)

Could you send a fix for this. I will try updating it to swift 5.4 soon

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants