Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我从 Crashlytics/Fabric 得到一个崩溃日志,内容如下:
function signature specialization <Arg[0] = Exploded, Arg[1] = Owned To Guaranteed> of MyClass.viewWillAppear (MyClass)(Swift.Bool) -> ()
Arg[0] 的爆炸意味着什么?奇怪的是有两个参数,因为我们在viewWillAppear这里讨论 - 第一个参数是对象本身吗?
viewWillAppear
一周前我遇到了这个问题,幸好远程修复了它。我相信这是一个解析问题。
问题是因为我从服务器获取了一个字符串数组,其中一个参数为空,生成了参数的解析错误
["String1", "String2", "String3",]
本来应该
["String1", "String2", "String3"]
在您的情况下:查找您的 viewWillAppear 中的内容并检查是否有任何解析/序列化。返回的错误对象可能是此问题的根本原因