Dear developers,

I contact you because I get the compilation error below when I try to build the Core Library with Xcode (9.4), after I created an Xcode project with "cmake -G Xcode .."
Curiously, the compilation works when I build the packages with cmake in the terminal without creating a Xcode project: "cmake .."

PhaseScriptExecution CMake\ PostBuild\ Rules build/src/OpenMesh/Core/OpenMesh.build/Debug/OpenMeshCore.build/Script-DD82B41B19DA4A22A63FE961.sh
    cd /Users/Turlier/Dropbox/git/OpenMesh-7.1
    /bin/sh -c /Users/Turlier/Dropbox/git/OpenMesh-7.1/build/src/OpenMesh/Core/OpenMesh.build/Debug/OpenMeshCore.build/Script-DD82B41B19DA4A22A63FE961.sh

/usr/local/Cellar/cmake/3.12.1/bin/cmake -E copy_if_different /Users/Turlier/Dropbox/git/OpenMesh-7.1/build/src/OpenMesh/Core/Debug/libOpenMeshCored.7.1.dylib /Users/Turlier/Dropbox/git/OpenMesh-7.1/build/Build/lib/libOpenMeshCored.7.1.dylib
/usr/local/Cellar/cmake/3.12.1/bin/cmake -E copy_if_different /Users/Turlier/Dropbox/git/OpenMesh-7.1/build/src/OpenMesh/Core/Debug/libOpenMeshCored.dylib /Users/Turlier/Dropbox/git/OpenMesh-7.1/build/Build/lib/libOpenMeshCored.dylib
Error copying file (if different) from "/Users/Turlier/Dropbox/git/OpenMesh-7.1/build/src/OpenMesh/Core/Debug/libOpenMeshCored.dylib" to "/Users/Turlier/Dropbox/git/OpenMesh-7.1/build/Build/lib/libOpenMeshCored.dylib".
make: *** [OpenMeshCore_buildpart_1] Error 1
Command /bin/sh failed with exit code 2

I’m not sure what I would need to modify in the CMakeLists.txt to avoid this compilation error on Xcode.
Many thanks in advance for your help.
Best,

--- 
Hervé Turlier, PhD
Team Multiscale Physics of Morphogenesis,
Center for Interdisciplinary Research in Biology
Collège de France / CNRS UMR7241 / INSERM U1050
11, place Marcelin Berthelot
75231 Paris Cedex 05, FRANCE
Tel: +33 (0)144271410