robbiehanson / CocoaHTTPServer

A small, lightweight, embeddable HTTP server for Mac OS X or iOS applications
Other
5.59k stars 1.31k forks source link

MAC_OS_X_VERSION_MIN_REQUIRED is not defined by default in new Xcode projects #120

Open JetForMe opened 9 years ago

JetForMe commented 9 years ago

In Xcode 6.1, the deployment target is blank, and it seems to then not define MAC_OS_X_VERSION_MIN_REQUIRED, which makes the NEEDS_DISPATCH_RETAIN_RELEASE be undefined. It should instead assume the MIN is the same as the current.

JetForMe commented 9 years ago

Oh, no. GCDAsyncSocket.m needs to import <Availability.h>.