问题描述
我有新的更改雪豹与狮子OS X和Xcode 4.0.1与4.1。 iPhone代码在Xcode 4.0.1上正常工作。现在在Xcode 4.1它给出错误主要与LLVM GCC 4.2相关。我试着改变编译器的不同选项可用。可以身体知道问题,帮助我出这一点。
I have new changed the Snow leopard with Lion OS x and Xcode 4.0.1 with 4.1. The iPhone code was working fine on Xcode 4.0.1. Now in Xcode 4.1 it giving errors mostly related to LLVM GCC 4.2. I have tried with changing the compiler's different options available. Can body know the issue and help me out of this.
推荐答案
我知道当我升级到Lion和Xcode 4.1时,通过App Store更新删除了iOS SDK 4.0,4.1和4.2 ,只剩下4.3。
I know that when I upgraded to Lion and Xcode 4.1, the update via App Store removed iOS SDK 4.0, 4.1 and 4.2, leaving only 4.3.
这给我编译错误,因为我的基础SDK是4.0,它需要4.0 SDK文件编译,我很幸运,有一切备份并将我的SDK复制到Lion中
This gave me compile errors because my base SDK was 4.0, it required the 4.0 SDK files to compile, I was lucky enough to have everything backed up and I copied my SDKs back over to Lion into
/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs
这是升级时唯一的问题,希望这有帮助。
This was the only issue I had with the upgrade, hope this helps.
这篇关于将Xcode 4.0.1升级到4.1,导致iPhone sdk的编译错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!