_Geant4 Version:_11.0.3
_Operating System:_MacOs
_Compiler/Version:_Xcode 13.1
Hello,
I tried to configure and generate a project from CMakeList, and this error showed up:
CMake Error in CMakeLists.txt:
Imported target "Geant4::G4Tree" includes non-existent path
"/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include"
in its INTERFACE_INCLUDE_DIRECTORIES. Possible reasons include:
* The path was deleted, renamed, or moved to another location.
* An install or uninstall procedure did not complete successfully.
* The installation package was faulty and references files it does not
provide.
I have XCode 13.1 installed in my mac.
I checked Geant4LibraryDepends.cmake and Geant4PackageCache.cmake, and all the address are pointing to XCode 13.1.
Also I set the CMAKE_OSX_DEPLOYMENT_TARGET and CMAKE_OSX_SYSROOT in CMake GUI as XCode 13.1.
I don’t know where this XCode version12.3 come from. May I ask how can I solve this problem? Many thanks.
Regards,
Siyao