3 Replies
      Latest reply on Oct 14, 2019 2:07 PM by Claude31
      flarosa Level 1 Level 1 (0 points)

        It's been a while since I've added a new target to a project. In the past, if I want my new target to use code from the original target, I've had to manually add the required source files and resources in the "Build Phases" tab, which can be tedious and error-prone.

         

        Is there an easy way to give the new target access to everything from the old target?

         

        I tried adding the old target under Dependencies. This seems to have almost worked. My code will compile, but fails at the linker stage with an Undefined Symbol error referencing an Objective-C class that is in the old target.

         

        Thanks,

        Frank