Crash (EXC_BAD_INSTRUCTION) in NetworkLogger initialization
Closed this issue · 2 comments
vox-humana commented
If I just follow the setup manual and create NetworkLogger
using default constructor like in the manual let logger = NetworkLogger()
I am getting crash with this error error:
Fatal error: Use of unimplemented initializer 'init()' for class 'PulseCore.NetworkLogger'
However, if I directly set default parameters (from https://github.com/kean/PulseUI/blob/master/Sources/Pulse/PersistentLogHandler.swift#L21):
let logger = NetworkLogger(logger: NetworkLogger.makeDefaultLogger(), blobStore: .default)
it doesn't crash.
Suspect some swift/objc issue
Xcode 12.4 (also tested on 12.2)
0.9.4 and 0.9.5
kean commented
Thanks for the report, @vox-humana. Will take care of it this weekend, as well as some other issues.
kean commented
Fixed in 0.9.6