问题描述
我去了一个较旧的项目,需要为其使用的扫描程序更新SDK。新的SDK已准备好64位,因此应用程序需要更新。
SDK是通过拖放到项目中安装的,但之后我在构建时遇到以下错误:
I've gone to an older project that needs to have the SDK updated for the scanner that it uses. The new SDK is 64bit ready and so the app needs updating.The SDK is installed by dragging and dropping into the project but after that I get the following error when building:
注意:我收到的错误指的是 arm64
但是这个当前说 armv7
因为我摆弄了。
Note: I was getting an error referring to arm64
but this one currently says armv7
because I fiddled.
架构armv7的未定义符号:
_AVMetadataObjectTypeUPCECode,引自:
- libScanApi.a中的[SoftScanController initWithDeviceObject:](SoftScanController.o)_ AVMetadataObjectTypeEAN8Code ,
引自:
- [SoftScanController initWithDeviceObject:]在libScanApi.a(SoftScanController.o)中
_AVMetadataObjectTypeCode93Code,引自:
- [SoftScanController initWithDeviceObject :]在libScanApi.a(SoftScanController.o)_ AVMediaTypeVideo中,引用
来自:
- [SoftScan initWithDelegate:] in libScanApi.a(SoftScanController.o)_ AVMetadataObjectTypeAztecCode,
引用F rom:
- libScanApi.a中的[SoftScanController initWithDeviceObject:](SoftScanController.o)_ AVMetadataObjectTypeEAN13Code,
引用自:
- libScanApi.a中的[SoftScanController initWithDeviceObject:](SoftScanController.o )
_AVLayerVideoGravityResizeAspectFill,引自:
- [SoftScan start:]在libScanApi.a(SoftScanController.o)_ OBJC_CLASS _ $ _ AVCaptureVideoPreviewLayer中,引自:
objc-class libScanApi.a中的-ref(SoftScanController.o)_AVMetadataObjectTypePDF417Code,引自:
- libScanApi.a中的[SoftScanController initWithDeviceObject:](SoftScanController.o)_ OBJC_CLASS _ $ _ AVCaptureSession,
引自: libScanApi.a中的
objc-class-ref(SoftScanController.o)_AVMetadataObjectTypeCode39Code,引自:
- libScanApi.a中的[SoftScanController initWithDeviceObject:](SoftScanController.o)
_AVMetadataObjectTypeCode128Code,referen ced from:
- [SoftScanController中的[SoftScanController initWithDeviceObject:](SoftScanController.o)_ AVMetadataObjectTypeQRCode,
引自:
- libScanApi.a中的[SoftScanController initWithDeviceObject:](SoftScanController。 o)
_ OBJC_CLASS _ $ _ AVCaptureMetadataOutput,引自:
objc-class-ref in libScanApi.a(SoftScanController.o)_ AVMetadataObjectTypeCode39Mod43Code,引自:
- [SoftScanController initSithDeviceObject:]在libScanApi.a(SoftScanController.o)中
_ OBJC_CLASS _ $ _ AVCaptureDeviceInput,引用自:
objc-class-ref in libScanApi.a(SoftScanController.o)_ OBJC_CLASS _ $ _ AVCaptureDevice ,引用自:
objc-class-ref in libScanApi.a(SoftScanController.o)ld:symbol(s)找不到架构armv7 clang:错误:链接器
命令失败,退出代码为1(使用-v来查看调用)
所有出现的错误转到扫描仪的SDK。
我当前的构建设置是:
All of the errors that come up refer to the SDK for the scanner.My current build settings are:
架构:标准架构
基本SDK:最新(9.0)
Base SDK: latest(9.0)
仅限构建活动架构:否
Build Active architecture only : no
有效架构:armv7 armv7s arm64
valid architectures: armv7 armv7s arm64
任何帮助都会很受欢迎。
Any assistance would be well received.
推荐答案
看起来您没有将项目与 AVFoundation
框架链接。
It looks like you are not linking your project with the AVFoundation
framework.
。
这篇关于XCode - 架构armv7 arm64的未定义符号的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!