You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Operating System: macOS Monterey Version 12.0 Beta
System: Mac mini (M1, 2020)
Hardware specs: 8 GB RAM, Apple M1 Chip
Environment: Xcode 13 beta 5, Deploying for iOS 15.0, Xcode 13.0-compatible project format, Swift 5
Additional Detail from JIRA
Votes
0
Component/s
Foundation
Labels
Bug
Assignee
None
Priority
Medium
md5: 22bf54106bfcb184d00e6d087a0bc370
Issue Description:
All other quantities, such as UnitDuration, UnitInformationStorage, UnitPower, etc. are key value coding-compliant with all the documented units of measure for the respective quantity.
For instance, UnitDuration is key value coding-compliant with the following keys: hours, minutes, seconds, milliseconds, microseconds, nanoseconds, picoseconds
And UnitInformationStorage is key value coding-compliant with these keys:
Looks like this bug is specific to Foundation in the SDK shipped with Xcode, not a bug report for swift-corelibs-foundation which is available on GitHub. Could you please file a bug report through feedbackassistant.apple.com for this instead? Thanks!
Environment
Operating System: macOS Monterey Version 12.0 Beta
System: Mac mini (M1, 2020)
Hardware specs: 8 GB RAM, Apple M1 Chip
Environment: Xcode 13 beta 5, Deploying for iOS 15.0, Xcode 13.0-compatible project format, Swift 5
Additional Detail from JIRA
md5: 22bf54106bfcb184d00e6d087a0bc370
Issue Description:
All other quantities, such as UnitDuration, UnitInformationStorage, UnitPower, etc. are key value coding-compliant with all the documented units of measure for the respective quantity.
For instance, UnitDuration is key value coding-compliant with the following keys:
hours, minutes, seconds, milliseconds, microseconds, nanoseconds, picoseconds
And UnitInformationStorage is key value coding-compliant with these keys:
bits, nibbles, bytes, kibibits, kibibytes, mebibits, mebibytes, gibibits, gibibytes, tebibits, tebibytes, pebibits, pebibytes, exbibits, exbibytes, zebibits, zebibytes, yobibits, yobibytes, kilobits, kilobytes, megabits, megabytes, gigabits, gigabytes, terabits, terabytes, petabits, petabytes, exabits, exabytes, zettabits, zettabytes, yottabits, yottabytes
However, it seems that UnitMass is mistakenly not key value coding-compliant with its key 'pounds', although it does comply with the rest of its keys:
kilograms, grams, decigrams, centigrams, milligrams, micrograms, nanograms, picograms, ounces, stones, metricTons, shortTons, carats, ouncesTroy, slugs
The text was updated successfully, but these errors were encountered: