且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

iOS 7.1模拟器中的照片应用无法正常工作

更新时间:2023-01-01 09:38:40

问题已解决. 我通过调试"->打开系统日志"打开日志并调查问题,然后知道未找到文件"Photos.sqlite".我将该文件从另一台Mac手动复制到'▸用户▸[用户名]▸库▸应用程序支持▸iPhone模拟器▸7.1▸媒体▸PhotoData'. 之后,照片"应用正常运行. 希望这会对某人有所帮助.

Problem solved. I open the log by Debug->Open system log and investigate the problem and came to know that the file 'Photos.sqlite' was not found. I manually copied that file from another mac to '▸ Users ▸ [username] ▸ Library ▸ Application Support ▸ iPhone Simulator ▸ 7.1 ▸ Media ▸ PhotoData'. After that Photos app working properly. Hope this will help someone.