I want one project that holds all my shared code within the #if and #else definitions, I'd like this code to be able to be built with the 10.10 SDK as well as the iOS 8.1 SDK. Is that possible to make one target(A framework) which both supports iOS and OS X ? or do I have to make 2 separate targets in my project?
Update Build settings
Build Settings - > Supported Platform -> iOS OS X