擅长:python、mysql、java
<p>我找到了另一个解决方案<a href="http://martinkou.blogspot.com/2011/05/how-to-solve-assembler-for-architecture.html" rel="noreferrer">here</a>,它一劳永逸地解决了这个问题。结果XCode4仍然有ppc汇编程序。你只需要在正确的地方有一个符号链接:</p>
<pre><code>$ sudo ln -s /Developer/Platforms/iPhoneOS.platform/Developer/usr/libexec/gcc/darwin/ppc /Developer/usr/libexec/gcc/darwin
$ sudo ln -s /Developer/Platforms/iPhoneOS.platform/Developer/usr/libexec/gcc/darwin/ppc /usr/libexec/gcc/darwin
</code></pre>
<p>为我修复了雪豹上安装XCode4的问题。</p>
<p><strong>编辑</strong>:我尝试了其他解决方案,这些方案在某些情况下有效,但总是在某个地方遇到一个硬编码PPC需求的包。提供PPC汇编程序彻底解决了所有这些问题。</p>