10.13 SDK (and iOS 11 equivalent) compatibility for GTM

Starting in the 10.6 SDK, the non-underscored and all-lowercase macro
names in <AssertMacros.h> were deprecated. In the 10.13 SDK shipping in
Xcode 9 beta 3 (but not previous betas of Xcode 9), Apple has made good
on its promise to eventually disable these names. Update GTM to use the
new underscored mixed-case names.

Provided that nobody needs to target anything older than the 10.5 SDK
anymore, this should be a safe change.

Aside from GTMCarbonEvent.m, which is used by Chrome, this change is
untested, and was made by mechanically replacing uses of the various
check, require, and verify macros found in GTM.
5 files changed
tree: 51caaa4dff0df947186a969f697acd3d53f55a41
  1. AddressBook/
  2. AppKit/
  3. BuildScripts/
  4. DebugUtils/
  5. Foundation/
  6. GTM.xcodeproj/
  7. GTMiPhone.xcodeproj/
  8. iPhone/
  9. UnitTesting/
  10. XcodeConfig/
  11. .swift-version
  12. BuildingAndUsing.txt
  13. CONTRIBUTING.md
  14. GoogleToolboxForMac.podspec
  15. GTM-Info.plist
  16. GTMDefines.h
  17. GTMiPhone-Info.plist
  18. LICENSE
  19. README.md
  20. ReleaseNotes.md
  21. UnitTest-Info.plist
README.md

GTM: Google Toolbox for Mac

Project site https://github.com/google/google-toolbox-for-mac
Discussion group http://groups.google.com/group/google-toolbox-for-mac

Google Toolbox for Mac

A collection of source from different Google projects that may be of use to developers working other iOS or OS X projects.

If you find a problem/bug or want a new feature to be included in the Google Toolbox for Mac, please join the discussion group or submit an issue.