简体   繁体   中英

CFBundle runtime error - what does this mean?

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.

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.

同样的问题可能是由带有警告的故事板出口引起的(无处可寻)。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM