twe*_*ter 1 iphone cocoa-touch avfoundation wwdc
我从WWDC 2010下载了最新的视频捕获示例,并尝试在我的模拟器中运行它们.
一般来说,样本应该在没有任何修改的情况下运行,因此我只是将其中的一堆解压缩并尝试在Xcode中运行它们.我试过的都没有.例如,当我解压缩并尝试构建findMyiCone时,我得到45个错误.
这是前几行
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'
Run Code Online (Sandbox Code Playgroud)
我使用Xcode 3.2.3 64位并安装了iPhone 4.0 SDK
我的其他应用运行正常.
有人有类似的问题吗?有什么想法可能会发生什么?
归档时间: |
|
查看次数: |
2447 次 |
最近记录: |