diff --git a/iphone/Maps/main.mm b/iphone/Maps/main.mm index 5a04202ec1..55df103325 100644 --- a/iphone/Maps/main.mm +++ b/iphone/Maps/main.mm @@ -7,7 +7,7 @@ int main(int argc, char * argv[]) { [MWMSettings initializeLogging]; auto & p = GetPlatform(); - LOG(LINFO, ("Organic Maps", p.Version(), "started, detected CPU cores:", p.CpuCores())); + LOG(LINFO, (p.Version(), "started, detected CPU cores:", p.CpuCores())); int retVal; @autoreleasepool diff --git a/platform/platform_ios.mm b/platform/platform_ios.mm index 70a36ad431..b83b37db01 100644 --- a/platform/platform_ios.mm +++ b/platform/platform_ios.mm @@ -163,9 +163,11 @@ std::string Platform::DeviceModel() const std::string Platform::Version() const { NSBundle * mainBundle = [NSBundle mainBundle]; + NSString * appName = [mainBundle objectForInfoDictionaryKey:@"CFBundleName"]; + NSString * bundleId = mainBundle.bundleIdentifier; NSString * version = [mainBundle objectForInfoDictionaryKey:@"CFBundleShortVersionString"]; NSString * build = [mainBundle objectForInfoDictionaryKey:@"CFBundleVersion"]; - return std::string{version.UTF8String} + '-' + build.UTF8String + '-' + OMIM_OS_NAME; + return std::string{appName.UTF8String} + ' ' + std::string{bundleId.UTF8String} + ' ' + std::string{version.UTF8String} + '-' + build.UTF8String + '-' + OMIM_OS_NAME; } int32_t Platform::IntVersion() const