0

Hey, Well I went through the steps in that tutorial: http://pocketworx.com/?p=80, Now when I'm trying to build, I get 45 errors, they say stuff like that:

AVFoundation/AVCaptureSession.h: No such file or directory AVFoundation/AVCaptureDevice.h: No such file or directory AVFoundation/AVCaptureInput.h: No such file or directory AVFoundation/AVCaptureOutput.h: No such file or directory AVFoundation/AVCaptureVideoPreviewLayer.h: No such file or directory

I thought that maybe I don't have the AVFoundation framework, but I looked and "AVFoundation.framework" is in my Frameworks folder..

Do you have any idea why this is happening?

Dony
  • 1

1 Answers1

0

Looks like you did not add the framework to your project.

Andrew
  • 24,218
  • 13
  • 61
  • 90
  • can you read before answering? "I thought that maybe I don't have the AVFoundation framework, but I looked and "AVFoundation.framework" is in my Frameworks folder.." , so if its in my project, how did i not add the framework to it?.. i removed it and added it again and it didnt solve the problem – Dony Jun 05 '11 at 20:41
  • did you do it like that: http://stackoverflow.com/questions/3352664/how-to-add-existing-frameworks-in-xcode-4 ? – Andrew Jun 05 '11 at 20:49
  • @Dony: also, does the problem appear on a simulator ? – Andrew Jun 05 '11 at 20:54
  • I just tried to, but I don't find any build phases tab, or link binaries in my xcode, Sorry, I'm pretty new to iPhone development, and to mac.. – Dony Jun 05 '11 at 21:02
  • Tried to build for the simulator, it wont give me those errors, but it gives me others, saying: "_ABPersonCopyImageData", referenced from: -[OFSelectContactsToInviteHeaderController peoplePickerNavigationController:shouldContinueAfterSelectingPerson:property:identifier:] in OFSelectContactsToInviteHeaderController.o /Users/user/Documents/objects/Classes/objectsAppDelegate.mm:131:0 /Users/user/Documents/objects/Classes/objectsAppDelegate.mm:131: warning: 'OpenFeint' may not respond to '+applicationWillResignActive' and a few more.. – Dony Jun 05 '11 at 21:09
  • @Dony: http://www.cocos2d-iphone.org/forum/topic/8599 - Hope it will solve your problem. – Andrew Jun 05 '11 at 21:15