Post

Replies

Boosts

Views

Activity

Reply to iOS 16.4.1 - UICollectionViewController crashes
In our case, every crash log I've looked at appears to contain the same number of sections and items before and after the updates: Invalid batch updates detected: the number of sections and/or items returned by the data source before and/or after performing the batch updates are inconsistent with the updates. Data source before updates = { 1 section with item counts: [9] } Data source after updates = { 1 section with item counts: [9] } Updates = [ Insert item (0 - 1), Insert item (0 - 2), Insert item (0 - 3), Insert item (0 - 4), Insert item (0 - 5), Insert item (0 - 6), Insert item (0 - 7), Insert item (0 - 8) ] another: Invalid batch updates detected: the number of sections and/or items returned by the data source before and/or after performing the batch updates are inconsistent with the updates. Data source before updates = { 1 section with item counts: [5] } Data source after updates = { 1 section with item counts: [5] } Updates = [ Insert item (0 - 1), Insert item (0 - 2), Insert item (0 - 3), Insert item (0 - 4) ] Is it expected that this fatal exception occurs even with the before/after counts appear to be the same?
Jun ’23
Reply to Retrieving Logs from a Customer's Device
@bens OSLogStore is marked available in iOS 14: https://developer.apple.com/documentation/oslog/oslogstore?changes=latest_minor Unfortunately, there is an issue with retrieving entries (the which I asked about during labs and have filed a Feedback Request for. Please duplicate if you get a chance!: FB7787937 This is for the error message: Error Domain=NSCocoaErrorDomain Code=4099 "The connection to service on pid 0 named com.apple.OSLogService was invalidated."
Jun ’20
Reply to Missing log method from current iOS 14 APIs
Ok, I realized that the documentation seems to be split between a few different sections and frameworks. Looks like this new Logger type is the one used in the session here: https://developer.apple.com/documentation/os/logger I'll file a radar for this but it's a bit confusing that there's an OSLog type - https://developer.apple.com/documentation/os/oslog?changes=latest_minor in the os framework as well as the separate OSLog framework - https://developer.apple.com/documentation/oslog.
Jun ’20