Hmm I got a problem, I don't know where it comes from. Maybe my fault, but I've done everything like you.
Ld build/src/server/worldserver/Debug/worldserver normal x86_64
cd /Users/Kevin/work/TrinityCore/TC
export MACOSX_DEPLOYMENT_TARGET=10.9
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ -arch x86_64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk -L/Users/Kevin/work/TrinityCore/TC/build/src/server/worldserver/Debug -F/Users/Kevin/work/TrinityCore/TC/build/src/server/worldserver/Debug -filelist /Users/Kevin/work/TrinityCore/TC/build/src/server/worldserver/TrinityCore.build/Debug/worldserver.build/Objects-normal/x86_64/worldserver.LinkFileList -mmacosx-version-min=10.9 -pthread -Wl,-search_paths_first -Wl,-headerpad_max_install_names /Users/Kevin/work/TrinityCore/TC/build/src/server/game/Debug/libgame.a /Users/Kevin/work/TrinityCore/TC/build/src/server/shared/Debug/libshared.a /Users/Kevin/work/TrinityCore/TC/build/src/server/scripts/Debug/libscripts.a /Users/Kevin/work/TrinityCore/TC/build/src/server/collision/Debug/libcollision.a /Users/Kevin/work/TrinityCore/TC/build/dep/g3dlite/Debug/libg3dlib.a /Users/Kevin/work/TrinityCore/TC/build/dep/gsoap/Debug/libgsoap.a /usr/local/opt/readline/lib/libreadline.dylib /usr/local/lib/libACE.dylib /usr/local/lib/libmysqlclient_r.dylib /usr/local/opt/openssl/lib/libssl.dylib /usr/local/opt/openssl/lib/libcrypto.dylib /usr/lib/libz.dylib /usr/lib/libcrypto.dylib /Users/Kevin/work/TrinityCore/TC/build/src/server/shared/Debug/libshared.a /usr/local/lib/libACE.dylib -Xlinker -dependency_info -Xlinker /Users/Kevin/work/TrinityCore/TC/build/src/server/worldserver/TrinityCore.build/Debug/worldserver.build/Objects-normal/x86_64/worldserver_dependency_info.dat -o /Users/Kevin/work/TrinityCore/TC/build/src/server/worldserver/Debug/worldserver
clang: warning: argument unused during compilation: '-pthread'
0 0x100b60bc1 __assert_rtn + 144
1 0x100b9cbbf archive::File<x86_64>::makeObjectFileForMember(archive::File<x86_64>::Entry const*) const + 1145
2 0x100b9c588 archive::File<x86_64>::justInTimeforEachAtom(char const*, ld::File::AtomHandler&) const + 122
3 0x100bb21e3 ld::tool::InputFiles::searchLibraries(char const*, bool, bool, bool, ld::File::AtomHandler&) const + 215
4 0x100bbac9c ld::tool::Resolver::resolveUndefines() + 160
5 0x100bbcf6f ld::tool::Resolver::resolve() + 79
6 0x100b61737 main + 689
7 0x7fff97ead5fd start + 1
A linker snapshot was created at:
/tmp/worldserver-2014-09-01-091734.ld-snapshot
ld: Assertion failed: (memberIndex != 0), function makeObjectFileForMember, file /SourceCache/ld64/ld64-241.8/src/ld/parsers/archive_file.cpp, line 355.
clang: error: linker command failed with exit code 1 (use -v to see invocation)
** BUILD FAILED **
The following build commands failed:
Ld build/src/server/worldserver/Debug/worldserver normal x86_64
(1 failure)
With the cmake :
cmake ..
-GXcode
-DPREFIX=/Users/Kevin/work/TrinityCore/TC-devtest
-DMYSQL_ADD_INCLUDE_PATH=/usr/local/include
-DMYSQL_LIBRARY=/usr/local/lib/libmysqlclient_r.dylib
-DREADLINE_INCLUDE_DIR=/usr/local/opt/readline/include
-DREADLINE_LIBRARY=/usr/local/opt/readline/lib/libreadline.dylib
-DBOOST_INCLUDEDIR=/usr/local/include
-DBOOST_LIBRARYDIR=/usr/local/lib
-DOPENSSL_INCLUDE_DIR=/usr/local/opt/openssl/include
-DOPENSSL_SSL_LIBRARIES=/usr/local/opt/openssl/lib/libssl.dylib
-DOPENSSL_CRYPTO_LIBRARIES=/usr/local/opt/openssl/lib/libcrypto.dylib
-DWITH_WARNINGS=0
-DWITH_COREDEBUG=1