ios - Xcode 预览显示加载页面,然后仅显示白屏
问题描述
在假期里,我从一个项目中休息了一段时间。也是在那个时候,我将我的 mac 更新到了 Catalina,并将 Xcode 更新到了最新版本。现在,当我运行在加载加载页面之前运行良好但随后变白的项目时。
Xcode 中没有错误,但这是我的 system.log 的样子:
n 8 17:19:25 Kians-MBP com.apple.CoreSimulator.SimDevice.4C640D94-3164-43DC-8340-0A015C8E3785[1213] (UIKitApplication:com.kianco.socialapp[7251][rb-legacy][2693]): Service exited due to SIGKILL
Jan 8 17:19:25 Kians-MBP syslogd[1215]: ASL Sender Statistics
Jan 8 17:19:26 Kians-MBP diagnosticd[1246]: System mode client stopped - DTServiceHub (1311) - clearing mode: 0x0, still active: 0x9
Jan 8 17:19:26 Kians-MBP diagnosticd[1246]: Posting stream filter: "{
global = 38655164416;
}"
Jan 8 17:19:27 Kians-MBP logd[1226]: assertion failed: 19C57 17A844: logd + 57925 [7745E081-E54A-3EBA-B513-57B72326CC0A]: 0x2
Jan 8 17:19:33 --- last message repeated 1 time ---
Jan 8 17:19:33 Kians-MBP diagnosticd[1246]: Posting stream filter: "{
category = {
heartbeat = 34360131584;
};
global = 38655164416;
pid = {
1311 = 34360131584;
2773 = 34360131584;
};
subsystem = {
"com.apple.dt.instruments" = 34360131584;
"com.apple.runtime-issues" = 34360131584;
};
}"
Jan 8 17:19:33 Kians-MBP diagnosticd[1246]: System mode client started - DTServiceHub (1311) - mode: 0x8, filter: "{
category = {
heartbeat = 0;
};
pid = {
1311 = 0;
2773 = 0;
};
subsystem = {
"com.apple.dt.instruments" = 0;
"com.apple.runtime-issues" = 0;
};
}"
Jan 8 17:19:35 Kians-MBP socialapp[2773]: assertion failed: 19C57 17A844: libxpc.dylib + 83383 [F391B106-5033-3156-98D9-705C5A7FDECD]: 0x7d
Jan 8 17:19:36 Kians-MBP com.apple.CoreSimulator.SimDevice.4C640D94-3164-43DC-8340-0A015C8E3785[1213] (com.apple.AssetCacheLocatorService): Unknown key for Boolean: EnableTransactions
Jan 8 17:19:36 Kians-MBP com.apple.CoreSimulator.SimDevice.4C640D94-3164-43DC-8340-0A015C8E3785[1213] (com.apple.AssetCacheLocatorService): Unknown key for Boolean: EnablePressuredExit
Jan 8 17:19:36 Kians-MBP com.apple.CoreSimulator.SimDevice.4C640D94-3164-43DC-8340-0A015C8E3785[1213] (com.apple.DocumentManagerCore.Downloads): Unknown key for Boolean: EnableTransactions
Jan 8 17:19:36 Kians-MBP com.apple.CoreSimulator.SimDevice.4C640D94-3164-43DC-8340-0A015C8E3785[1213] (com.apple.DocumentManagerCore.Downloads): Unknown key for Boolean: EnablePressuredExit
Jan 8 17:19:36 Kians-MBP com.apple.CoreSimulator.SimDevice.4C640D94-3164-43DC-8340-0A015C8E3785[1213] (com.apple.FileProvider.ArchiveService): Unknown key for Boolean: EnableTransactions
Jan 8 17:19:36 Kians-MBP com.apple.CoreSimulator.SimDevice.4C640D94-3164-43DC-8340-0A015C8E3785[1213] (com.apple.FileProvider.ArchiveService): Unknown key for Boolean: EnablePressuredExit
Jan 8 17:19:36 Kians-MBP com.apple.CoreSimulator.SimDevice.4C640D94-3164-43DC-8340-0A015C8E3785[1213] (com.apple.FontServices.FontProviderLoader): Unknown key for Boolean: EnableTransactions
Jan 8 17:19:36 Kians-MBP com.apple.CoreSimulator.SimDevice.4C640D94-3164-43DC-8340-0A015C8E3785[1213] (com.apple.FontServices.FontProviderLoader): Unknown key for Boolean: EnablePressuredExit
Jan 8 17:19:36 Kians-MBP com.apple.CoreSimulator.SimDevice.4C640D94-3164-43DC-8340-0A015C8E3785[1213] (com.apple.FontServices.GSFontServices): Unknown key for Boolean: EnableTransactions
Jan 8 17:19:36 Kians-MBP com.apple.CoreSimulator.SimDevice.4C640D94-3164-43DC-8340-0A015C8E3785[1213] (com.apple.FontServices.GSFontServices): Unknown key for Boolean: EnablePressuredExit
Jan 8 17:19:36 Kians-MBP com.apple.CoreSimulator.SimDevice.4C640D94-3164-43DC-8340-0A015C8E3785[1213] (com.apple.FontServices.UserFontManager): Unknown key for Boolean: EnableTransactions
Jan 8 17:19:36 Kians-MBP com.apple.CoreSimulator.SimDevice.4C640D94-3164-43DC-8340-0A015C8E3785[1213] (com.apple.FontServices.UserFontManager): Unknown key for Boolean: EnablePressuredExit
Jan 8 17:19:36 Kians-MBP com.apple.CoreSimulator.SimDevice.4C640D94-3164-43DC-8340-0A015C8E3785[1213] (com.apple.MTLCompilerService): Unknown key for Boolean: EnableTransactions
Jan 8 17:19:36 Kians-MBP com.apple.CoreSimulator.SimDevice.4C640D94-3164-43DC-8340-0A015C8E3785[1213] (com.apple.MTLCompilerService): Unknown key for Boolean: EnablePressuredExit
Jan 8 17:19:36 Kians-MBP com.apple.CoreSimulator.SimDevice.4C640D94-3164-43DC-8340-0A015C8E3785[1213] (com.apple.MediaPlayer.RemotePlayerService): Unknown key for Boolean: EnableTransactions
Jan 8 17:19:36 Kians-MBP com.apple.CoreSimulator.SimDevice.4C640D94-3164-43DC-8340-0A015C8E3785[1213] (com.apple.MediaPlayer.RemotePlayerService): Unknown key for Boolean: EnablePressuredExit
Jan 8 17:19:36 Kians-MBP com.apple.CoreSimulator.SimDevice.4C640D94-3164-43DC-8340-0A015C8E3785[1213] (com.apple.Photos.CPLDiagnose): Unknown key for Boolean: EnableTransactions
Jan 8 17:19:36 Kians-MBP com.apple.CoreSimulator.SimDevice.4C640D94-3164-43DC-8340-0A015C8E3785[1213] (com.apple.Photos.CPLDiagnose): Unknown key for Boolean: EnablePressuredExit
Jan 8 17:19:36 Kians-MBP com.apple.CoreSimulator.SimDevice.4C640D94-3164-43DC-8340-0A015C8E3785[1213] (com.apple.Safari.History): Unknown key for Boolean: EnableTransactions
Jan 8 17:19:36 Kians-MBP com.apple.CoreSimulator.SimDevice.4C640D94-3164-43DC-8340-0A015C8E3785[1213] (com.apple.Safari.History): Unknown key for Boolean: EnablePressuredExit
Jan 8 17:19:36 Kians-MBP com.apple.CoreSimulator.SimDevice.4C640D94-3164-43DC-8340-0A015C8E3785[1213] (com.apple.SafariFoundation.AutoFillHelper): Unknown key for Boolean: EnableTransactions
Jan 8 17:19:36 Kians-MBP com.apple.CoreSimulator.SimDevice.4C640D94-3164-43DC-8340-0A015C8E3785[1213] (com.apple.SafariFoundation.AutoFillHelper): Unknown key for Boolean: EnablePressuredExit
Jan 8 17:19:36 Kians-MBP com.apple.CoreSimulator.SimDevice.4C640D94-3164-43DC-8340-0A015C8E3785[1213] (com.apple.SafariFoundation.CredentialProviderExtensionHelper): Unknown key for Boolean: EnableTransactions
Jan 8 17:19:36 Kians-MBP com.apple.CoreSimulator.SimDevice.4C640D94-3164-43DC-8340-0A015C8E3785[1213] (com.apple.SafariFoundation.CredentialProviderExtensionHelper): Unknown key for Boolean: EnablePressuredExit
Jan 8 17:19:36 Kians-MBP com.apple.CoreSimulator.SimDevice.4C640D94-3164-43DC-8340-0A015C8E3785[1213] (com.apple.SafariServices.ContentBlockerLoader): Unknown key for Boolean: EnableTransactions
Jan 8 17:19:36 Kians-MBP com.apple.CoreSimulator.SimDevice.4C640D94-3164-43DC-8340-0A015C8E3785[1213] (com.apple.SafariServices.ContentBlockerLoader): Unknown key for Boolean: EnablePressuredExit
Jan 8 17:19:36 Kians-MBP com.apple.CoreSimulator.SimDevice.4C640D94-3164-43DC-8340-0A015C8E3785[1213] (com.apple.StreamingUnzipService): Unknown key for Boolean: EnableTransactions
Jan 8 17:19:36 Kians-MBP com.apple.CoreSimulator.SimDevice.4C640D94-3164-43DC-8340-0A015C8E3785[1213] (com.apple.StreamingUnzipService): Unknown key for Boolean: EnablePressuredExit
Jan 8 17:19:36 Kians-MBP com.apple.CoreSimulator.SimDevice.4C640D94-3164-43DC-8340-0A015C8E3785[1213] (com.apple.WebKit.Networking): Unknown key for Boolean: EnableTransactions
Jan 8 17:19:36 Kians-MBP com.apple.CoreSimulator.SimDevice.4C640D94-3164-43DC-8340-0A015C8E3785[1213] (com.apple.WebKit.Networking): Unknown key for Boolean: EnablePressuredExit
Jan 8 17:19:36 Kians-MBP com.apple.CoreSimulator.SimDevice.4C640D94-3164-43DC-8340-0A015C8E3785[1213] (com.apple.WebKit.WebContent): Unknown key for Boolean: EnableTransactions
Jan 8 17:19:36 Kians-MBP com.apple.CoreSimulator.SimDevice.4C640D94-3164-43DC-8340-0A015C8E3785[1213] (com.apple.WebKit.WebContent): Unknown key for Boolean: EnablePressuredExit
Jan 8 17:19:36 Kians-MBP com.apple.CoreSimulator.SimDevice.4C640D94-3164-43DC-8340-0A015C8E3785[1213] (com.apple.avkit.SharedPreferences): Unknown key for Boolean: EnableTransactions
Jan 8 17:19:36 Kians-MBP com.apple.CoreSimulator.SimDevice.4C640D94-3164-43DC-8340-0A015C8E3785[1213] (com.apple.avkit.SharedPreferences): Unknown key for Boolean: EnablePressuredExit
Jan 8 17:19:36 Kians-MBP com.apple.CoreSimulator.SimDevice.4C640D94-3164-43DC-8340-0A015C8E3785[1213] (com.apple.backboard.display.archive): Unknown key for Boolean: EnableTransactions
Jan 8 17:19:36 Kians-MBP com.apple.CoreSimulator.SimDevice.4C640D94-3164-43DC-8340-0A015C8E3785[1213] (com.apple.backboard.display.archive): Unknown key for Boolean: EnablePressuredExit
Jan 8 17:19:36 Kians-MBP com.apple.CoreSimulator.SimDevice.4C640D94-3164-43DC-8340-0A015C8E3785[1213] (com.apple.ctcategories.service): Unknown key for Boolean: EnableTransactions
Jan 8 17:19:36 Kians-MBP com.apple.CoreSimulator.SimDevice.4C640D94-3164-43DC-8340-0A015C8E3785[1213] (com.apple.ctcategories.service): Unknown key for Boolean: EnablePressuredExit
Jan 8 17:19:36 Kians-MBP com.apple.CoreSimulator.SimDevice.4C640D94-3164-43DC-8340-0A015C8E3785[1213] (com.apple.imfoundation.IMRemoteURLConnectionAgent): Unknown key for Boolean: EnableTransactions
Jan 8 17:19:36 Kians-MBP com.apple.CoreSimulator.SimDevice.4C640D94-3164-43DC-8340-0A015C8E3785[1213] (com.apple.imfoundation.IMRemoteURLConnectionAgent): Unknown key for Boolean: EnablePressuredExit
Jan 8 17:19:36 Kians-MBP com.apple.CoreSimulator.SimDevice.4C640D94-3164-43DC-8340-0A015C8E3785[1213] (com.apple.intents.intents-helper): Unknown key for Boolean: EnableTransactions
Jan 8 17:19:36 Kians-MBP com.apple.CoreSimulator.SimDevice.4C640D94-3164-43DC-8340-0A015C8E3785[1213] (com.apple.intents.intents-helper): Unknown key for Boolean: EnablePressuredExit
Jan 8 17:19:36 Kians-MBP com.apple.CoreSimulator.SimDevice.4C640D94-3164-43DC-8340-0A015C8E3785[1213] (com.apple.xpc.launchd.domain.pid.socialapp.2773): com.apple.photos.ImageConversionService (lint): XPC Service Info.plist is missing XPCService dictionary
Jan 8 17:19:36 Kians-MBP com.apple.CoreSimulator.SimDevice.4C640D94-3164-43DC-8340-0A015C8E3785[1213] (com.apple.xpc.launchd.domain.pid.socialapp.2773): com.apple.photos.VideoConversionService (lint): XPC Service Info.plist is missing XPCService dictionary
Jan 8 17:19:36 Kians-MBP com.apple.CoreSimulator.SimDevice.4C640D94-3164-43DC-8340-0A015C8E3785[1213] (com.apple.textkit.nsattributedstringagent): Unknown key for Boolean: EnableTransactions
Jan 8 17:19:36 Kians-MBP com.apple.CoreSimulator.SimDevice.4C640D94-3164-43DC-8340-0A015C8E3785[1213] (com.apple.textkit.nsattributedstringagent): Unknown key for Boolean: EnablePressuredExit
Jan 8 17:19:36 Kians-MBP com.apple.CoreSimulator.SimDevice.4C640D94-3164-43DC-8340-0A015C8E3785[1213] (com.apple.uifoundation-bundle-helper): Unknown key for Boolean: EnableTransactions
Jan 8 17:19:36 Kians-MBP com.apple.CoreSimulator.SimDevice.4C640D94-3164-43DC-8340-0A015C8E3785[1213] (com.apple.uifoundation-bundle-helper): Unknown key for Boolean: EnablePressuredExit
Jan 8 17:19:36 Kians-MBP com.apple.CoreSimulator.SimDevice.4C640D94-3164-43DC-8340-0A015C8E3785[1213] (com.apple.xpc.launchd.domain.pid.socialapp.2773): Failed to bootstrap path: path = /Applications/Computer Science/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/MediaConversionService.framework/XPCServices/com.apple.photos.VideoConversionService.xpc, error = 107: Malformed bundle
Jan 8 17:19:36 Kians-MBP com.apple.CoreSimulator.SimDevice.4C640D94-3164-43DC-8340-0A015C8E3785[1213] (com.apple.xpc.launchd.domain.pid.socialapp.2773): Failed to bootstrap path: path = /Applications/Computer Science/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/MediaConversionService.framework/XPCServices/com.apple.photos.ImageConversionService.xpc, error = 107: Malformed bundle
我已经尝试了与此类似的其他帖子上的所有提示,但没有任何效果。通过打印语句测试,我发现我的 View Did Load 和 View Did Appear 都在我的初始视图控制器上运行。如果是我使用 Google Firebase、Keychain Wrapper 和 IQKeyboard 的任何信息。
一切都表示赞赏,请询问任何其他信息。
解决方案
推荐阅读
- javascript - 如何更改标签文本的颜色?
- slider - 如何在滑块旋转中向滑块背景图像添加 ID 或类
- html - 在 Iphone 中看不到使用 React.js 输入的值
- node.js - 如何存储 GitHub PAT(个人访问令牌)以供应用使用
- sql - 使用MSSQL一次交易获取N个最常购买的组合产品
- reactjs - ReactJS:道具未在初始渲染时加载。无法在未定义的变量上使用映射
- path - 构建 LLVM 基本块的路径
- flutter - 我有一个数据表,我需要根据文本输入添加数据行
- amazon-ec2 - Terraform、Windows、带有批处理脚本的用户数据
- windows - 如何使用 PowerShell 在多台计算机上替换文件中的一行