【发布时间】:2014-10-29 05:35:32
【问题描述】:
我昨天清理安装了 os x Yosemite 并安装了 xcode 6。但不幸的是,我的旧项目需要 ios 7.1,所以我删除了 xcode 6 并安装了 xcode 5.1.1。一切似乎工作正常,但是当我在模拟器中单击照片应用程序时,它卡在白屏上,因为在午餐应用程序时屏幕首先显示。我试图重置内容和设置,但没有运气。然后我手动完全卸载 xcode,包括 ~/Library/Caches/com.apple.dt.Xcode, ~/Library/Developer, ~/Library/Application Support/iPhone Simulator 目录和文件并重新安装 xcode 5.1.1,但照片应用程序的问题没有解决。
所以请帮我解决这个问题。我错过了什么吗?我是否必须完全擦除并重新安装 mac 才能再次工作,或者优胜美地与 xcode 5.1.1 存在兼容性问题。 我也知道我可以在 xcode 6 中安装 7.1 模拟器,但它需要对我的代码进行一些额外的更改,如 xcode 6。xcode 6 中的 ios 8 模拟器没有这样的问题。 (对不起,我是新来的,我不能附上截图,因为没有 10 分)
错误是:
Oct 30 11:34:38 CS02-MAC.local SpringBoard[4941] <Warning>: BBServer: data provider "com.apple.mobileslideshow" has been unresponsive for 60 seconds.
Oct 30 11:34:46 CS02-MAC.local assetsd[4998] <Notice>: PLMigrationLog <t:0xb016de0> Failed to fetch path to uuid mappings 21 unable to open database file
Oct 30 11:34:46 CS02-MAC.local assetsd[4998] <Notice>: PLMigrationLog <t:0xb016de0> No store file to move aside at "/Users/css/Library/Application Support/iPhone Simulator/7.1/Media/PhotoData/Photos.sqlite"
Oct 30 11:34:46 CS02-MAC.local assetsd[4998] <Notice>: PLMigrationLog <t:0xb016de0> Failed to open store /Users/css/Library/Application Support/iPhone Simulator/7.1/Media/PhotoData/Photos.sqlite with options {
NSPersistentStoreFileProtectionKey = NSFileProtectionNone;
NSReadOnlyPersistentStoreOption = 1;
NSSQLitePersistWALOption = 1;
NSSQLitePragmasOption = {
"journal_mode" = WAL;
};
}. Requires new rebuilt database (Error Domain=NSCocoaErrorDomain Code=260 "The operation couldn’t be completed. (Cocoa error 260.)")
Oct 30 11:34:46 CS02-MAC.local assetsd[4998] <Error>: *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'This NSPersistentStoreCoordinator has no persistent stores. It cannot perform a save operation.'
【问题讨论】:
标签: xcode5.1