我刚在我的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