BuildTime fail

No viable conversion from ‘std::unique_ptr<const __CFString, juce::CFObjectDeleter<const __CFString *>>::pointer’ (aka ‘const __CFString *’) to ‘juce::StringRef’

My project cant build, am not sure what I did but any new project that i run fails to build and there are tones of errors as above.
How do I get rid of this.

It looks like you have a unique pointer to a string, and you’re trying to implicitly convert it to a juce::StringRef, either on a function call or on a function return. Try dereferencing the string pointer, i.e. *stringPtr instead of stringPtr.

Have you accidentally edited the JUCE source? What file(s) are these errors in?

This should be the case I guess,the errors are in the Juce files