Graphics Programs Reference
In-Depth Information
If a link cannot be resolved (because the object file that contains the code cannot be found
or because the object file doesn't contain the referenced code), you get a
linker error
.
Linker errors are more difficult for new developers to understand because they use unfa-
miliar terms and because there isn't one line of code that generated the error. So let's
cause a linker error just for practice. Select
CoreLocation.framework
from the pro-
ject navigator and hit the Delete key. On the window that appears, choose
Remove Refer-
ence Only
. Build the application again, and you will see new errors (
Figure 4.19
)
.
Figure 4.19 Build results with linker error