cs13
cs13

Reputation: 3

Apportable Protocol Declaration not found

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

Answers (2)

Paul Beusterien
Paul Beusterien

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

nprd
nprd

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

Related Questions