title: Apple Mach-O linker (id) warning : building for MacOSX, but linking against dylib built for iOS
body: <p>Starting from some point in the past xCode 4 in complaining about linker problems:</p>
  
  <blockquote>
    <p>ld: warning: building for MacOSX, but linking against dylib built for
    iOS:
    /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator5.0.sdk/System/Library/Frameworks//CoreGraphics.framework/CoreGraphics</p>
  </blockquote>
  
  <p>I have checked everything but still nothing suspicious in the config and it compiles and runs.
  The only thing that I see it is double slashes before CoreGraphics.framework, why I do not know. Tried remove and add again library on "Build phases" that did not help.</p>