为什么iOS7模拟器无法启动或随意启动...?

6
在启动iOS 7模拟器时遇到了很多问题(尝试了很多发布的建议,包括重新安装XCode5..),现在我正在尝试运行苹果公司的HelloWorld示例,应该是测试参考资料。第一次构建..它在模拟器上运行,但是可以在模拟器控制台中看到很多错误,包括一个格式不正确的bunlde错误...从模拟器控制台日志中提取,链接:https://gist.github.com/erwin/7230844
Oct 30 08:26:37 macMini profiled[1456] <Notice>: (Note ) MC: Waiting for DataMigrator...
Oct 30 08:26:40 --- last message repeated 3 times ---
Oct 30 08:26:40 macMini SpringBoard[1460] <Error>: objc[1460]: Class AXEmojiUtilities is implemented in both /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator7.0.sdk/System/Library/PrivateFrameworks/AccessibilityUtilities.framework/AccessibilityUtilities and /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator7.0.sdk/usr/lib/libAXSpeechManager.dylib. One of the two will be used. Which one is undefined.
Oct 30 08:26:40 macMini com.apple.iphonesimulator.launchd.7e32645e[1451] (com.apple.xpc.launchd.domain.pid.SpringBoard.1460) <Error>: Failed to bootstrap path: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator7.0.sdk/System/Library/PrivateFrameworks/CloudServices.framework/XPCServices/com.apple.lakitu.xpc
    error: 107: Malformed bundle
Oct 30 08:26:41 macMini profiled[1456] <Notice>: (Note ) MC: Waiting for DataMigrator...

但至少它在运行...

显然,这个示例还没有更新...所以我收到了警告

Oct 30 08:51:26 macMini HelloWorld[1792] <Warning>: Application windows are expected to have a root view controller at the end of application launch

我随后修改了代码,添加了根视图控制器。

[window addSubview:controllersView];
[window setRootViewController:myViewController];
[window makeKeyAndVisible];

我清理了Xcode产品,清除并重置模拟器,然后关闭它...新建构建并运行...模拟器打开了,但没有运行HelloWorld应用程序...
我在模拟器控制台日志中没有看到任何故障https://gist.github.com/erwin/7230768,但什么也没发生,模拟器似乎消失了...而且Apple没有清晰的解释如何使其正确运行...
2个回答

1
您可能已经遇到了某些核心功能的不完整更新。由于苹果公司保护得很好,很难进行任何真正的诊断。如果您还没有这样做,我建议您去找一位苹果公司的“天才”(这是他们的术语,不是讽刺),他们可能会建议您清除数据并重新开始。

0

这可能是一个不完整或损坏的安装。我建议您清除并重新安装,然后尝试编译和运行示例,而不更改任何内容。(我希望示例(或第一个示例)至少应该在模拟器上编译和运行正常。)


只是安装损坏了。重新安装XCode5和模拟器(SDK 6.1和7),现在运行良好... - user762579

网页内容由stack overflow 提供, 点击上面的
可以查看英文原文,
原文链接