Search code examples
iphonexcodeframeworkscore-motion

How to link CoreMotion framework in Xcode


I'm having trouble installing a framework in XCode(CoreMotion).

I think it supposed to come along with XCode, but when I look for it in the existing frameworks it doesn't appear.

Does this library come with XCode 4(which I can't get because I need an OS update)?

Is it possible to install it from scratch?(figured that out)

Where can I get it?


Solution

  • You should have it with xcode.

    Click on your project -> click on your target -> click build phases -> link binary with libraries -> + sign at bottom of table then search for it and add it.

    Sometimes the folder folds up when you're searching for it, so make sure its in expanded state.