在启动iOS 7模拟器后遇到很多问题(尝试了许多在那里发布的建议......包括重新安装XCode5 ..我现在正在尝试运行Apple 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...
Run Code Online (Sandbox Code Playgroud)
但至少它正在运行......
显然这个样本还没有更新....所以我得到了警告
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
Run Code Online (Sandbox Code Playgroud)
然后我修改了代码,添加了根视图控制器
[window addSubview:controllersView];
[window setRootViewController:myViewController];
[window makeKeyAndVisible];
Run Code Online (Sandbox Code Playgroud)
我清理Xcode产品,我清除并重置模拟器,然后我关闭它..新构建并运行...模拟器打开,但不运行HelloWorld应用程序...
我没有在https://gist.github.com/erwin/7230768的模拟器控制台日志中看到任何故障, 但没有任何反应,模拟器似乎在空中丢失....并且没有明确的解释如何制作它与Apple正确运行......
| 归档时间: |
|
| 查看次数: |
898 次 |
| 最近记录: |