ios - 适用于 iOS 的 Google Cast SDK 2.3.0 不支持 64 位
<p><p>好像是 <a href="https://developers.google.com/cast/downloads/GoogleCastFramework-2.3.0-Release.zip" rel="noreferrer noopener nofollow">2.3.0 version of the Google Cast SDK for iOS</a>停止支持 <code>arm64</code> 架构(但它确实支持 <code>x86_64</code>,使其在 64 位模拟器中工作)</p>
<pre><code> λ: 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
</code></pre>
<p>因此,在为物理设备构建时出现此错误:</p>
<pre><code>ld: archive has no table of contents file '/Users/****/Frameworks/GoogleCast.framework/GoogleCast' for architecture arm64
</code></pre></p>
<br><hr><h1><strong>Best Answer-推荐答案</ strong></h1><br>
<p><p>如果 <strong>-all_load</strong> 标志对您不起作用(由于 3rd 方库)</p>
<p>你可以像这样使用 <code>ranlib</code> :</p>
<p><code>ranlib GoogleCast.framework/Versions/A/GoogleCast</code></p>
<p> <a href="https://code.google.com/p/google-cast-sdk/issues/detail?id=324" rel="noreferrer noopener nofollow">Source : google cast mailing list</a> </p></p>
<p style="font-size: 20px;">关于ios - 适用于 iOS 的 Google Cast SDK 2.3.0 不支持 64 位,我们在Stack Overflow上找到一个类似的问题:
<a href="https://stackoverflow.com/questions/24798718/" rel="noreferrer noopener nofollow" style="color: red;">
https://stackoverflow.com/questions/24798718/
</a>
</p>
页:
[1]