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"
],
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.
请检查您是否将AVFoundation
框架包含到项目中,并将其导入到您的类中,如下所示
#import <AVFoundation/AVFoundation.h>
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.