microsoft / appcenter-sdk-apple

Development repository for the App Center SDK for iOS, macOS and tvOS.
Other
565 stars 224 forks source link

Support correct versioning for macOS via Catalyst #2257

Closed appfrilans closed 3 years ago

appfrilans commented 3 years ago

Description

Mac OS Big Sur is not reported with correct macOS version. Or it's not displayed in AppCenter. This from an macOS app created with Catalyst. It seems to report "14.3" even though I use macOS 11.1. Could it be reporting corresponding iOS version?

Repro Steps

Please list the steps used to reproduce your issue.

  1. Integrate AppCenter SDK with a macOS (iPad Catalyst) app in XCode
  2. Run the app
  3. Check AppCenter

Details

  1. Which SDK version are you using?
    • e.g. 4.1.0
  2. Which OS version did you experience the issue on?
    • e.g. macOS 11.0
  3. Which Cocoapods version are you using (run pod --version)?
    • Using SPM
  4. What device version did you see this error on? Were you using an emulator or a physical device?
    • Physical device (macOS)
  5. What language are you using?
    • [ ] Objective C
    • [x] Swift
  6. What third party libraries are you using?
  7. Please enable verbose logging for your app using MSAppCenter.setLogLevel(.verbose) before your call to MSAppCenter.start(...) for Swift, or [MSAppCenter setLogLevel:MSLogLevelVerbose] before [MSAppCenter start: ...] for Objective C and include the logs here:

