Why won't AVFoundation link with my XCode 3.2.3 iPhone 4.0.1 project?

后端 未结 2 1807
终归单人心
终归单人心 2021-02-05 03:34

I\'m following the reference at http://developer.apple.com/iphone/library/qa/qa2010/qa1702.html to capture video from the iPhone camera. It\'s a fresh project aside from the cod

相关标签:
2条回答
  • 2021-02-05 03:47

    Once again, I answer my own question.... I needed to add the CoreVideo and CoreMedia frameworks too.

    0 讨论(0)
  • 2021-02-05 04:03

    I spent a couple hours struggling with this a variation of this issue. I am posting this to help anybody else who might be in the same situation. I had already linked CoreVideo & CoreMedia to my project. However, I was still experiencing this issue. After a lot of searching around and trying different things I came across this post. Here is my fix:

    1) Remove the problematic libraries (CoreVideo and CoreMedia in my case). Do this by deleting them in the project nav and selecting "Remove References" and in the removing them from linked frameworks in "Build Phases"

    2) Add the frameworks again, clean, and recompile.

    0 讨论(0)
提交回复
热议问题