• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: How to keep individual resource-based files as separate files inside the /Resources folder?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to keep individual resource-based files as separate files inside the /Resources folder?


  • Subject: Re: How to keep individual resource-based files as separate files inside the /Resources folder?
  • From: "Mills, Steve" <email@hidden>
  • Date: Tue, 14 Aug 2012 08:38:08 -0500

On Aug 13, 2012, at 18:39:28, Stephen Kay wrote:

> (Using XCode 2.4.1 on 10.4.11 to port an old CodeWarrior project that is
> resource-based.)
>
> I have some large binary files (actually they are basically .rsrc files, but
> are not identified as such by the extension) that are supposed to end up in
> my .app/Resources folder. They essentially have most of the data in the
> resource fork as resources.
>
> They need to remain as separately-named resource files, not be merged into
> the main app's resource file.
>
> If I just copy them to the .app/Resources folder with a Copy Files phase,
> the resource forks get stripped.

Use a Shell Script build phase and have it use the CpMac command line tool that's in the Developer/Tools folder within the Xcode bundle. See "man CpMac" for info.

--
Steve Mills
office: 952-818-3871
home: 952-401-6255
cell: 612-803-6157


 _______________________________________________
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

References: 
 >How to keep individual resource-based files as separate files inside the /Resources folder? (From: Stephen Kay <email@hidden>)

  • Prev by Date: #import competition broken on 4.4.1
  • Next by Date: Re: "Closed" Radar Bugs not fixed?
  • Previous by thread: Re: How to keep individual resource-based files as separate files inside the /Resources folder?
  • Next by thread: trying to understand crash reports better
  • Index(es):
    • Date
    • Thread