我上周安装了Fabric和Crashlytics没有任何问题,当通过XCode启动我的iOS应用程序时,我可以看到设置消息
Fabric.Internal.Crashlytics.CrashlyticsInit:RegisterExceptionHandlers()
Fabric.Internal.Crashlytics.CrashlyticsInit:Awake()
在输出日志中,但我的应用程序未被Fabric注册。如果我登录到他们的网站,我将被定向到https://www.fabric.io/onboard/pending,似乎无法继续“(1)将第一个SDK添加到您的项目中”。是否有一个我可能错过的步骤,或者我需要手动添加的库?
我的应用程序启动后我也试过抛出non fatal exception,我的理解是这应该抛出一个异常,但我的应用程序崩溃并关闭,并在XCode中抛出以下错误。这是正常的吗?
NullReferenceException: A null value was found where an object instance was required.
at Fabric.Crashlytics.Internal.Impl.Log (System.String message) [0x00000] in <filename unknown>:0
at StartMenuController.OnClickParentModeBtn () [0x00000] in <filename unknown>:0
at UnityEngine.Events.InvokableCallList.Invoke (System.Object[] parameters) [0x00000] in <filename unknown>:0
at ButtonAnimator+<InvokeEvent>c__Iterator0.MoveNext () [0x00000] in <filename unknown>:0
at UnityEngine.SetupCoroutine.InvokeMoveNext (IEnumerator enumerator, IntPtr returnValueAddress) [0x00000] in <filename unknown>:0