This probably means you’ve pulled in a macOS system header yourself somewhere. You’ll need to prefix your points with juce:: or do something like this:
#ifdef __APPLE__
#define Point CarbonDummyPointName
#import <Foundation/Foundation.h>
#undef Point
#endif
