1
我从WWDC 2010下载了最新的视频捕获样本,并试图在我的模拟器中运行它们。为什么WWDC 2010视频捕获示例不能在模拟器中使用?
一般情况下,样本应该没有任何修补,所以我只是解压缩一堆,并试图在Xcode中运行它们。没有一个我试过的。 例如,当我解压并尝试构建findMyiCone时,我得到45个错误。
这里是前几行使用的Xcode 3.2.3 64位
In file included from /Users/aw/Desktop/Sample code/WWDC10-SampleCode/FindMyiCone/Classes/ProcessViewController.h:49,
from /Users/aw/Desktop/Sample code/WWDC10-SampleCode/FindMyiCone/Classes/ProcessAppDelegate.m:50:
/Users/aw/Desktop/Sample code/WWDC10-SampleCode/FindMyiCone/Classes/CaptureSessionManager.h:52: error: cannot find protocol declaration for 'AVCaptureVideoDataOutputSampleBufferDelegate'
/Users/aw/Desktop/Sample code/WWDC10-SampleCode/FindMyiCone/Classes/CaptureSessionManager.h:54: error: expected specifier-qualifier-list before 'AVCaptureSession'
/Users/aw/Desktop/Sample code/WWDC10-SampleCode/FindMyiCone/Classes/CaptureSessionManager.h:55: error: expected specifier-qualifier-list before 'AVCaptureVideoPreviewLayer'
/Users/aw/Desktop/Sample code/WWDC10-SampleCode/FindMyiCone/Classes/CaptureSessionManager.h:56: error: expected specifier-qualifier-list before 'AVCaptureConnection'
Im和已安装iPhone 4.0 SDK
我的其他应用程序正常工作。
任何人都有类似的问题?任何想法可能发生什么?
我在同一件事情上挣扎了两个小时。 :(.. – Sneha 2011-03-16 06:00:27