- Home /
XCode build error
I'm getting an error while building in xcode.
XCode build error from the Locale.h file Expected identifier or '('
Does anyone know how to get around this? It's holding up my app store submission.
Thanks
xcodebuilderror.png
(115.7 kB)
Comment
Best Answer
Answer by DrTomato · May 27, 2020 at 11:25 PM
Try using a guard macro
#ifdef __cplusplus
extern "C" {
#endif
And again for the last bracket
#ifdef __cplusplus
}
#endif
Your answer
Follow this Question
Related Questions
Distribute terrain in zones 3 Answers
Xcode build fails, How to ? 1 Answer
Lots of "semantic issues" causing build to fail? 0 Answers
115 errors in xcode 2 Answers