diff --git a/db/db_impl.cc b/db/db_impl.cc index c74cb7531..3aed6b7b0 100644 --- a/db/db_impl.cc +++ b/db/db_impl.cc @@ -4690,9 +4690,12 @@ Status DestroyDB(const std::string& dbname, const Options& options) { // // A global method that can dump out the build version void DumpLeveldbBuildVersion(Logger * log) { +#if !defined(IOS_CROSS_COMPILE) + // if we compile with Xcode, we don't run build_detect_vesion, so we don't generate util/build_version.cc Log(log, "Git sha %s", rocksdb_build_git_sha); Log(log, "Compile time %s %s", rocksdb_build_compile_time, rocksdb_build_compile_date); +#endif } } // namespace rocksdb