我在64位模式(armv7s)的iPhone 5s上编译card.io时遇到问题。它将在模拟器上进行编译。我正在使用Xcode 5。
这是我的错误消息:
Undefined symbols for architecture armv7s:
"_CMSampleBufferGetImageBuffer", referenced from:
-[CardIOVideoFrame process] in libCardIO.a(CardIOVideoFrame.o)
"_CMGetAttachment", referenced from:
-[CardIOVideoStream captureOutput:didOutputSampleBuffer:fromConnection:] in libCardIO.a(CardIOVideoStream.o)
ld: symbol(s) not found for architecture armv7s
答案 0 :(得分:6)
虽然正如@tomwhipple暗示的那样,如果你试图将当前版本的card.io合并到64位应用程序中,你最终会遇到其他问题,你现在得到的特定错误消息是由于某些东西其他
具体而言,您必须在应用项目中包含CoreMedia框架。
有关您需要包含的框架的完整列表,请参阅https://github.com/card-io/card.io-iOS-SDK。
答案 1 :(得分:0)
64位版本的card.io正在开发中,但尚未发布。我们会在准备好后更新this Github issue。