mirror of
https://github.com/zhigang1992/RestKit.git
synced 2026-04-24 04:46:01 +08:00
Throw a build failure if not compiled with ARC (boosted from AFNetworking/AFNetworking#541)
This commit is contained in:
@@ -28,6 +28,11 @@
|
||||
#import "RKLog.h"
|
||||
#import "RKMIMETypeSerialization.h"
|
||||
|
||||
#if !__has_feature(objc_arc)
|
||||
#error RestKit must be built with ARC.
|
||||
// You can turn on ARC for only RestKit files by adding "-fobjc-arc" to the build phase for each of its files.
|
||||
#endif
|
||||
|
||||
//////////////////////////////////
|
||||
// Shared Instance
|
||||
|
||||
|
||||
Reference in New Issue
Block a user