'CoreVideo/CoreVideo.h' file not found

谁说我不能喝 提交于 2019-12-11 03:30:10

问题


When I run a iOS App on my device , This error will appear

'CoreVideo/CoreVideo.h' file not found

not matter what project even though create a new project , once run the app on my device this error will appear

but the Simulator will be OK~

and I can't find some frameworks in

Target--Build Phase--Link Binary With Librares--add

like AVFoundation.framework AudioToolBox.framework

Should i reinstall the xcode on my mac~???


回答1:


Make certain you've added the CoreVideo framework to your project.

Here's how I do it in my own projects:

If you need help figuring out where it is (it's hidden within the XCode app package itself), let me know and I can show you.

Also, make certain "Target Membership" is checked for CoreVideo in the File Inspector of your project. It looks like this:



来源:https://stackoverflow.com/questions/15513742/corevideo-corevideo-h-file-not-found

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!