Post

Replies

Boosts

Views

Activity

Comment on Why are there no recent device logs
I'm currently on iOS 15.4 and Xcode 13.2.1. I did sort by date. I also have some processes and types that say "Unknown" for both at the same time. I mean when there is an Unknown process or an Unknown Type, the other is also Unknown on the same row. All the logs appearing are for iOS 15.1. I also found a couple of processes that say "Hardware Model: iPhone10,4" in the details. I don't know what that means. The device is an iPhone 8.
Mar ’22
Comment on CloudKit: CREATE operation not permitted
The Simulator won't let me sign out of iCloud. The button that says "Sign Out" when I go to Settings then to the very top cell that shows my Apple ID is grayed out. Clicking on "Password & Security" gives me a message box saying "Account Details Unavailable" and gives me a button that says "Get Verification Code" and another that says "OK".
Apr ’22
Comment on NSCoding error messages using NSKeyedUnarchiver.unarchivedObject(ofClass:from:)
I found this old post of mine. NSKeyedUnarchiver.unarchiveTopLevelObjectWithData(_:) has been deprecated. I still need a solution for this. What is _NSInlineData? When I run the following code I get the following in debug window: print(type(of: FileManager.default.ubiquityIdentityToken)) print(type(of: FileManager.default.ubiquityIdentityToken!)) Optional<NSCoding & NSCopying & NSObject> _NSInlineData
Topic: UI Frameworks SubTopic: UIKit Tags:
Jul ’22
Comment on Why does the intent property not show for NSExtensionContext?
No. There are three functions that don't show up either. I think it's because I haven't enabled certain capabilities in Signing & Capabilities for the main target in the project. The three functions are interfaceParametersDescription() which is used by SiriKit, and dismissNotificationContentExtension() and performNotificationDefaultAction() which I presume are used by User Notification or Remote Notification.
Topic: App & System Services SubTopic: Core OS Tags:
Jul ’22
Comment on When will type Error not cast to type NSError?
What do you think about the following part of answer to my post on stackoverflow asking this same question? Short Answer Yes, there could be a need to cast to an NSError conformance. NSError has attributes that the Swift Error does not. If you're working with older codebases, or you want what an NSError has to offer, you may be dealing with them from time to time.
Topic: App & System Services SubTopic: General Tags:
Aug ’22