CocoaHTTPServer icon indicating copy to clipboard operation
CocoaHTTPServer copied to clipboard

MAC_OS_X_VERSION_MIN_REQUIRED is not defined by default in new Xcode projects

Open JetForMe opened this issue 11 years ago • 1 comments

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 avatar Oct 20 '14 23:10 JetForMe

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

JetForMe avatar Oct 20 '14 23:10 JetForMe