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

Application with the latest PubNub SDK is crashing. #154

Open
TheHmmka opened this issue Feb 15, 2024 · 5 comments
Open

Application with the latest PubNub SDK is crashing. #154

TheHmmka opened this issue Feb 15, 2024 · 5 comments

Comments

@TheHmmka
Copy link

So there is a crash on iOS 15.
iOS 16-17 - everything works fine.

Report:

Incident Identifier: 5B3D3038-FB20-4856-A4F2-5432AC214D19
Hardware Model:      iPhone9,3
Process:             WalkenWalletProd [379]
Path:                /private/var/containers/Bundle/Application/C83D1F62-6807-43CC-9B57-49B9E4AA3237/WalkenWalletProd.app/WalkenWalletProd
Identifier:          com.walken.quasark
Version:             1.2.0 (220)
AppStoreTools:       15C5500a
AppVariant:          1:iPhone9,3:15
Beta:                YES
Code Type:           ARM-64 (Native)
Role:                Foreground
Parent Process:      launchd [1]
Coalition:           com.walken.quasark [576]

Date/Time:           2024-02-13 14:33:24.3487 +0300
Launch Time:         2024-02-13 14:33:24.0771 +0300
OS Version:          iPhone OS 15.6 (19G71)
Release Type:        User
Baseband Version:    6.03.01
Report Version:      104

Exception Type:  EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Exception Note:  EXC_CORPSE_NOTIFY
Termination Reason: DYLD 4 Symbol missing
Symbol not found: (_swift_getExtendedExistentialTypeMetadata_unique)
Referenced from: '/Volumes/VOLUME/*/WalkenWalletProd.app/Frameworks/PubNub.framework/PubNub'
Expected in: '/usr/lib/swift/libswiftCore.dylib'
(terminated at launch; ignore backtrace)

Triggered by Thread:  0


Thread 0 Crashed:
0   dyld                           0x0000000102d4f2cc __abort_with_payload + 8 (:-1)
1   dyld                           0x0000000102d546dc abort_with_payload_wrapper_internal + 100 (terminate_with_reason.c:102)
2   dyld                           0x0000000102d5470c abort_with_payload + 12 (terminate_with_reason.c:124)
3   dyld                           0x0000000102d28aa8 dyld4::halt(char const*) + 576 (DyldProcessConfig.cpp:2102)
4   dyld                           0x0000000102d25e44 dyld4::prepare(dyld4::APIs&, dyld3::MachOAnalyzer const*) + 3108 (dyldMain.cpp:0)
5   dyld                           0x0000000102d244b0 start + 412 (dyldMain.cpp:864)


Thread 0 crashed with ARM Thread State (64-bit):
    x0: 0x0000000000000006   x1: 0x0000000000000004   x2: 0x000000016dc396c8   x3: 0x00000000000000ef
    x4: 0x000000016dc392c8   x5: 0x0000000000000000   x6: 0x0000000000000000   x7: 0x000000016dc38d50
    x8: 0x0000000000000020   x9: 0x0000000000000009  x10: 0x000000016dc393ba  x11: 0x0000000000000113
   x12: 0x2f736b726f77656d  x13: 0x662e62754e627550  x14: 0x6b726f77656d6172  x15: 0x0062754e6275502f
   x16: 0x0000000000000209  x17: 0x0000000000000057  x18: 0x0000000000000000  x19: 0x0000000000000000
   x20: 0x000000016dc392c8  x21: 0x00000000000000ef  x22: 0x000000016dc396c8  x23: 0x0000000000000004
   x24: 0x0000000000000006  x25: 0x000000016dc392c8  x26: 0x0000000000000400  x27: 0x0000000000000400
   x28: 0x00000000000000f2   fp: 0x000000016dc39290   lr: 0x0000000102d546dc
    sp: 0x000000016dc39250   pc: 0x0000000102d4f2cc        cpsr: 0x0
   esr: 0x56000080  Address size fault


Binary Images:
        0x102d0c000 -         0x102d5ffff dyld arm64  <c7b2bef37f6b36eb80edcc49f96b9bee> /usr/lib/dyld

EOF
@parfeon
Copy link
Contributor

parfeon commented Feb 15, 2024

@TheHmmka thank you for reaching us.
How do you integrate PubNub framework with your product? Is it compiled once in some environment and added as a linked framework into the project?

@TheHmmka
Copy link
Author

@TheHmmka thank you for reaching us. How do you integrate PubNub framework with your product? Is it compiled once in some environment and added as a linked framework into the project?

With CocoaPods. I didn't test with SPM.

@parfeon
Copy link
Contributor

parfeon commented Feb 15, 2024

Did you try to clean all targets (including those built by Cocoapods) and re-build from the scratch only for iOS 15? That method is added during source code compilation to work with generics, and looks like it is missing in iOS 15 - this possible only if lib has been built for iOS 16+ and then used with iOS 15 code.

@parfeon
Copy link
Contributor

parfeon commented Feb 15, 2024

Here is the Swift language issue regarding this exception.

@TheHmmka
Copy link
Author

Did you try to clean all targets (including those built by Cocoapods) and re-build from the scratch only for iOS 15? That method is added during source code compilation to work with generics, and looks like it is missing in iOS 15 - this possible only if lib has been built for iOS 16+ and then used with iOS 15 code.

I'll try a little bit late, thanks for your support!

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

2 participants