2014-04-26 55 views
1

我刚在我的iMac上安装了RubyMotion。ruby​​motion无法找到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. 

但是,这并没有解决它。

感谢您的帮助!

回答

2

这是iOS 7 SDK中相对无害(我相信)的错误。

https://devforums.apple.com/message/940094#940094

I had the same issue and found your post when searching for a solution. My application appeared to be running fine but I was still getting this message I was able to eliminate the message on my machine, here is what I had to do;

Stop all execution on the simulator. Go to the simulator's home screen using shift-command-h. Delete the app from the simulator device by holding a click on my program until the delete icon appeared, then click the X to delete. In the iOS Simulator select Reset Content and Settings. Clean the project in Xcode, shift-command-k. Build it and run it.

Note, I was doing steps 4 & 5 but that wasn't working. It wasn't until I added step 3 (as crazy as it sounds) that it cleared my message.

Hope this works for you!

--Dave

也许删除应用程序,复位,并重新启动了iOS模拟器会工作。

+0

我重置iPhone模拟器,然后重新启动,它像冠军一样工作。 – stebooks

相关问题