在啓動iOS 7模擬器中遇到很多問題(嘗試了很多發佈的建議,包括重新安裝XCode5 .. 我正在嘗試運行Apple HelloWorld示例..哪些應該是測試參考..爲什麼iOS7模擬器無法啓動或啓動,因爲它想...?
..它在模擬器上運行 但是一次可以看到模擬器控制檯有很多錯誤,包括畸形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正常運行的明確說明..
就是這樣...損壞的安裝。重新安裝XCode5和模擬器(SDK 6.1和7)後,現在運行良好... – erwin