我正在尝试使用Google Cast Remote Display。只需添加GoogleCastRemoteDisplay.framework即可导致链接错误。我已经整理了一些,但无法弄明白......
有人有想法吗?
Undefined symbols for architecture armv7:
"_kvImage_ARGBToYpCbCrMatrix_ITU_R_709_2", referenced from:
l034 in GoogleCastRemoteDisplay(libCastRemoteDisplay.a-armv7-master.o)
"_vImageConvert_ARGB8888To420Yp8_Cb8_Cr8", referenced from:
l035 in GoogleCastRemoteDisplay(libCastRemoteDisplay.a-armv7-master.o)
"_vImageConvert_ARGB8888To420Yp8_CbCr8", referenced from:
l035 in GoogleCastRemoteDisplay(libCastRemoteDisplay.a-armv7-master.o)
"_vImageConvert_ARGBToYpCbCr_GenerateConversion", referenced from:
l034 in GoogleCastRemoteDisplay(libCastRemoteDisplay.a-armv7-master.o)
ld: symbol(s) not found for architecture armv7
clang: error: linker command failed with exit code 1 (use -v to see invocation)
答案 0 :(得分:1)
通过运行“pod install”解决它而不是手动引入.framework然而这是一个统一项目,所以有问题
select customer_id as customer.id ....
目标覆盖`Pods / Target Support Files / Pods / Pods.release.xcconfig'中定义的Unity-iPhone [Release]
构建设置。这可能会导致CocoaPods安装出现问题
转到项目构建设置 - >其他链接器标志并添加了$(继承)
答案 1 :(得分:1)
绝对正确的是,Cocoapod是抓住图书馆的最佳方式。如果你手动考虑它,你需要链接相应的系统框架,以及依赖的常规google-cast-sdk - 你实际上可以从podspec读取这些内容,即使你'不使用Cocoapods。这些是:
和Metal如果使用那种渲染方法。
您列出的功能来自Accelerate框架。