SwiftyUserDefaults
SwiftyUserDefaults copied to clipboard
Crash when using SwiftPM
I recently experienced a crash.
I installed it using SwiftPM but it crashed. It's release build, not debug build.
To test this, I ran a manual / Cocoapods installation. But there was no problem. So I reinstalled with Cocoapods.
Some other libraries(e.g. Parchment) had same issue. Using generic seems to be the problem.
Hey @ymkim50, thank you so much for reporting this! I wonder why generics would make it crash only when using SPM, though. What version of Swifty do you use? What Xcode/Swift version? And finally, are you able to provide some error logs from the crash maybe? Would really appreciate it.
I use Swift 5.0, Xcode version is 11.2.1 and crashed only Release. Currently, I change project to using Cocoapods. I found several libraries was crashed when using SPM. I think this is not a problem with SwiftyUserDefaults, but a problem with SPM.
It's other crashed library issues: https://github.com/rechsteiner/Parchment/issues/398
Please refer to the following link: https://bugs.swift.org/browse/SR-11564?focusedCommentId=51285&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#comment-51285
@ymkim50 thank you so much for updating the issue! Really appreciate it.