Post

Replies

Boosts

Views

Activity

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 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 How do I run code in the background in iOS that will always run?
Am I correct that the only way for my app to start automatically on iOS startup or for anything I want to be done automatically on iOS startup is for the iOS device to be supervised, and that an app installed from App Store can never be automatically supervised without another system supervising the device the app is installed on? I apologize for my bad wording. I don't have the vocabulary to describe what might be required in order for a device to be supervised. I am basically asking if there is a way for my app or background task to automatically start up on iOS startup without the device to be part of a system that runs independently of Apple's App Store. I think that's the best wording I can come up with.
Topic: Programming Languages SubTopic: Swift Tags:
Mar ’22
Comment on Thread 1:EXC_BAD_INSTRUCTION (code=EXC_I386_INVOP, subcode=0x0)
Is there anytime when DispatchQueue.main.sync { // code } is run, that doesn't cause a one of these errors also? I get the exact message when I run that code even when I don't put any code in the execution block: Thread 1: EXC_BAD_INSTRUCTION (code=EXC_I386_INVOP, subcode=0x0)
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Jul ’22
Comment on Blank project page in Xcode
I mean I clicked that button and the targets and other things show again.
Replies
Boosts
Views
Activity
Apr ’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".
Replies
Boosts
Views
Activity
Apr ’22
Comment on CloudKit: CREATE operation not permitted
What do you mean reauthinticate? Sign out and sign back in? Or put password in again?
Replies
Boosts
Views
Activity
Apr ’22
Comment on "Failed to prepare device for development." with Xcode 13.2.1 and iOS 15.4 device
Yeah. I assumed my Xcode was up to date since I had checked the check boxes for both "Automatically keep my Mac up to date" in System Preferences->Software Update and "Install app updates from the App Store" in Advanced? I am updating Xcode from App Store now. Thank you.
Replies
Boosts
Views
Activity
Mar ’22
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.
Replies
Boosts
Views
Activity
Mar ’22
Comment on Keep App alive.
Ok. Thank you.
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Mar ’22
Comment on Keep App alive.
Have you figured out how to do what you want to do and keep tracking the user even when the app is shut down or the device is shut down and turned back on again?
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Mar ’22
Comment on Is there a way to cause my app or a background task start running automatically when the iOS device is turned back on after being turned off?
It doesn't sound like there is any way to do what I want to do without requiring either the user to do further setup, namely use Guided Access, or requiring an administrator to do further setup. That's what I suspect from your answer here.
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Mar ’22
Comment on Is there a way to cause my app or a background task start running automatically when the iOS device is turned back on after being turned off?
Yeah. I just found something down the line from the link you gave me. I never have figured out how to make a link to an answer to a post instead of to the post itself.
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Mar ’22
Comment on iOS Contacts Framework Change History Data using Swift and Xcode 13
Using change history data appears to do more than the store changed notification using NotificationCenter. Am I correct in assuming that?
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Mar ’22
Comment on What to use instead of the deprecated ABAddressBookRegisterExternalChangeCallback(::_:) function?
I saw that first post or another post about the same thing. I've used the solution that the second post you shared uses. This question was part of my search for a way monitor whenever a contact store changes even when my app is not running. Thanks for the input.
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Mar ’22
Comment on What do <T> and <S> mean as distinguished from each other.
I'm guessing from seeing T and S used, that T stands for Type, as in and S stands for Sequence. Just guessing. It seems that is how they are used in a couple of declarations of functions in Foundation.
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
Mar ’22
Comment on How do I run code in the background in iOS that will always run?
What about using a Shortcut. Does this open up any possibilities?
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Mar ’22
Comment on How do I run code in the background in iOS that will always run?
Am I correct that the only way for my app to start automatically on iOS startup or for anything I want to be done automatically on iOS startup is for the iOS device to be supervised, and that an app installed from App Store can never be automatically supervised without another system supervising the device the app is installed on? I apologize for my bad wording. I don't have the vocabulary to describe what might be required in order for a device to be supervised. I am basically asking if there is a way for my app or background task to automatically start up on iOS startup without the device to be part of a system that runs independently of Apple's App Store. I think that's the best wording I can come up with.
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Mar ’22