Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

talguy

macrumors member
Original poster
Jun 17, 2009
30
0
I am building an interpreter in c++ and xcode as my IDE for a scripting language I have to develop. when I build the project xcode gives me a warning saying there is no rule to process file '$(PROJECT_DIR)/test.s' of type text for architecture x86_64. test.s is my script file I created. how could I make a rule to handle the script file as a text file.
 
For each of the targets whose rules you need to modify:

  • Double-click the target in your "Targets" sub group located in the "Groups and Files" list of the project. A dialog titled "Target <your target name> Info" will appear.
  • Click the "Rules" tab near the top of dialog.
It should be self evident what to do.
 
actually all I had to do was move the file into targets>my executable>copy files
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.