Skip to content

Instantly share code, notes, and snippets.

@atomkirk
Created May 27, 2013 18:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save atomkirk/5658398 to your computer and use it in GitHub Desktop.
Save atomkirk/5658398 to your computer and use it in GitHub Desktop.
core graphics & application services

You can't mix CoreGraphics and ApplicationServices on mac. If you have two targets, and you want to use things like CGFloat, etc. link to CoreGraphics on iOS and ApplicationServices on OSX. On 10.8, it's fine, it'll work, but you're still suppose to use ApplicaitonServices. On 10.7, it'll build, launch and crash with an error about mismatched ApplicationServices versions because CoreGraphics is calling 10.8's ApplicationServices version. (or some such...)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment