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

后端 未结 17 1394
别那么骄傲
别那么骄傲 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:37

    None of these answers worked for me. (Similar warning message, different static library project). For me it was having configured XCode to honor the build directories of the targets and then having targets build in a local build/ directory that caused the problem. Configuring XCOde to use "Derived data" folder fixed it.

提交回复
热议问题