Skip to content

App crashes on accessing PhoneNumberKit init in Bundle.module line #835

@Idhiris

Description

@Idhiris

New Issue Checklist

Steps to reproduce

Unable to reproduce the issue at our end. But many of our users getting this crash.

Expected result
Actual result

Environment

Facing this crash in many device models and iOS18 OS versions

Thread O Crashed:
libswiftCore.dylib 0x000000018392ce2c 0x1838f5000 + 228908
libswiftCore.dylib 0x000000018392ce2c 0x1838f5000 + 228908
App closure #1 in variable initialization expression of static NSBundle.module + 15847040 (resource_bundle_accessor.swift:44)
App one-time initialization function for module + 15845788 (resource_bundle_accessor.swift:9)
libswiftCore.dylib 0x000000018dObbfa8 0x18d0b8000 + 16296
libswiftCore.dylib 0x000000018dObd7f4 0x18d0b8000 + 22516
App one-time initialization function for phoneNumberKit + 15848604 (Bundle+Resources.swift:11)
libswiftCore.dylib 0x000000018dObbfa8 0x18d0b8000 + 16296
libswiftCore.dylib 0x000000018dObd7f4 0x18d0b8000 + 22516
App specialized static PhoneNumberKit.defaultMetadataCallback + 16000876 (PhoneNumberKit.swift:329)
App static PhoneNumberKit.defaultMetadataCallback + 15993016 (PhoneNumberKit.swift:O)
App implicit closure #1 in default argument 0 of PhoneNumberKit.init(metadataCallback:) + 3451644 (:0)
App specialized MetadataManager.populateTerritories(metadataCallback:) + 15863108 (MetadataManager.swift:55)
App MetadataManager.init(metadataCallback:) + 15860332 (MetadataManager.swift:24)
App specialized PhoneNumberKit.init(metadataCallback:) + 15998704 (PhoneNumberKit.swift:25)
App PhoneNumberKit.init(metadataCallback:) + 15993044 (:0)
App one-time initialization function for phoneNumberKit + 3451556 (PhoneNumberKItUtil.swift:12)
libswiftCore.dylib 0x000000018dObbta8 0x18d0b8000 + 16296
libswiftCore.dylib 0x000000018dObd7f4 0x18d0b8000 + 22516
App specialized static PhoneNumberKitUtil.getFormattedPhoneNumbers(phoneNumberStr:) + 3452248 (PhoneNumberKItUtil.swif

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions