简体   繁体   中英

iOS app crashes by WatchDog but works when running from Xcode

I'm having a strange issue. I'm having an iOS Xcode (Generated by Unity 2019.3.0f6) project which runs perfectly fine when build and running straight from Xcode, on a physical device. But when I close it, and open that same app righting away on my device, the screen goes black for 20 seconds - than the app gets killed by the WatchDog. Did someone experience this before?

You app must be taking more time than the allowed time by iOS Watchdog service that's why it's killed by watchdog. If you see logs like below with 'badf00d' code this is the reason.

Termination Description: SPRINGBOARD, scene-update watchdog transgression: application'<'com.xxx.development'>':416 exhausted real (wall clock) time allowance of 10.00 seconds

Now you need to find the reason of delay in processing time and remove that delay to reduce loading/processing time.

我不认为这是一般问题的答案,但在我的情况下,我不得不使用我的 Unity 本机插件“UniWebView”之一,必须更新它才能再次使用最新版本的 XCode。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM