Reputation: 3
Error in apportable:
../ScanGiftViewController.m:21:38: error: cannot find protocol declaration for 'AVCaptureMetadataOutputObjectsDelegate'
@interface ScanGiftViewController ()<AVCaptureMetadataOutputObjectsDelegate>
Am I forgetting something? deps and headers look like this:
"deps": [
"AVFoundation",
"FacebooSDK",
],
"header_paths": [
"..",
"./Frameworks/AVFoundation",
"./Frameworks"
],
Upvotes: 0
Views: 161
Reputation: 29582
AVCaptureMetadataOutputObjectsDelegate is not yet declared or implemented in Apportable. For now, you'll need to find a workaround for your app that doesn't use it.
Upvotes: 1
Reputation: 1942
Please check did you include AVFoundation
framework to the project and imported it to your class as below
#import <AVFoundation/AVFoundation.h>
Upvotes: 0