2015-10-14 3 views
1

Я пошел в более старый проект, который должен обновить SDK для сканера, который он использует. Новый SDK готов к работе на 64 бит, поэтому приложение нуждается в обновлении. В SDK устанавливается путем перетаскивания в проект, но после этого я получаю следующее сообщение об ошибке при создании:XCode - неопределенные символы для архитектуры armv7 arm64

Примечания: Я получаю сообщение об ошибке со ссылкой на arm64 но это один в настоящее время говорит armv7, потому что я вертел.

Undefined symbols for architecture armv7:
"_AVMetadataObjectTypeUPCECode", referenced from: -[SoftScanController initWithDeviceObject:] in libScanApi.a(SoftScanController.o) "_AVMetadataObjectTypeEAN8Code", referenced from: -[SoftScanController initWithDeviceObject:] in libScanApi.a(SoftScanController.o)
"_AVMetadataObjectTypeCode93Code", referenced from: -[SoftScanController initWithDeviceObject:] in libScanApi.a(SoftScanController.o) "_AVMediaTypeVideo", referenced from: -[SoftScan initWithDelegate:] in libScanApi.a(SoftScanController.o) "_AVMetadataObjectTypeAztecCode", referenced from: -[SoftScanController initWithDeviceObject:] in libScanApi.a(SoftScanController.o) "_AVMetadataObjectTypeEAN13Code", referenced from: -[SoftScanController initWithDeviceObject:] in libScanApi.a(SoftScanController.o)
"_AVLayerVideoGravityResizeAspectFill", referenced from: -[SoftScan start:] in libScanApi.a(SoftScanController.o) "_OBJC_CLASS_$_AVCaptureVideoPreviewLayer", referenced from: objc-class-ref in libScanApi.a(SoftScanController.o) "_AVMetadataObjectTypePDF417Code", referenced from: -[SoftScanController initWithDeviceObject:] in libScanApi.a(SoftScanController.o) "_OBJC_CLASS_$_AVCaptureSession", referenced from: objc-class-ref in libScanApi.a(SoftScanController.o) "_AVMetadataObjectTypeCode39Code", referenced from: -[SoftScanController initWithDeviceObject:] in libScanApi.a(SoftScanController.o)
"_AVMetadataObjectTypeCode128Code", referenced from: -[SoftScanController initWithDeviceObject:] in libScanApi.a(SoftScanController.o) "_AVMetadataObjectTypeQRCode", referenced from: -[SoftScanController initWithDeviceObject:] in libScanApi.a(SoftScanController.o)
"_OBJC_CLASS_$_AVCaptureMetadataOutput", referenced from: objc-class-ref in libScanApi.a(SoftScanController.o) "_AVMetadataObjectTypeCode39Mod43Code", referenced from: -[SoftScanController initWithDeviceObject:] in libScanApi.a(SoftScanController.o)
"_OBJC_CLASS_$_AVCaptureDeviceInput", referenced from: objc-class-ref in libScanApi.a(SoftScanController.o) "_OBJC_CLASS_$_AVCaptureDevice", referenced from: objc-class-ref in libScanApi.a(SoftScanController.o) ld: symbol(s) not found for architecture armv7 clang: error: linker command failed with exit code 1 (use -v to see invocation)

Все ошибки, которые возникают, относятся к SDK для сканера. Мои текущие настройки сборки являются:

Архитектуры: Standard architecture

Base SDK: latest(9.0)

Build Active architecture only : no

valid architectures: armv7 armv7s arm64

Любая помощь будет принята.

ответ

3

Похоже, что вы не связываете свой проект с каркасом AVFoundation.

User Guide.

+1

Так просто. Спасибо. – Steve

Смежные вопросы