2021-01-18 08:06:52.348425+0100 Appmost[47567:915832] 7.4.0 - [Firebase/Core][I-COR000008] The project's Bundle ID is inconsistent with either the Bundle ID in 'GoogleService-Info.plist', or the Bundle ID in the options if you are using a customized options. To ensure that everything can be configured correctly, you may need to make the Bundle IDs consistent. To continue with this plist file, you may change your app's bundle identifier to '[removed]'. Or you can download a new configuration file that matches your bundle identifier from https://console.firebase.google.com/ and replace the current one. 2021-01-18 08:06:52.367056+0100 Appmost[47567:913663] [AppCenter] VERBOSE: -[MSACDelegateForwarder addTraceBlock:]_block_invoke_2/88 Start buffering traces. 2021-01-18 08:06:52.367116+0100 Appmost[47567:913663] [AppCenter] DEBUG: -[MSACDelegateForwarder setEnabledFromPlistForKey:]_block_invoke/278 Delegate forwarder for info.plist key 'AppCenterAppDelegateForwarderEnabled' enabled. It may use swizzling. 2021-01-18 08:06:52.367177+0100 Appmost[47567:913663] [AppCenter] VERBOSE: +[MSACDelegateForwarder flushTraceBuffer]/106 Stop buffering traces, flushed. 2021-01-18 08:06:52.367855+0100 Appmost[47567:913663] [AppCenter] DEBUG: -[MSACSessionContext init]/42 1 session(s) in the history. 2021-01-18 08:06:52.369425+0100 Appmost[47567:913663] [AppCenter] VERBOSE: -[MSACSessionContext setSessionId:]/66 Stored new session with id:(null) and timestamp: 2021-01-18 07:06:52 +0000. 2021-01-18 08:06:52.369836+0100 Appmost[47567:913663] [AppCenter] DEBUG: -[MSACUserIdContext init]/54 1 userId(s) in the history. 2021-01-18 08:06:52.772292+0100 Appmost[47567:913663] [AppCenter] INFO: -[MSACHttpClient networkStateChanged:]/204 Internet connection is up. 2021-01-18 08:06:52.773598+0100 Appmost[47567:913663] [AppCenter] INFO: -[MSACHttpClient networkStateChanged:]/204 Internet connection is up. 2021-01-18 08:06:52.773687+0100 Appmost[47567:913663] [AppCenter] INFO: -[MSACHttpClient networkStateChanged:]/204 Internet connection is up. 2021-01-18 08:06:52.774083+0100 Appmost[47567:913663] [AppCenter] DEBUG: -[MSACDBStorage initWithSchema:version:filename:]_block_invoke/31 SQLite global configuration successfully updated. 2021-01-18 08:06:52.898151+0100 Appmost[47567:913663] [AppCenter] INFO: -[MSACAppCenter configureWithAppSecret:transmissionTargetToken:fromApplication:]/350 App Center SDK configured successfully. 2021-01-18 08:06:52.917234+0100 Appmost[47567:913663] [AppCenter] VERBOSE: -[MSACAppCenter startServices:withAppSecret:transmissionTargetToken:fromApplication:]/376 Start services MSACCrashes, MSACAnalytics from an application 2021-01-18 08:06:52.917518+0100 Appmost[47567:913663] [AppCenterCrashes] DEBUG: -[MSACCrashes configureCrashReporterWithUncaughtExceptionHandlerEnabled:]/691 EnableUncaughtExceptionHandler is set to YES 2021-01-18 08:06:52.917567+0100 Appmost[47567:913663] [AppCenterCrashes] VERBOSE: -[MSACCrashes configureCrashReporterWithUncaughtExceptionHandlerEnabled:]/701 Enabled Mach exception handler. 2021-01-18 08:06:52.930578+0100 Appmost[47567:913663] [AppCenterCrashes] WARNING: -[MSACCrashes configureCrashReporterWithUncaughtExceptionHandlerEnabled:]/715 Detecting crashes is NOT enabled due to running the app with a debugger attached. 2021-01-18 08:06:52.941083+0100 Appmost[47567:913663] [AppCenter] VERBOSE: -[MSACSessionContext clearSessionHistoryAndKeepCurrentSession:]/88 Cleared old sessions. 2021-01-18 08:06:52.941619+0100 Appmost[47567:913663] [AppCenter] VERBOSE: -[MSACUserIdContext clearUserIdHistory]/125 Cleared old userIds while keeping current userId. 2021-01-18 08:06:52.941707+0100 Appmost[47567:913663] [AppCenterCrashes] INFO: -[MSACCrashes applyEnabledState:]/436 Crashes service has been enabled but the service cannot detect crashes due to running the application with a debugger attached. 2021-01-18 08:06:52.948741+0100 Appmost[47567:913663] [AppCenterCrashes] VERBOSE: -[MSACCrashes startWithChannelGroup:appSecret:transmissionTargetToken:fromApplication:]/483 Started crash service. 2021-01-18 08:06:52.949166+0100 Appmost[47567:915825] [AppCenter] VERBOSE: -[MSACChannelUnitDefault resumeWithIdentifyingObjectSync:]/493 Identifying object <MSACAnalytics: 0x60000023c090> removed from pause lane for channel Analytics. 2021-01-18 08:06:52.949181+0100 Appmost[47567:913663] [AppCenterAnalytics] INFO: -[MSACAnalytics applyEnabledState:]/182 Analytics service has been enabled. 2021-01-18 08:06:52.949226+0100 Appmost[47567:915825] [AppCenter] DEBUG: -[MSACChannelUnitDefault resumeWithIdentifyingObjectSync:]/495 Resume channel Analytics. 2021-01-18 08:06:52.949270+0100 Appmost[47567:913663] [AppCenterAnalytics] VERBOSE: -[MSACAnalytics startWithChannelGroup:appSecret:transmissionTargetToken:fromApplication:]/133 Started Analytics service. 2021-01-18 08:06:52.949336+0100 Appmost[47567:915825] [AppCenter] VERBOSE: -[MSACChannelUnitDefault resumeWithIdentifyingObjectSync:]/493 Identifying object <MSACAnalytics: 0x60000023c090> removed from pause lane for channel Analytics/one. 2021-01-18 08:06:52.949426+0100 Appmost[47567:915825] [AppCenter] DEBUG: -[MSACChannelUnitDefault resumeWithIdentifyingObjectSync:]/495 Resume channel Analytics/one. 2021-01-18 08:06:52.949811+0100 Appmost[47567:913663] [AppCenterCrashes] VERBOSE: -[MSACCrashes channel:didPrepareLog:internalId:flags:]/566 Storing a log to Crashes Buffer: (sid: (null), type: startService) 2021-01-18 08:06:52.949880+0100 Appmost[47567:913663] [AppCenterCrashes] VERBOSE: -[MSACCrashes channel:didPrepareLog:internalId:flags:]/577 Found an empty buffer position. 2021-01-18 08:06:52.950088+0100 Appmost[47567:915825] [AppCenter] DEBUG: -[MSACChannelUnitDefault enqueueItem:flags:]_block_invoke/155 Saving log, type: startService, flags: 1. 2021-01-18 08:06:52.956631+0100 Appmost[47567:915825] [AppCenter] VERBOSE: -[MSACLogDBStorage saveLog:withGroupId:flags:]_block_invoke/130 Log is stored with id: '1653' 2021-01-18 08:06:52.956887+0100 Appmost[47567:915825] [AppCenterCrashes] VERBOSE: -[MSACCrashes channel:didCompleteEnqueueingLog:internalId:]/619 Deleting a log from buffer with id 9A7CF7B9-BF31-45CD-A446-B29295ACD32E 2021-01-18 08:06:53.299080+0100 Appmost[47567:915915] [AppCenter] VERBOSE: -[MSACChannelUnitDefault resumeWithIdentifyingObjectSync:]/493 Identifying object <MSACAppCenter: 0x600001b261b0> removed from pause lane for channel AppCenter. 2021-01-18 08:06:53.299167+0100 Appmost[47567:915915] [AppCenter] DEBUG: -[MSACChannelUnitDefault resumeWithIdentifyingObjectSync:]/495 Resume channel AppCenter. 2021-01-18 08:06:53.299290+0100 Appmost[47567:915915] [AppCenter] VERBOSE: -[MSACChannelUnitDefault resumeWithIdentifyingObjectSync:]/493 Identifying object <MSACAppCenter: 0x600001b261b0> removed from pause lane for channel AppCenter/one. 2021-01-18 08:06:53.299358+0100 Appmost[47567:915915] [AppCenter] DEBUG: -[MSACChannelUnitDefault resumeWithIdentifyingObjectSync:]/495 Resume channel AppCenter/one. 2021-01-18 08:06:53.299442+0100 Appmost[47567:915915] [AppCenter] VERBOSE: -[MSACChannelUnitDefault resumeWithIdentifyingObjectSync:]/493 Identifying object <MSACAppCenter: 0x600001b261b0> removed from pause lane for channel Crashes. 2021-01-18 08:06:53.299506+0100 Appmost[47567:915915] [AppCenter] DEBUG: -[MSACChannelUnitDefault resumeWithIdentifyingObjectSync:]/495 Resume channel Crashes. 2021-01-18 08:06:53.299588+0100 Appmost[47567:915915] [AppCenter] VERBOSE: -[MSACChannelUnitDefault resumeWithIdentifyingObjectSync:]/493 Identifying object <MSACAppCenter: 0x600001b261b0> removed from pause lane for channel Crashes/one. 2021-01-18 08:06:53.299652+0100 Appmost[47567:915915] [AppCenter] DEBUG: -[MSACChannelUnitDefault resumeWithIdentifyingObjectSync:]/495 Resume channel Crashes/one. 2021-01-18 08:06:53.299734+0100 Appmost[47567:915915] [AppCenter] VERBOSE: -[MSACChannelUnitDefault resumeWithIdentifyingObjectSync:]/493 Identifying object <MSACAppCenter: 0x600001b261b0> removed from pause lane for channel CrashesBuffer. 2021-01-18 08:06:53.299798+0100 Appmost[47567:915915] [AppCenter] DEBUG: -[MSACChannelUnitDefault resumeWithIdentifyingObjectSync:]/495 Resume channel CrashesBuffer. 2021-01-18 08:06:53.299887+0100 Appmost[47567:915915] [AppCenter] VERBOSE: -[MSACChannelUnitDefault resumeWithIdentifyingObjectSync:]/493 Identifying object <MSACAppCenter: 0x600001b261b0> removed from pause lane for channel CrashesBuffer/one. 2021-01-18 08:06:53.299918+0100 Appmost[47567:913663] [AppCenter] VERBOSE: -[MSACSessionContext setSessionId:]/66 Stored new session with id:6F3A6ECF-0788-4EF0-95B6-523EB349F341 and timestamp: 2021-01-18 07:06:53 +0000. 2021-01-18 08:06:53.299951+0100 Appmost[47567:915915] [AppCenter] DEBUG: -[MSACChannelUnitDefault resumeWithIdentifyingObjectSync:]/495 Resume channel CrashesBuffer/one. 2021-01-18 08:06:53.300000+0100 Appmost[47567:913663] [AppCenterAnalytics] INFO: -[MSACSessionTracker renewSessionId]/49 New session ID: 6F3A6ECF-0788-4EF0-95B6-523EB349F341 2021-01-18 08:06:53.300032+0100 Appmost[47567:915915] [AppCenter] VERBOSE: -[MSACChannelUnitDefault resumeWithIdentifyingObjectSync:]/493 Identifying object <MSACAppCenter: 0x600001b261b0> removed from pause lane for channel Analytics. 2021-01-18 08:06:53.300167+0100 Appmost[47567:915915] [AppCenter] DEBUG: -[MSACChannelUnitDefault resumeWithIdentifyingObjectSync:]/495 Resume channel Analytics. 2021-01-18 08:06:53.300264+0100 Appmost[47567:915915] [AppCenter] VERBOSE: -[MSACChannelUnitDefault resumeWithIdentifyingObjectSync:]/493 Identifying object <MSACAppCenter: 0x600001b261b0> removed from pause lane for channel Analytics/one. 2021-01-18 08:06:53.300329+0100 Appmost[47567:915915] [AppCenter] DEBUG: -[MSACChannelUnitDefault resumeWithIdentifyingObjectSync:]/495 Resume channel Analytics/one. 2021-01-18 08:06:53.300464+0100 Appmost[47567:915915] [AppCenter] VERBOSE: -[MSACChannelUnitDefault resumeWithIdentifyingObjectSync:]/493 Identifying object <MSACAppCenter: 0x600001b261b0> removed from pause lane for channel Analytics_critical. 2021-01-18 08:06:53.300531+0100 Appmost[47567:915915] [AppCenter] DEBUG: -[MSACChannelUnitDefault resumeWithIdentifyingObjectSync:]/495 Resume channel Analytics_critical. 2021-01-18 08:06:53.300681+0100 Appmost[47567:915915] [AppCenter] VERBOSE: -[MSACChannelUnitDefault resumeWithIdentifyingObjectSync:]/493 Identifying object <MSACAppCenter: 0x600001b261b0> removed from pause lane for channel Analytics_critical/one. 2021-01-18 08:06:53.300723+0100 Appmost[47567:913663] [AppCenterCrashes] VERBOSE: -[MSACCrashes channel:didPrepareLog:internalId:flags:]/566 Storing a log to Crashes Buffer: (sid: 6F3A6ECF-0788-4EF0-95B6-523EB349F341, type: startSession) 2021-01-18 08:06:53.300817+0100 Appmost[47567:915915] [AppCenter] DEBUG: -[MSACChannelUnitDefault resumeWithIdentifyingObjectSync:]/495 Resume channel Analytics_critical/one. 2021-01-18 08:06:53.300895+0100 Appmost[47567:913663] [AppCenterCrashes] VERBOSE: -[MSACCrashes channel:didPrepareLog:internalId:flags:]/577 Found an empty buffer position. 2021-01-18 08:06:53.301017+0100 Appmost[47567:915915] [AppCenter] VERBOSE: -[MSACChannelUnitDefault resumeWithIdentifyingObjectSync:]/493 Identifying object <MSACAppCenter: 0x600001b261b0> removed from pause lane for channel AppCenter/one. 2021-01-18 08:06:53.301192+0100 Appmost[47567:915915] [AppCenter] DEBUG: -[MSACChannelUnitDefault resumeWithIdentifyingObjectSync:]/495 Resume channel AppCenter/one. 2021-01-18 08:06:53.301289+0100 Appmost[47567:915915] [AppCenter] VERBOSE: -[MSACChannelUnitDefault resumeWithIdentifyingObjectSync:]/493 Identifying object <MSACAppCenter: 0x600001b261b0> removed from pause lane for channel Crashes/one. 2021-01-18 08:06:53.301358+0100 Appmost[47567:915915] [AppCenter] DEBUG: -[MSACChannelUnitDefault resumeWithIdentifyingObjectSync:]/495 Resume channel Crashes/one. 2021-01-18 08:06:53.301477+0100 Appmost[47567:915915] [AppCenter] VERBOSE: -[MSACChannelUnitDefault resumeWithIdentifyingObjectSync:]/493 Identifying object <MSACAppCenter: 0x600001b261b0> removed from pause lane for channel CrashesBuffer/one. 2021-01-18 08:06:53.301600+0100 Appmost[47567:915915] [AppCenter] DEBUG: -[MSACChannelUnitDefault resumeWithIdentifyingObjectSync:]/495 Resume channel CrashesBuffer/one. 2021-01-18 08:06:53.301840+0100 Appmost[47567:915915] [AppCenter] VERBOSE: -[MSACChannelUnitDefault resumeWithIdentifyingObjectSync:]/493 Identifying object <MSACAppCenter: 0x600001b261b0> removed from pause lane for channel Analytics/one. 2021-01-18 08:06:53.302069+0100 Appmost[47567:915915] [AppCenter] DEBUG: -[MSACChannelUnitDefault resumeWithIdentifyingObjectSync:]/495 Resume channel Analytics/one. 2021-01-18 08:06:53.302277+0100 Appmost[47567:915915] [AppCenter] VERBOSE: -[MSACChannelUnitDefault resumeWithIdentifyingObjectSync:]/493 Identifying object <MSACAppCenter: 0x600001b261b0> removed from pause lane for channel Analytics_critical/one. 2021-01-18 08:06:53.302465+0100 Appmost[47567:915915] [AppCenter] DEBUG: -[MSACChannelUnitDefault resumeWithIdentifyingObjectSync:]/495 Resume channel Analytics_critical/one. 2021-01-18 08:06:53.302661+0100 Appmost[47567:915915] [AppCenter] DEBUG: -[MSACChannelUnitDefault enqueueItem:flags:]_block_invoke/155 Saving log, type: startSession, flags: 1. 2021-01-18 08:06:53.305112+0100 Appmost[47567:915915] [AppCenter] VERBOSE: -[MSACLogDBStorage saveLog:withGroupId:flags:]_block_invoke/130 Log is stored with id: '1654' 2021-01-18 08:06:53.305306+0100 Appmost[47567:915915] [AppCenterCrashes] VERBOSE: -[MSACCrashes channel:didCompleteEnqueueingLog:internalId:]/619 Deleting a log from buffer with id FDF26AC5-0BD0-467F-886E-028AFF6E5E87 2021-01-18 08:06:53.588603+0100 Appmost[47567:915917] 7.4.0 - [Firebase/Core][I-COR000003] The default Firebase app has not yet been configured. Add [FIRApp configure]; (FirebaseApp.configure() in Swift) to your application initialization. Read more: https://goo.gl/ctyzm8. 2021-01-18 08:06:56.791267+0100 Appmost[47567:915846] [AppCenter] VERBOSE: -[MSACLogDBStorage loadLogsWithGroupId:limit:excludedTargetKeys:completionHandler:]/220 Load log(s) with id(s) '1653' as batch Id:C10F6DB6-5691-4D0F-B949-CA28AD73D09F 2021-01-18 08:06:56.791862+0100 Appmost[47567:915846] [AppCenter] DEBUG: -[MSACChannelUnitDefault sendLogContainer:]/190 Sending 1/1 log, group Id: AppCenter, batch Id: C10F6DB6-5691-4D0F-B949-CA28AD73D09F, session Id: (null), payload: { "device" : { "screenSize" : "1680x1050", "appBuild" : "224", "osName" : "macOS", "timeZoneOffset" : 60, "osVersion" : "14.3", "locale" : "sv_SE", "appNamespace" : "[removed]", "osBuild" : "20C69", "sdkName" : "appcenter.maccatalyst", "oemName" : "Apple", "model" : "MacBookPro11,5", "sdkVersion" : "4.0.1", "appVersion" : "2.1.41" }, "timestamp" : "2021-01-18T07:06:52.949Z", "type" : "startService", "services" : [ "Crashes", "Analytics" ] } 2021-01-18 08:06:56.792239+0100 Appmost[47567:915846] [AppCenter] VERBOSE: -[MSACAppCenterIngestion willSendHTTPRequestToURL:withHeaders:]/95 URL: https://in.appcenter.ms/logs?api-version=1.0.0 2021-01-18 08:06:56.792313+0100 Appmost[47567:915846] [AppCenter] VERBOSE: -[MSACAppCenterIngestion willSendHTTPRequestToURL:withHeaders:]/96 Headers: Content-Type = application/json, App-Secret = ****b10d461f, Install-ID = F22A1C05-ECFA-4A15-823A-695D90E79B74 2021-01-18 08:06:56.793681+0100 Appmost[47567:915846] [AppCenter] VERBOSE: -[MSACLogDBStorage loadLogsWithGroupId:limit:excludedTargetKeys:completionHandler:]/220 Load log(s) with id(s) '1654' as batch Id:01D399C3-D611-4419-92DF-E186587E8912 2021-01-18 08:06:56.793868+0100 Appmost[47567:915846] [AppCenter] DEBUG: -[MSACChannelUnitDefault sendLogContainer:]/190 Sending 1/1 log, group Id: Analytics, batch Id: 01D399C3-D611-4419-92DF-E186587E8912, session Id: 6F3A6ECF-0788-4EF0-95B6-523EB349F341, payload: { "sid" : "6F3A6ECF-0788-4EF0-95B6-523EB349F341", "timestamp" : "2021-01-18T07:06:53.300Z", "device" : { "screenSize" : "1680x1050", "appBuild" : "224", "osName" : "macOS", "timeZoneOffset" : 60, "osVersion" : "14.3", "locale" : "sv_SE", "appNamespace" : "[removed]", "osBuild" : "20C69", "sdkName" : "appcenter.maccatalyst", "oemName" : "Apple", "model" : "MacBookPro11,5", "sdkVersion" : "4.0.1", "appVersion" : "2.1.41" }, "type" : "startSession" } 2021-01-18 08:06:56.796453+0100 Appmost[47567:915846] [AppCenter] VERBOSE: -[MSACAppCenterIngestion willSendHTTPRequestToURL:withHeaders:]/95 URL: https://in.appcenter.ms/logs?api-version=1.0.0 2021-01-18 08:06:56.796519+0100 Appmost[47567:915846] [AppCenter] VERBOSE: -[MSACAppCenterIngestion willSendHTTPRequestToURL:withHeaders:]/96 Headers: Content-Type = application/json, App-Secret = ****b10d461f, Install-ID = F22A1C05-ECFA-4A15-823A-695D90E79B74 2021-01-18 08:06:57.300815+0100 Appmost[47567:915913] [AppCenter] VERBOSE: -[MSACHttpIngestion printResponse:body:error:]/217 HTTP response received with status code: 200, payload: { "status" : "Success", "correlationId" : "d288b85a-3330-47d6-a377-ce8d0cfdcc3c", "validDiagnosticsIds" : [

], "throttledDiagnosticsIds" : [

] } 2021-01-18 08:06:57.300982+0100 Appmost[47567:915916] [AppCenter] DEBUG: -[MSACChannelUnitDefault sendLogContainer:]_block_invoke_3/212 Log(s) sent with success, batch Id:C10F6DB6-5691-4D0F-B949-CA28AD73D09F. 2021-01-18 08:06:57.303367+0100 Appmost[47567:915916] [AppCenter] VERBOSE: +[MSACLogDBStorage deleteLogsFromDBWithColumnValues:columnName:inOpenedDatabase:]/357 Deletion of log(s) by id with value(s) '1653' succeeded. 2021-01-18 08:06:58.524433+0100 Appmost[47567:915825] [AppCenter] VERBOSE: -[MSACHttpIngestion printResponse:body:error:]/217 HTTP response received with status code: 200, payload: { "status" : "Success", "correlationId" : "03a70d97-fcc9-4de0-8b40-06a018a214f5", "validDiagnosticsIds" : [

], "throttledDiagnosticsIds" : [

] } 2021-01-18 08:06:58.524571+0100 Appmost[47567:915913] [AppCenter] DEBUG: -[MSACChannelUnitDefault sendLogContainer:]_block_invoke_3/212 Log(s) sent with success, batch Id:01D399C3-D611-4419-92DF-E186587E8912. 2021-01-18 08:06:58.526787+0100 Appmost[47567:915913] [AppCenter] VERBOSE: +[MSACLogDBStorage deleteLogsFromDBWithColumnValues:columnName:inOpenedDatabase:]/357 Deletion of log(s) by id with value(s) '1654' succeeded.

MatkovIvan commented 3 years ago

Hi @appfrilans,

It matches Apple's operatingSystemVersion API, so I'd say this is expected because the app runs in catalyst environment. I'm keeping this issue open for now - we'll re-check this. Probably it just requires some additional mapping for displaying on portal.

appfrilans commented 3 years ago

Thanks. On my machine with macOS 11.1 the osVersion seems to output 14.3.

vvechkanov commented 3 years ago

Hi, @appfrilans! I checked it. As @MatkovIvan said this is expected. We use operatingSystemVersion API and MacCatalyst has it's own version numbers. For example here in availability you could find version of MacCatalyst. I do not found strong rules to transform MacCatalyst version into MacOS version, but I do found that MacCatalyst version is always same as iOS version. Xcode 12.3 supports MacOS 11.1 and iOS 14.3 (assuming also MacCatalyst 14.3). So if you have MacOS 11.1 you have MacCatalyst 14.3. I understand that this could be a bit confusing, but this is how Apple see versioning.

vvechkanov commented 3 years ago

After conversation with a team, I want to conclude, that we do not see any ways to show exact MacOS version for MacCatalyst application. So I am closing this for now, but feel free to comment/reopen if you wish.