适用于iOS的Google Cast SDK 2.3.0不支持64位 [英] Google Cast SDK 2.3.0 for iOS doesn't support 64-bit
问题描述
似乎 2.3.0版本的Google Cast适用于iOS的SDK 停止支持 arm64
架构(尽管它确实支持 x86_64
,但使其可以在64位模拟器)
λ:cd GoogleCast.framework
λ:file GoogleCast
GoogleCast:Mach -O具有5个体系结构的通用二进制文件
GoogleCast(用于体系结构cputype(16777228)cpusubtype(0)):当前ar存档
GoogleCast(用于体系结构armv7):当前ar存档随机库
GoogleCast(适用于架构armv7s):当前ar存档随机库
GoogleCast(适用于架构i386):当前ar存档随机库
GoogleCast(适用于架构x86_64):当前ar存档随机库
因此,在构建物理设备时出现此错误:
ld:归档文件没有用于架构arm64
$ p $的目录文件'/Users/****/Frameworks/GoogleCast.framework/GoogleCast' p>
解决方案我提出了这个问题 https://code.google.com/p/google-cast-sdk/issues/detail?id=324&can= 1& q = arm64
在Other Linker Flag中添加-all_load使其可以与arm64一起使用,但是我仍然收到有关缺少矮人的警告:
警告:(arm64)/Users/marksp/Documents/src/tvmp-iview-ios/Pods/google-cast-sdk/GoogleCastFramework-2.3.0-Release/GoogleCast。 framework / GoogleCast(CastProtos.o)对象文件不包含DWARF调试信息
It seems like the 2.3.0 version of the Google Cast SDK for iOS stopped supporting the
arm64
architecture (it does supportx86_64
though, making it work in the 64-bit simulator)λ: cd GoogleCast.framework λ: file GoogleCast GoogleCast: Mach-O universal binary with 5 architectures GoogleCast (for architecture cputype (16777228) cpusubtype (0)): current ar archive GoogleCast (for architecture armv7): current ar archive random library GoogleCast (for architecture armv7s): current ar archive random library GoogleCast (for architecture i386): current ar archive random library GoogleCast (for architecture x86_64): current ar archive random library
Therefore, I get this error when building for a physical device:
ld: archive has no table of contents file '/Users/****/Frameworks/GoogleCast.framework/GoogleCast' for architecture arm64
解决方案I raised this issue https://code.google.com/p/google-cast-sdk/issues/detail?id=324&can=1&q=arm64
adding -all_load in Other Linker Flag made it work with arm64 but I still get warnings about a missing dwarf:
"warning: (arm64) /Users/marksp/Documents/src/tvmp-iview-ios/Pods/google-cast-sdk/GoogleCastFramework-2.3.0-Release/GoogleCast.framework/GoogleCast(CastProtos.o) object file doesn't contain DWARF debug information"
这篇关于适用于iOS的Google Cast SDK 2.3.0不支持64位的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!