3

I have some support files, such as MagicalRecord and others that get compiled each and every time. Is there a way to prevent this unless I specifically want them recompiled?

SpokaneDude
  • 4,856
  • 13
  • 64
  • 120

1 Answers1

3

The basic idea would be to move all your support files from your application project to a static library project.

Then, you would build the library "once" and link with your application afterwards.

Apple describes that process here.

You have to be pretty careful to build your library in all required architectures, and maybe you have to add -ObjC as a linker flag.

A good starting point is this question.

Community
  • 1
  • 1
Christoph
  • 1,525
  • 1
  • 16
  • 27