2
Make sure you are linking the CoreMotion framework. Anytime you have linking problems, refer to the documentation first to see which dependencies it has (in this case, @import CoreMotion). In case you are sure and ask yourself: "But I'm sure this symbol is in this framework!", as you felt when ...