Skip to content

Crash 闪退 #36

@make1a

Description

@make1a

Describe the bug

调用 dic = [LSCValue toDictionary] 方法
let data = try JSONSerialization.data(withJSONObject: dic, options: [])
会闪退报错:
firebase 崩溃:
Fatal Exception: NSInvalidArgumentException
Invalid type in JSON write (_NSInlineData)

  • Version :pod 'LuaScriptCore', '2.3.2'

附上找到的资料:
https://stackoverflow.com/questions/24984098/iosterminating-app-due-to-uncaught-exception-nsinvalidargumentexception-reas

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions