xcode 错误:日志目录不存在 /var/mobile/Library/Logs/CrashReporter/DiagnosticLog/

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/26764363/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-15 06:06:09  来源:igfitidea点击:

Error: logging directory does not exist /var/mobile/Library/Logs/CrashReporter/DiagnosticLog/

xcodecompiler-errorsios8runtime-errorosx-yosemite

提问by Aggressor

UPDATE: SUBMIT BUG REPORTS AND REFERENCE THIS NUMBER: #18882445

更新:提交错误报告并参考此编号:#18882445

I keep having this error come up randomly through various compile times (even if nothing seems wrong with the app)

我不断地在各种编译时间中随机出现此错误(即使应用程序似乎没有任何问题)

[PLLogging] ***** Error: logging directory does not exist /var/mobile/Library/Logs/CrashReporter/DiagnosticLogs/

I can't find anything online.

我在网上找不到任何东西。

I have tried cleaning the project, multiple devices, and re-installing Xcode. If you have any advice on this issue I'd love to hear it!

我尝试清理项目、多个设备并重新安装 Xcode。如果您对这个问题有任何建议,我很乐意听到!

I am running Xcode 6.1 on Yosemite and all the devices tested were running OSX 8.1

我在 Yosemite 上运行 Xcode 6.1,所有测试的设备都运行 OSX 8.1

回答by Akhil K C

Just go to, iOS Simulator -> Reset Content and Settings. It will restore the default settings for iOS Simulator. Remember it will also removes all apps installed in Simulator.

就去,iOS Simulator -> Reset Content and Settings。它将恢复 iOS 模拟器的默认设置。请记住,它还会删除安装在模拟器中的所有应用程序。

回答by DrCachetes

I faced a similar issue when I was tried to use parse with a swift project. I tried to delete all the libraries that I was using and add them again but didn't work so I restored my project from the last git version and I manually adding the new versions of the files. It is not fancy solution but Is quicker than fight with xcode to solve the issue.

当我尝试在 swift 项目中使用 parse 时,我遇到了类似的问题。我试图删除我正在使用的所有库并再次添加它们,但没有奏效,所以我从上一个 git 版本恢复了我的项目,并手动添加了新版本的文件。这不是花哨的解决方案,但比用 xcode 解决问题要快。

回答by Vishnu Kumar. S

It's a bug in iOS. Restarting the device fixed my issue. Also check the default camera app. In my case default camera was also not working.

这是iOS中的一个错误。重新启动设备解决了我的问题。还要检查默认的相机应用程序。在我的情况下,默认相机也不起作用。

回答by μολ?ν.λαβ?

I was doing some programming with the file manager so it's probably related.

我正在用文件管理器做一些编程,所以它可能是相关的。

Exit Xcode, delete all of the DerivedData and restarted iPad, now works.

退出 Xcode,删除所有 DerivedData 并重新启动 iPad,现在可以工作了。

Xcode 6.2, iOS 8.2

Xcode 6.2,iOS 8.2