Skip to content

Instantly share code, notes, and snippets.

@CocoaBeans
Last active November 16, 2015 06:44
Show Gist options
  • Save CocoaBeans/0340d5bf666292b10ff0 to your computer and use it in GitHub Desktop.
Save CocoaBeans/0340d5bf666292b10ff0 to your computer and use it in GitHub Desktop.
// Crashlytics have defined these so that if we use a new SDK then build then we get errors. We'll define these macros to remove any typed collections.
#ifdef CLS_GENERIC_NSARRAY
#undef CLS_GENERIC_NSARRAY
#define CLS_GENERIC_NSARRAY(type) NSArray
#endif
#ifdef CLS_GENERIC_NSDICTIONARY
#undef CLS_GENERIC_NSDICTIONARY
#define CLS_GENERIC_NSDICTIONARY(key_type,object_key) NSDictionary
#endif
#ifdef ANS_GENERIC_NSARRAY
#undef ANS_GENERIC_NSARRAY
#define ANS_GENERIC_NSARRAY(type) NSArray
#endif
#ifdef ANS_GENERIC_NSDICTIONARY
#undef ANS_GENERIC_NSDICTIONARY
#define ANS_GENERIC_NSDICTIONARY(key_type,object_key) NSDictionary
#endif
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment