Hi - I upgraded to Xcode 13 and started seeing this error. I then downgraded to Xcode 12.5 and I am still seeing this error. It seems to be an include path problem. Can anyone help advise on how to fix this? Thanks!!
In file included from /Users/brent/Documents/SoftwareDev/SoftwareDev/DialogRecorder/JuceLibraryCode/include_juce_core.mm:8:
In file included from /Users/brent/JUCE/modules/juce_core/juce_core.mm:23:
In file included from /Users/brent/JUCE/modules/juce_core/juce_core.cpp:138:
/Users/brent/JUCE/modules/juce_core/files/juce_File.cpp:977:9: error: use of undeclared identifier ‘symlink’
if (symlink (nativePathOfTarget.toRawUTF8(), linkFileToCreate.getFullPathName().toRawUTF8()) == -1)
^
In file included from /Users/brent/Documents/SoftwareDev/SoftwareDev/DialogRecorder/JuceLibraryCode/include_juce_core.mm:8:
In file included from /Users/brent/JUCE/modules/juce_core/juce_core.mm:23:
In file included from /Users/brent/JUCE/modules/juce_core/juce_core.cpp:156:
/Users/brent/JUCE/modules/juce_core/network/juce_Socket.cpp:137:19: error: no type named ‘close’ in the global namespace
::close (h);
~~^
/Users/brent/JUCE/modules/juce_core/network/juce_Socket.cpp:412:23: error: no type named ‘close’ in the global namespace
::close (newHandle);
~~^
In file included from /Users/brent/Documents/SoftwareDev/SoftwareDev/DialogRecorder/JuceLibraryCode/include_juce_core.mm:8:
In file included from /Users/brent/JUCE/modules/juce_core/juce_core.mm:23:
In file included from /Users/brent/JUCE/modules/juce_core/juce_core.cpp:164:
/Users/brent/JUCE/modules/juce_core/system/juce_SystemStats.cpp:204:13: error: use of undeclared identifier ‘getpid’
::kill (getpid(), SIGKILL);
^
In file included from /Users/brent/Documents/SoftwareDev/SoftwareDev/DialogRecorder/JuceLibraryCode/include_juce_core.mm:8:
In file included from /Users/brent/JUCE/modules/juce_core/juce_core.mm:23:
In file included from /Users/brent/JUCE/modules/juce_core/juce_core.cpp:197:
/Users/brent/JUCE/modules/juce_core/native/juce_posix_SharedCode.h:115:16: error: use of undeclared identifier ‘getcwd’
auto cwd = getcwd (localBuffer, sizeof (localBuffer) - 1);
^
/Users/brent/JUCE/modules/juce_core/native/juce_posix_SharedCode.h:121:15: error: use of undeclared identifier ‘getcwd’
cwd = getcwd (heapBuffer, bufferSize - 1);

