title: Linker error after upgrading to Xcode 4.6: armv7, ZBarSDK
body: <p>So i upgraded to Xcode 4.6 but i'm having problems. I can build and run program with no problem but when i try to create archive i get that error:</p>
  
  <pre><code> Ld /Users/me/Library/Developer/Xcode/DerivedData/ZM-dezzadmbbhmnbdehrgfgxsvipnzu/Build/Intermediates/ArchiveIntermediates/ZM/IntermediateBuildFilesPath/ZM.build/Release-iphoneos/ZM.build/Objects-normal/armv7s/ZM normal armv7s
  cd /Users/me/Desktop/zav-mb-iphone-test
  setenv IPHONEOS_DEPLOYMENT_TARGET 4.2
  setenv PATH "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin"
  /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -arch armv7s -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS6.1.sdk -L/Users/mitjaresek/Library/Developer/Xcode/DerivedData/ZM-dezzadmbbhmnbdehrgfgxsvipnzu/Build/Intermediates/ArchiveIntermediates/ZM/BuildProductsPath/Release-iphoneos -L/Users/mitjaresek/Desktop/zav-mb-iphone-test/ZBarSDK -F/Users/mitjaresek/Library/Developer/Xcode/DerivedData/ZM-dezzadmbbhmnbdehrgfgxsvipnzu/Build/Intermediates/ArchiveIntermediates/ZM/BuildProductsPath/Release-iphoneos -filelist /Users/mitjaresek/Library/Developer/Xcode/DerivedData/ZM-dezzadmbbhmnbdehrgfgxsvipnzu/Build/Intermediates/ArchiveIntermediates/ZM/IntermediateBuildFilesPath/ZM.build/Release-iphoneos/ZM.build/Objects-normal/armv7s/ZM.LinkFileList -dead_strip -fobjc-arc -fobjc-link-runtime -miphoneos-version-min=4.2 -liconv -framework AVFoundation -framework CoreMedia -framework CoreVideo -framework AddressBook -framework AddressBookUI -framework AudioToolbox -framework QuartzCore -framework SystemConfiguration -framework MessageUI -framework CoreLocation -framework MapKit -framework UIKit -framework Foundation -framework CoreGraphics -lzbar -o /Users/mitjaresek/Library/Developer/Xcode/DerivedData/ZM-dezzadmbbhmnbdehrgfgxsvipnzu/Build/Intermediates/ArchiveIntermediates/ZM/IntermediateBuildFilesPath/ZM.build/Release-iphoneos/ZM.build/Objects-normal/armv7s/ZM
  
  ld: file is universal (3 slices) but does not contain a(n) armv7s slice: /Users/me/iphone-test/ZBarSDK/libzbar.a for architecture armv7s
  clang: error: linker command failed with exit code 1 (use -v to see invocation)
  </code></pre>
  
  <p>So how do i fix it?</p>
  
  <p>I'm getting really annoyed by that upgrade...</p>