Adding Files to a Target
There are three ways to do this.
Click the project item in the Project navigator, and select the library target, passer, from the Targets list. Select the Build Phases tab. Find rating.c
in the Project navigator, and drag it into the “Compile Sources” phase. The label will show that there is one item in the phase, and the phase will open to show rating.c
in the list (Figure 6.2).
Get Xcode 5 Start to Finish: iOS and OS X Development now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.