Until xcode 4 final (I was using 3.latest and 4 GM for the time it was available) this didn\'t happen. When I upgraded to xcode 4 final version, I started getting a linking
I just turned the Build active architecture only to Yes in the Project -> Build Setting -> Architectures tab.