0

I have a project template called Foo. Xcode is replacing all the files and tokenizing all the ___PROJECTNAME___ and ___PROJECTNAMEASIDENTIFIER___ inside the files. In one of the source files I have

FooObject *foo = [FooObject fooWithName:@"foo"];

Xcode is replacing Foo in FooObject to the newly named project:

MyNewProjectObject *foo = [MyNewProjectObject fooWithName:@"foo"];

Is there a way that I can prevent this?

Thanks,

Chris

Dr.Kameleon
  • 22,532
  • 20
  • 115
  • 223
Chris
  • 645
  • 1
  • 5
  • 11

1 Answers1

0

After lots of futzing around I believe the answer is to make your template project name unique enough that it doesn't match any of your class names.

Chris
  • 645
  • 1
  • 5
  • 11