CFBundle runtime error - what does this mean?

2.9k views Asked by At

Every time I run my iPad app through Xcode, I get this error message in the console after didFinishLaunchingWithOptions: returns and before any code is run in my initial viewController class:

Unable to load string table file: CFBundle 0x134518370 </private/var/mobile/Containers/Bundle/Application/3B879FF9-02CD-48A1-A250-7A8613AE84EA/PedRampInv_Management.app> (executable, loaded) / Manage: The operation couldn’t be completed. (Cocoa error 3840.)

My app seems to be running just fine, and no other warnings, errors, or exceptions are thrown. Can anyone tell me how to 'fix' whatever bug is causing this error to appear at launch?? I am going to get this on the Apple app store soon, and want to make sure that this won't be a problem.

2

There are 2 answers

0
wildBillMunson On

OK so the problem was that the localizable strings file from my storyboard was empty. All I had to do was turn off the localization (thus removing the file) and turn it back on again, which automatically created a completed localizable strings file. Now my app runs without any errors.

2
dlobanov On

Same problem may be caused by storyboards outlet with warning (looking to nowhere).