Xcode4 Linking Problem. File was built for archive which is not the architecture being linked (arm6)

后端 未结 17 1398
别那么骄傲
别那么骄傲 2020-12-07 14:05

Recently, I switched to Xcode4 and when I compile my project I got following error.

ld: warning: ignoring file /Users/myname/Library/Developer/Xcode/DerivedD         


        
17条回答
  •  星月不相逢
    2020-12-07 14:38

    Had the same problem. But the reason was different I suppose. I was using the library.a file built for simulator and trying to run it on device.. came to know that i need different .a files for simulator and device. I hope this helps someone ;)

    For example, here I have imported different library files for device and simulator

提交回复
热议问题