Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Decode error #817

Open
ShVaishnani1891 opened this issue Nov 26, 2024 · 0 comments
Open

Decode error #817

ShVaishnani1891 opened this issue Nov 26, 2024 · 0 comments

Comments

@ShVaishnani1891
Copy link

ShVaishnani1891 commented Nov 26, 2024

I am using Phone numberkit version 3.7.11 and xcode 16 and ios 18.

App crashed in below function and getting error regrading malloc.

func decodeArrayOrObject<T: Decodable>(forKey key: KeyedDecodingContainer<K>.Key) -> [T] { guard let array: [T] = try? self.decode([T].self, forKey: key) else { guard let object: T = try? self.decode(T.self, forKey: key) else { return [T]() } return [object] } return array }

malloc: Heap corruption detected, free list is damaged at 0x30292c270
*** Incorrect guard value: 22561061980312
SNAPmobile(16409,0x16dd6b000) malloc: *** set a breakpoint in malloc_error_break to debug

So any one have solution then please help us.

Thank you
Shraddha vaishnani

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

No branches or pull requests

1 participant