MKNetwork reports a bug in Xcode 6.1

I am using cocoapods install MKNetwork. When I use this engine, Xcode will report an error in this code:

ifndef __IPHONE_4_0

error "MKNetworkKit uses features only available in iOS SDK 4.0 and later."

ENDIF

What happened. In another project, it works great.

+3


source to share


1 answer


MKNetworkKit

it appears to be intended to be used to pre-compile the header. As of Xcode 6, you need to add the .pch file yourself and reference it in the appropriate build settings for your purpose.



+3


source







All Articles