Re: cocoapods: Problem with loading nib for a NSWindowController
Re: cocoapods: Problem with loading nib for a NSWindowController
- Subject: Re: cocoapods: Problem with loading nib for a NSWindowController
- From: Quincey Morris <email@hidden>
- Date: Fri, 18 Apr 2014 10:07:27 -0700
On Apr 18, 2014, at 06:32 , Colas <email@hidden> wrote:
> —> in my real project, I have an error :
> -[MyCBDLockManager loadWindow]: failed to load window nib file 'MyCBDLockManager’.
In regards to CocoaPods issues, this list isn’t the place to ask.
In regards to nib-loading issues:
— Check the capitalization of your XIB file name. It’s possible that case matters to nib loading, even though the Mac file system is case insensitive.
— Check the target membership of your XIB file. If it’s not marked as belonging to the target, it won’t get copied into the app.
— Check whether the nib file is in the built app. You can use “Reveal In Finder” with the app’s entry in the Products section of the navigator, then use “Show Package Contents” to look inside the app and see if the nib file is in the Resources subfolder where it should be.
If it’s none of the above, there may be a problem with the nib file itself (for example, not containing a window at all). I’d expect an exception to be thrown for these kinds of errors, but perhaps not.
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden