kean / Pulse

Network logger for Apple platforms
https://pulselogger.com
MIT License
6.32k stars 302 forks source link

Crashing on app launch in iOS 14 #175

Closed PangMo5 closed 1 year ago

PangMo5 commented 1 year ago

Pulse version: 3.5.3

Hello there. First of all, thank you for creating a very development friendly tool.

In this situation, we weren't calling any Pulse-related methods, and as soon as we launched the app, it crashed with the message below.

App run in the emulator, skipping the fork check.
dyld: lazy symbol binding failed: Symbol not found: _$s10Foundation16AttributedStringVMa
  Referenced from: /Users/go/Library/Developer/CoreSimulator/Devices/F59BC6C7-3B29-43E6-8479-ED10B7D16314/data/Containers/Bundle/Application/C28F1662-B139-4E22-AE75-5192F9F27127/GangnamSister.app/GangnamSister
  Expected in: /usr/lib/swift/libswiftFoundation.dylib

dyld: Symbol not found: _$s10Foundation16AttributedStringVMa
  Referenced from: /Users/go/Library/Developer/CoreSimulator/Devices/F59BC6C7-3B29-43E6-8479-ED10B7D16314/data/Containers/Bundle/Application/C28F1662-B139-4E22-AE75-5192F9F27127/GangnamSister.app/GangnamSister
  Expected in: /usr/lib/swift/libswiftFoundation.dylib

CoreSimulator 857.7 - Device: iPhone 8 Plus (F59BC6C7-3B29-43E6-8479-ED10B7D16314) - Runtime: iOS 14.2 (18B79) - DeviceType: iPhone 8 Plus

I had the same issue with iOS 14.5.

This works fine on iOS 15 and 16.

I downgraded Pulse to 3.4.3 and the app works fine on iOS 14.

BB9z commented 1 year ago

duplicate as #171

kean commented 1 year ago

Thanks for the report. I'll try to look into it soon, but PRs are also welcome.