Re : Re: cocoapods: Problem with loading nib for a NSWindowController

2014-04-19 Thread Colas B
Hi and thanks for your answers.br/br/It was a problem with cocoapods. I 
don't know why but even after reinstalling, the script add Pods resources was 
not in the build phases.br/br/I added it manually, and now it works.
___

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Re: cocoapods: Problem with loading nib for a NSWindowController

2014-04-18 Thread Quincey Morris
On Apr 18, 2014, at 06:32 , Colas colasj...@yahoo.fr 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 (Cocoa-dev@lists.apple.com)

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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Re: cocoapods: Problem with loading nib for a NSWindowController

2014-04-18 Thread Gerd Knops
Dangerous (and entirely wrong) assumption.

On Apr 18, 2014, at 12:07 PM, Quincey Morris 
quinceymor...@rivergatesoftware.com wrote:

 — 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.
 


___

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Re: cocoapods: Problem with loading nib for a NSWindowController

2014-04-18 Thread Fritz Anderson
To be less Hermetic… case-sensitivity has been an option in HFS+ installation 
for many, many years.

I think you’d be ill-advised to pick it, as I am confident that there is a 
large codebase that inadvertently depends on case-insensitivity. (That is, the 
developer sometimes opened Polish.dat, and sometimes polish.dat.) You have 
to have very particular circumstances, or be of a certain personal disposition, 
to want to do it anyway.

— F

On 18 Apr 2014, at 4:14 PM, Gerd Knops gerti-cocoa...@bitart.com wrote:

 Dangerous (and entirely wrong) assumption.
 
 On Apr 18, 2014, at 12:07 PM, Quincey Morris 
 quinceymor...@rivergatesoftware.com wrote:
 
 — 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.
 
 


___

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Re: cocoapods: Problem with loading nib for a NSWindowController

2014-04-18 Thread Fritz Anderson
Oh, also, HFS+ is case-sensitive in iOS, lacking NSWindowController though it 
be.

(Is it HFS+? I’m too eager to get out the door for me to check.)

— F


On 18 Apr 2014, at 5:30 PM, Fritz Anderson fri...@manoverboard.org wrote:

 To be less Hermetic… case-sensitivity has been an option in HFS+ installation 
 for many, many years.
 
 I think you’d be ill-advised to pick it, as I am confident that there is a 
 large codebase that inadvertently depends on case-insensitivity. (That is, 
 the developer sometimes opened Polish.dat, and sometimes polish.dat.) You 
 have to have very particular circumstances, or be of a certain personal 
 disposition, to want to do it anyway.
 
   — F


___

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Re: cocoapods: Problem with loading nib for a NSWindowController

2014-04-18 Thread Quincey Morris
On Apr 18, 2014, at 14:14 , Gerd Knops gerti-cocoa...@bitart.com wrote:

 Dangerous (and entirely wrong) assumption.

I know perfectly well that Mac HFS+ can be made case sensitive, so perhaps I 
should have worded it better: “…even *when* the Mac file system is case 
insensitive.”

However, both you and Fritz missed my real point, which is that it *may* be (I 
have a *vague* recollection of this coming up before) that nib loading might 
fail if the the string passed to ‘initWithNibName:’ doesn’t match the case of 
the actual file name, regardless of the case sensitivity of the file system. 
Perhaps I misremember, but IAC the point is to check for any case-sensitivity 
issues which might amount to a misspelled string.

___

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com