Re: rsrc file with PICT items - copied to Package as zero K file
Re: rsrc file with PICT items - copied to Package as zero K file
- Subject: Re: rsrc file with PICT items - copied to Package as zero K file
- From: Chris Espinosa <email@hidden>
- Date: Tue, 22 Feb 2005 13:57:12 -0800
On Feb 21, 2005, at 9:15 PM, Eppel (ETSC) wrote: I am using Xcode 1.5 and Mac OS X 10.3.8 and have been having an issue with rsrc files. I have 10 PICT resources in a ResEdit rsrc file added to my Xcode project and when I open the nib file in Interface Builder, the PICT items all show under the images tab and in the windows where I have the PICT controls set to the resource ID of the corresponding PICT. This part is working as expected. But when I build my application (carbon app with nib files) then the PICT items do not show up. I have the rsrc file added to the Resources directory of the Xcode project. When I open the build package and look in the Contents/Resources there is my rsrc file but the file size is “Zero” instead of the 380K of pictures for the original ResEdit file. I have tried naming the rsrc file the same as the executable file name and adding to the project again, but still ends up in the package as a Zero K file. Also if I don’t name it the same as the executable it still gets copied over with its original name (like PICTS.rsrc) and is still Zero K in size. I have other projects that are working fine with the PICTs.rsrc files but am baffled by this one. I have tried several new projects and have tried different names but am just spinning my wheels. Any help would be appreciated.
Make sure that all your resource-based resources (that is, .rsrc files) have the same forkedness, preferably data-fork. The ResMerger tool has trouble when merging both resource-fork-based resources and data-fork-based resources into the same resource file.
Chris
|
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden