美文网首页
HandyJSON (v 5.0.0) storage.assu

HandyJSON (v 5.0.0) storage.assu

作者: JasonFive | 来源:发表于2020-05-06 17:19 被阅读0次

在 iOS系统升级到 13.4的时候,某些系统中的App在使用HandyJSON的时候,会奔溃在 下面这个地方:

public static func write(_ value: Any, to storage: UnsafeMutableRawPointer) {
    guard let this = value as? Self else {
        return
    }
    storage.assumingMemoryBound(to: self).pointee = this
}

解决方法:
更新HandyJSON SDK 到 5.0.2-beta

pod 'HandyJSON',git: 'https://github.com/alibaba/handyjson'

然后 执行即可

pod install 

参考文档: HandyJSON

相关文章

网友评论

      本文标题:HandyJSON (v 5.0.0) storage.assu

      本文链接:https://www.haomeiwen.com/subject/cqgwghtx.html