Skip to content

Instantly share code, notes, and snippets.

@levigroker
Created May 7, 2012 21:50
Show Gist options
  • Save levigroker/2630702 to your computer and use it in GitHub Desktop.
Save levigroker/2630702 to your computer and use it in GitHub Desktop.
Override deprecation compiler warning
#ifdef DEBUG
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wdeprecated-declarations"
[TestFlight setDeviceIdentifier:[[UIDevice currentDevice] uniqueIdentifier]];
#pragma clang diagnostic pop
#endif
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment