我剛在我的iMac上安裝了RubyMotion。rubymotion無法找到CFBundle的可執行文件
我創造了我的第一個應用 - 你好
這是代碼:
class AppDelegate
def application(application, didFinishLaunchingWithOptions:launchOptions)
@window = UIWindow.alloc.initWithFrame(UIScreen.mainScreen.bounds)
@window.rootViewController = HelloViewController.alloc.init
@window.rootViewController.wantsFullScreenLayout = true
@window.makeKeyAndVisible
true
end
end
我跑$ Rake
和IOS模擬器啓動。而我得到這個錯誤:
2014-04-25 18:58:03.157 Hello[10488:70b] Cannot find executable for CFBundle 0x8d8a130 </Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator7.1.sdk/System/Library/AccessibilityBundles/CertUIFramework.axbundle> (not loaded)
我試圖從另一個問題:
Temporary workaround: click iOS Simulator > Reset Content and Settings... and run again.
但是,這並沒有解決它。
感謝您的幫助!
我重置iPhone模擬器,然後重新啓動,它像冠軍一樣工作。 – stebooks