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

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

    I met this problem when I upgraded the XCode to 4.5 and iOS to iOS6. For GMGridView, it just happened. Not for simulator, but only for device.

    I fixed this by the following steps: 1) Go to GMGridView project -> Build Settings 2) Under Setting -> Architectures, select "Standard (armv7, armv7s)"

    Then clean all (including DerivedData) and rebuild.

    Hope it helps!

提交回复
热议问题