spr*_*der 9 iphone crash xcode osx-leopard ios-simulator
不像人们在这里和 这里问的那样,我在Leopard(hackintosh)的全新安装后得到了这个错误,这个问题真的让我发疯了,无处可寻找线索,我google搜索了与此相关的每篇文章,仍然可以解决不了.
在第一次安装iPhone SDK 2.2.1之后,启动一个新项目(任何类型,基于Navigate,OpenGL ES应用程序),然后构建并去,我遇到了以下问题:有时它是:
无法启动模拟应用程序:未知错误.
有时它是:
无法启动模拟应用程序:iPhone模拟器无法找到com.yourcompany的进程ID.[应用程序名称]
似乎模拟器中的应用程序立即崩溃,因此Xcode可以找到进程ID.
这个链接说这甚至无法解决.其他一些人逐步详细说明:
我重置了iPhone模拟器.这也没有解决问题......
我甚至尝试卸载SDK并重新安装它,仍然遇到同样的错误......
这是与硬件有关的问题吗?还是操作系统版本?我正在使用hackintosh(iDenebv1.4 10.5.6),所有其他软件都运行良好,包括iTunes && vmware fusion.
非常感谢任何进一步的提示或线索!
小智 7
已修复问题:iPhone模拟器无法找到com.yourcompany的进程ID.[您的应用程序名称]
我在构建和模拟我在操作系统版本2.2.1下构建的项目时遇到了问题,我无法再在XCode 3.1.4的模拟器中构建和运行,即使我强制XCode构建"模拟器 - 2.2" .1调试"
我能够通过以下方式解决这个问题: - 关闭iPhone模拟器 - 将XCode放入View-> Detail - 打开"Resources"文件夹中的"Info.plist"文件 - 在文件顶部附近你应该看到"Info .plist"使用和上/下箭头选择器 - 单击上/下箭头选择器 - 选择"清除文件历史记录"
适用于:模拟器 - 2.2.1
XCode版本:3.1.4(包括OS3.1 Beta 3)
在/var/log/system.log 中发现一些奇怪的日志。
May 8 16:17:50 th084134 /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator2.2.1.sdk/System/Library/CoreServices/SpringBoard.app/SpringBoard[1170]: MobileInstallationLookup: Generating the install map
May 8 16:17:50 th084134 /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator2.2.1.sdk/System/Library/CoreServices/SpringBoard.app/SpringBoard[1170]: load_application_info: Could not load signer identity from /Users/test/Library/Application Support/iPhone Simulator/User/Applications/5D55807A-7489-4DC5-B4D7-2ECD5E230F29/new1.app/new1
May 8 16:17:50 th084134 [0x0-0x2e02e].com.apple.iphonesimulator[1168]: error compiling query "SELECT value FROM _SqliteDatabaseProperties WHERE key = ?;": no such table: _SqliteDatabaseProperties
May 8 16:17:51 th084134 SpringBoard[1170]: Unable to obtain task name port for com.yourcompany.new1. Either it failed to exec or it terminated immediately: (os/kern) failure
May 8 16:17:51 th084134 SpringBoard[1170]: Couldn't activate <SBApplication: 0x123e6d0> com.yourcompany.new1 activate: animated deactivate:
May 8 16:17:51 th084134 SpringBoard[1170]: Application <SBApplication: 0x123e6d0> com.yourcompany.new1 activate: animated deactivate: exited abnormally with signal 256: Unknown signal: 256
May 8 16:17:51 th084134 SpringBoard[1170]: Unable to obtain task name port for com.yourcompany.new1. Either it failed to exec or it terminated immediately: (os/kern) failure
May 8 16:17:51 th084134 com.apple.launchd[164] (UIKitApplication:com.yourcompany.new1[0xa455][1171]): Bug: launchd_core_logic.c:2812 (23714):103: sandbox_init(j->seatbelt_profile, j->seatbelt_flags, &seatbelt_err_buf) != -1
May 8 16:17:51 th084134 com.apple.launchd[164] (UIKitApplication:com.yourcompany.new1[0xa455][1171]): Sandbox failed to init: Cannot apply builtin profile `/Users/test/Library/Application Support/iPhone Simulator/User/Applications/5D55807A-7489-4DC5-B4D7-2ECD5E230F29.sb': Policy not found
May 8 16:17:51 th084134 com.apple.launchd[164] (UIKitApplication:com.yourcompany.new1[0xa455][1171]): Exited with exit code: 1
May 8 16:17:51 th084134 [0x0-0x2e02e].com.apple.iphonesimulator[1168]: 2009-05-08 16:17:51.026 SpringBoard[1170:10b] Unable to obtain task name port for com.yourcompany.new1. Either it failed to exec or it terminated immediately: (os/kern) failure
Run Code Online (Sandbox Code Playgroud)
这里讨论如何通过命令行在模拟器中运行应用程序,希望它有助于理解 xcode 和模拟器是如何工作的。
但我没有解决。
好吧,我通过安装另一个 hackintosh 发行版(IPC 10.5.6)“解决”了它,效果完美!
| 归档时间: |
|
| 查看次数: |
32992 次 |
| 最近记录: |