On Aug 3, 2011, at 11:51 AM, koko wrote: > I have a NSSegmentedControl as an item in a toolbar. There are 4 segments > each with a different image. > When I build, create an installer package and install on my system the > control draws as expected. > Using the same installer package on a remote system the control does not draw > the image for segments 0 and 3. Inspecting the Resources folder in the App > bundle shows the images for segments 0 and 3 to be present.
When I get an only-works-on-my-machine problem, the first thing I do is check for hardcoded absolute paths. I.e. did the segmented control’s image names somehow get set to absolute paths instead of names? It’s also worth checking capitalization of the image names, in case the remote system has a case-sensitive filesystem (unlikely but possible.) Beyond that, I’d start using fs_usage to track what files the app tries to open on launch. —Jens
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________ 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com