latest braincloud xcode build error
Unsolved
General
-
Libraries/com.bitheads.braincloud/Runtime/Plugins/iOS/RegionLocaleNative.mm:13:38 Use of undeclared identifier 'currentLocale'
-
extern "C"
{
extern "C"
{
const char * _GetUsersCountryLocale()
{
//NSString countryCode = [[NSLocale currentLocale] objectForKey: NSLocaleCountryCode];
NSString countryCode = [currentLocale objectForKey : NSLocaleCountryCode];
if(countryCode == nil) {
return strdup("Unknown");
}return strdup([countryCode UTF8String]); } }
}
-
Hi Lee,
I've reported this to the devs.
Paul.
-
Okay, I built it using the commented out part above.