kstenerud / KSCrash

The Ultimate iOS Crash Reporter
MIT License
4.23k stars 705 forks source link

AppleFmt Version error #529

Closed baiyidjp closed 5 days ago

baiyidjp commented 1 month ago

https://github.com/kstenerud/KSCrash/blob/8137c4990363b0ac7db5c11a48407c8713b6e1ff/Sources/KSCrashFilters/KSCrashReportFilterAppleFmt.m#L444C1-L445C78

shortVersion and bundleVersion are written inversely, Apple format should be 1.0.0 (10001), but is 10001 (1.0.0)

GLinnik21 commented 1 month ago

Hi! The issue you've pointed out is due to Apple changing its format. This change was introduced to conform to Apple's format in #277. I can see that they now use the ver.si.on (build) format, although they haven't updated their documentation yet. Despite this, I think it's worth fixing.

As we're getting ready for version 2.0, if you have the time, we'd greatly appreciate if you could contribute a fix for this