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

不羁岁月 提交于 2019-11-27 14:18:48

问题


UPDATE: SUBMIT BUG REPORTS AND REFERENCE THIS NUMBER: #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!

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


回答1:


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.




回答2:


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.




回答3:


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 6.2, iOS 8.2




回答4:


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.



来源:https://stackoverflow.com/questions/26764363/error-logging-directory-does-not-exist-var-mobile-library-logs-crashreporter-d

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!