• 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: XCode Resource Files
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: XCode Resource Files


  • Subject: Re: XCode Resource Files
  • From: Chris Espinosa <email@hidden>
  • Date: Wed, 3 May 2006 11:09:03 -0700

On May 3, 2006, at 9:04 AM, Madhavi Kankanala wrote:

I am having problems linking to Resource Files with STRINGTABLES.  It worked fine on CodeWarrior and when we imported to the Xcode, The following build error occurs in resource file when I run the project.

  ###  Developer/Tools/Rez -  Expected  'DATA', 'ENUM', 'INCLUDE' , 'READ', 'RESOURCE' or 'TYPE', but got identifier (STRINGTABLE).

  The resource file looks like

#include "WP_Str.h"

STRINGTABLE DISCARDABLE

BEGIN

            str_pDlgWindowTitle                               "Print Preview"

            str_pDlgPrintChapter                  "Print This Chapter"

            str_pDlgPrintPage                                  "Print This Page"

            str_pDlgPrintAllChaps                "Print All Chapters"

 

How do we use these 'STRINGTABLE' in resource files in XCode? All other resource files are linking fine except those contain this STRINGTABLE identifier. Actually this code was written by other programmers and now we are importing those old projects to XCode. My question is "Is StringTable a keyword in resource files or whether it should be defined in another file?"  

Also #defines in the Prefix files are not accessible in resource files. How do we access them in the resource files?

STRINGTABLE, DISCARDABLE, and BEGIN are not Rez keywords, so I expect that they are convenience macros that are defined in your Rez prefix file.  Try setting the "Rez Prefix File" build setting to the path to that 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

  • Follow-Ups:
    • Re: XCode Resource Files
      • From: "Madhavi Kankanala" <email@hidden>
References: 
 >XCode Resource Files (From: "Madhavi Kankanala" <email@hidden>)

  • Prev by Date: Re: Help : Debugging 3rd party plugin via XCode 2.2.1
  • Next by Date: Re: cc1objplus quit notice
  • Previous by thread: Re: XCode Resource Files
  • Next by thread: Re: XCode Resource Files
  • Index(es):
    • Date
    • Thread