diff --git a/iphone/Maps/Maps.xcodeproj/project.pbxproj b/iphone/Maps/Maps.xcodeproj/project.pbxproj index 8010aa502f..66fbfa0243 100644 --- a/iphone/Maps/Maps.xcodeproj/project.pbxproj +++ b/iphone/Maps/Maps.xcodeproj/project.pbxproj @@ -4873,7 +4873,6 @@ 6741A9A01BF340DE002C974C /* Sources */, 6741AA311BF340DE002C974C /* Frameworks */, 4740184523F5BDE900A93C81 /* Embed Frameworks */, - 6B92E5CF25C090C200304F2D /* Firebase Crashlytics */, ); buildRules = ( ); @@ -5186,24 +5185,6 @@ shellPath = /bin/sh; shellScript = "# Type a script or drag a script file from your workspace to insert its path.\n../../tools/unix/check_cert.sh\n"; }; - 6B92E5CF25C090C200304F2D /* Firebase Crashlytics */ = { - isa = PBXShellScriptBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - inputFileListPaths = ( - ); - inputPaths = ( - ); - name = "Firebase Crashlytics"; - outputFileListPaths = ( - ); - outputPaths = ( - ); - runOnlyForDeploymentPostprocessing = 0; - shellPath = /bin/sh; - shellScript = "#!/bin/bash\necho \"[Firebase Crashlytics] start\"\n\nLOWERED_CONFIG=`echo $CONFIGURATION | tr [A-Z] [a-z]`\n\nPLIST_PATH=\"${PROJECT_DIR}/${BUNDLE_IDENTIFIER}/GoogleService-Info.plist\"\nDSYM_PATH=\"${DWARF_DSYM_FOLDER_PATH}/${DWARF_DSYM_FILE_NAME}\"\nBUILD_APP_DIR=\"${BUILT_PRODUCTS_DIR}/${FULL_PRODUCT_NAME}\"\n\necho \"[Firebase Crashlytics] dsyms: ${DSYM_PATH}\"\necho \"[Firebase Crashlytics] plist: ${PLIST_PATH}\"\n\nif [[ $LOWERED_CONFIG == *release* ]]; then\n if [ ! -f ${PLIST_PATH} ]; then\n echo \"[Firebase Crashlytics] Google plist not found!\"\n exit 1\n fi\n cp ${PLIST_PATH} $BUILD_APP_DIR/GoogleService-Info.plist\n \n #TODO: Do not upload symbols each build (too large). Do it manually or move to production config. \n #${PODS_ROOT}/FirebaseCrashlytics/upload-symbols -gsp ${PLIST_PATH} -p ios ${DSYM_PATH}\n \n echo \"[Firebase Crashlytics] done\"\nfi\n"; - }; /* End PBXShellScriptBuildPhase section */ /* Begin PBXSourcesBuildPhase section */ diff --git a/iphone/Maps/main.mm b/iphone/Maps/main.mm index 867ce7026e..c3b0b7c159 100644 --- a/iphone/Maps/main.mm +++ b/iphone/Maps/main.mm @@ -1,9 +1,5 @@ #import "MapsAppDelegate.h" -#ifdef OMIM_PRODUCTION -#include "fabric_logging.hpp" -#endif - #include "platform/file_logging.hpp" #include "platform/platform.hpp" #include "platform/settings.hpp" @@ -13,9 +9,6 @@ int main(int argc, char * argv[]) { #ifdef MWM_LOG_TO_FILE base::SetLogMessageFn(LogMessageFile); -#elif OMIM_PRODUCTION - base::SetLogMessageFn(platform::IosLogMessage); - base::SetAssertFunction(platform::IosAssertMessage); #endif auto & p = GetPlatform(); LOG(LINFO, ("omaps started, detected CPU cores:", p.CpuCores()));