Post

Replies

Boosts

Views

Activity

How to add words to dictionary in iOS for words the keyboard suggests and for voice dictation?
For iOS, is there any way to add words into the dictionary that voice dictation recognizes and to the dictionary that the bar on top of the keyboard uses, that shows suggestions for words? I would like to make an iOS app that uses Biblical words such as "thee" and "thou". Any ideas will be appreciated.
0
0
1.1k
Feb ’22
How would I store information in a CNContact object that the contact store would keep as persistent data?
I need to be able to identify a CNContact so as to associate it with a CKRecord in a iCloud private database. If I use a non-unified contact, would the identifier be unique across all existing iOS devices so that I could store the identifier property in a record in the user's iCloud private database to identify a specific contact? The documentation says that the identifier of a CNContact stored object is unique within the device. If I use a UUID value and store it in the iCloud private database to identify the specific contact, how would I match that with the contact? I would need to save that UUID value as part of the contact object as stored in the contact store. Is that possible without saving the UUID value in the notes property of the contact. It would be better if I could store the UUID value somewhere where the user could not access it and delete or edit it. Is there a way to make the notes property of a contact inaccessible to the user where even if he/she could see it, he would not be able to change it? I'm not very familiar with the hash and hashValue properties of NSObject object. Though unlikely, would one of those properties be able to identify a contact uniquely across all existing iOS devices so that I could store it in the user's iCloud private database in order to associate a certain record in that database with a specific contact?
0
0
560
Mar ’22
How do I run code in the background in iOS that will always run?
Is there a way to put code in iOS that is always watching in the background for the contact store to change? If I put it in my app, then the user can close the app, and the app won't receive notifications when the contact store changes? Is there an app extension I can use that would allow me to do this, whether that is the intent of the extension or not?
1
0
2.2k
Mar ’22
What do the different cases of the enumeration Data.Deallocator mean?
I'm having trouble finding explanations for the different cases of Data.Deallocator enumeration. It's used with the [init(bytesNoCopy:count:deallocator:) initializer to Data class] (https://developer.apple.com/documentation/foundation/data/1780455-init) Here's the different cases: Data.Deallocator. The cases are: custom free none unmap virtualMemory Anyone know a website that explains those cases briefly and simply? Or do you know what they mean off the top of your head?
3
0
464
Mar ’22
Is it possible to create an iOS app that controls the screen of another device remotely?
I'm starting to look into MDM and device management for my iOS app. I'm also wondering if there is any way to allow someone on a macOS or another iOS device take control of another person's iOS device to show them how to use their device and perhaps even take control of their device while the person using the controlled device watches what the the person in control of the device is doing so he can follow along. Is there something like this that Apple already has? Is it possible to do this? If it is possible to do this, can it be done in a commonly distributed device that anyone can install from App Store and not require any additional maintenance or extra setup? I think the word I'm thinking of is "supervised". I saw that word in another post. Is it possible for one device to give control over to another user on a different device without the first device being "supervised".
0
0
595
Mar ’22
Why are there no recent device logs
When I go to devices and simulators with my iPhone 8 plugged into my Mac, and then open device logs, I don't seen any recent logs. The last one was from november last year. Why are there no more recent logs? I went to my iOS device and searched for "log" in Settings, but there doesn't seem to be any setting to turn on logging. I also can't find any settings when I search for "developer" in settings. I thought I saw something in iOS that enabled me to send reports to Apple automatically on my iOS device. I don't know if that's what I really want.
1
0
876
Mar ’22
How do I reserve a name for my iOS app so that no one else can use it?
At what point in the iOS development process using Xcode is my app name reserved on App Store? Last I remember when I published my iOS app for sale status on iOS App Store at App Store Connect I had to change my published app name because there were already other apps using that name. I think that was the name that was actually showing on the App Store, and not the name I put in the Product Name field when I first create the project in Xcode. I just tried to validate my iOS app and it wouldn't validate because it said there was already an app with that "App Name". I take it that means the name I put in the Product Name field when I first created the project, if I don't change it later. Is that correct? So if my iOS app project validates, does that mean I have that App Name reserved so that no one else can use it? How do I reserve a name for my iOS app so that no one else will get it once I reserve it?
0
0
973
Mar ’22
Why does a participant of a share not have a record referenced by the root record?
I am able to share a record in CloudKit using the instructions in the Apple Documentation, including the CloudKitShare sample, but when another user accepts the share, only the root record is saved in the sharedDatabase. There is supposed to be another record that has a reference to the root record. I'm not sure what code to include in this post. Perhaps someone can tell me that much or know of a common programmer mistake that causes this error. Here is the basic code, after I have removed code not essential to the problem, to make my code easier to read. @UIApplicationMain class AppDelegate: UIResponder, UIApplicationDelegate {     func application(_ application: UIApplication, userDidAcceptCloudKitShareWith cloudKitShareMetadata: CKShare.Metadata) {         let container = CKContainer(identifier: cloudKitShareMetadata.containerIdentifier)         let acceptSharesOperation = CKAcceptSharesOperation(shareMetadatas: [cloudKitShareMetadata])         container.add(acceptSharesOperation)     } }
2
0
493
Apr ’22
BadRequestException: endpoint not applicable in the database type 'sharedb' in CloudKit Dashboard when viewing records of a share accepted
When I query for all the records of a certain record type, and then I click on the record name to view the record, I get this error at the bottom of the window pane that shows the details of the specific record: BadRequestException: endpoint not applicable in the database type 'sharedb' What is "endpoint" referring, what does it mean and what is causing this error message? Here is the part of the schema that defines the two record types involved: RECORD TYPE Group ( "___createTime" TIMESTAMP, "___createdBy" REFERENCE, "___etag" STRING, "___modTime" TIMESTAMP, "___modifiedBy" REFERENCE, "___recordID" REFERENCE QUERYABLE, debugTag STRING QUERYABLE SEARCHABLE SORTABLE, groupData BYTES, GRANT WRITE TO "_creator", GRANT CREATE TO "_icloud", GRANT READ TO "_world" ); RECORD TYPE LocalGroupIdentifier ( "___createTime" TIMESTAMP, "___createdBy" REFERENCE, "___etag" STRING, "___modTime" TIMESTAMP, "___modifiedBy" REFERENCE, "___recordID" REFERENCE QUERYABLE, groupReference REFERENCE, localGroupIdentifier STRING QUERYABLE SEARCHABLE, GRANT WRITE TO "_creator", GRANT CREATE TO "_icloud", GRANT READ TO "_world" ); The error comes when I view the details of a record of type Group. I use UICloudSharingController and CKModifyRecordsOperation as Apple Documentation shows in the Apple Documentation for UICloudSharingController and Sample Code: Sharing CloudKit Data with Other iCloud Users. It works just fine when I create the CKShare object. When I use the url to accept the share, it works fine except for the error in question, which shows when I view the record of type Group and the record of type LocalGroupIdentifier, which has a reference to the record of type Group. I use exactly one record of type Group and one record of type LocalGroupIdentifier. I used two different simulators with different Apple IDs for sharing and for accepting the share. They are both iPhone 8 with iOS 15.4. The share I create is in the private database, and the share accepted is in the shared database.
0
0
845
Apr ’22
How do I delete root records of shares?
When I try to delete records in CloudKit Dashboard by querying them and then selecting them and clicking on the trash can icon at the top right-hand side of the query results, I get a message box saying that those records will be deleted in a box shaded red, but the delete button at the bottom right-hand side of the box is grayed out and doesn't respond when I click it. These records were root records of shares whose shares in the cloudkit.share table I have deleted using CKModifyRecordsOperation. For some reason when I deleted the shares, the root records were not deleted. Then when I try to delete those root records using CKModifyRecordsOperation, I got an error. Here is my code in CKModifyRecordsOperation.modifyRecordsCompletionBlock that caught the error: if let error = error {     print("error:")     print(error.localizedDescription)     if let ckError = self.handleCloudKitError(error, operation: .modifyRecords) {         if let serverVersion = ckError.serverRecord {             serverRecord = serverVersion             print("serverRecord:")             print(serverRecord!)         }     } } Here is what my code above printed in the Debug window: error: Internal server error ModifyRecords operation error: <CKError 0x600001bb9920: "Server Rejected Request" (15/2000); server message = "Internal server error"; op = 49A32A559E4F4C11; uuid = 22F46530-5F45-463E-A21F-279C3876C897; container ID = "iCloud.us.gnolaum.Courier">
0
0
366
Apr ’22
How do I convert an struct of type Data to an object of type CNGroup?
I'm having trouble converting a CNGroup object to a Data object and back to a CNGroup object. I decided to start rethinking the problem again. Somewhere along the way I decided that I should use the Data class to save a CNGroup object to CloudKit. I also learned that the field type to use in my CKRecord object would be of the type bytes. Am I correct so far? I am able to convert a CNGroup object to a Data object and back again unless I store the Data object in CloudKit and then retrieve it before I convert the Data object back to a CNGroup object, in which case I get an error when I try to access the pointee property of the typed pointer. That would be an UnsafeBufferPointer, an UnsafeMutableBufferPointer, or an UnsafePointer. I've tried a lot of different code using different ways. It is impractical to put so much code in my post. I have used the copyBytes method and the withUnsafeBytes method of the Data object. There is one simple code, and that is when I converted the CNGroup object to a Data object: func convertCNGroupToData(fromCNGroup group: inout CNGroup) -> Data { return Data(bytes: &group, count: MemoryLayout.size(ofValue: group)) } I am looking for a simple way to do what I want. I am relooking at Apple's documentation of Data and NSData. I am not able to be more specific with this question. I appreciate any effort to help me with this.
1
0
608
Apr ’22
Xcode dialog box with message "Unable to lookup in current state: Shutdown"
I've never had this error before. When I try to run an iOS project in Xcode with a simulator, I get this message from XCode: "Unable to lookup in current state: Shutdown", and a button that says "Details", and a button that says"OK". When I quit simulator and try to run my project again, the same thing happens. When I click details it says "iPhone10,4 for device_model. The simulator is an iPhone 8 simulator. Here is what the whole thing says: (I don't know why some of the text has such a large font and is in bold.) Details Unable to lookup in current state: Shutdown Domain: com.apple.CoreSimulator.SimError Code: 405 User Info: {     DVTErrorCreationDateKey = "2022-04-16 23:02:18 +0000";     IDERunOperationFailingWorker = IDELaunchiPhoneSimulatorLauncher; } Analytics Event: com.apple.dt.IDERunOperationWorkerFinished : {     "device_model" = "iPhone10,4";     "device_osBuild" = "15.4 (19E240)";     "device_platform" = "com.apple.platform.iphonesimulator";     "launchSession_schemeCommand" = Run;     "launchSession_state" = 1;     "launchSession_targetArch" = "x86_64";     "operation_duration_ms" = 22;     "operation_errorCode" = 405;     "operation_errorDomain" = "com.apple.CoreSimulator.SimError";     "operation_errorWorker" = IDELaunchiPhoneSimulatorLauncher;     "operation_name" = IDERunOperationWorkerGroup;     "param_consoleMode" = 0;     "param_debugger_attachToExtensions" = 0;     "param_debugger_attachToXPC" = 1;     "param_debugger_type" = 3;     "param_destination_isProxy" = 0;     "param_destination_platform" = "com.apple.platform.iphonesimulator";  "param_diag_MainThreadChecker_stopOnIssue" = 0;  "param_diag_MallocStackLogging_enableDuringAttach" = 0; "param_diag_MallocStackLogging_enableForXPC" = 1;     "param_diag_allowLocationSimulation" = 1;     "param_diag_gpu_frameCapture_enable" = 0;    "param_diag_gpu_shaderValidation_enable" = 0;     "param_diag_gpu_validation_enable" = 0; "param_diag_memoryGraphOnResourceException" = 0;     "param_diag_queueDebugging_enable" = 1;     "param_diag_runtimeProfile_generate" = 0;     "param_diag_sanitizer_asan_enable" = 0;     "param_diag_sanitizer_tsan_enable" = 0;     "param_diag_sanitizer_tsan_stopOnIssue" = 0;   "param_diag_sanitizer_ubsan_stopOnIssue" = 0;     "param_diag_showNonLocalizedStrings" = 0;     "param_diag_viewDebugging_enabled" = 1;  "param_diag_viewDebugging_insertDylibOnLaunch" = 1;     "param_install_style" = 0;     "param_launcher_UID" = 2;  "param_launcher_allowDeviceSensorReplayData" = 0;     "param_launcher_kind" = 0;     "param_launcher_style" = 0;     "param_launcher_substyle" = 0;  "param_runnable_appExtensionHostRunMode" = 0;     "param_runnable_productType" = "com.apple.product-type.application";     "param_runnable_swiftVersion" = "5.6";     "param_runnable_type" = 2;     "param_testing_launchedForTesting" = 0;     "param_testing_suppressSimulatorApp" = 0;     "param_testing_usingCLI" = 0;     "sdk_canonicalName" = "iphonesimulator15.4";     "sdk_osVersion" = "15.4";     "sdk_variant" = iphonesimulator; } -- System Information macOS Version 12.3.1 (Build 21E258) Xcode 13.3.1 (20103) (Build 13E500a) Timestamp: 2022-04-16T18:02:18-05:00
0
0
927
Apr ’22
Account temporarily unavailable due to bad or missing auth token
I got this message "Account temporarily unavailable due to bad or missing auth token" when I try to save to privateDatabase in CloudKit, using the CKDatabase.save(record:completionHandler). It looks like the error that was posted about here on stackoverflow has reappeared. The fix for that other problem was a bug in Apple's side. Anyone have this problem recently and have a solution?
0
0
1.2k
Apr ’22
How to add words to dictionary in iOS for words the keyboard suggests and for voice dictation?
For iOS, is there any way to add words into the dictionary that voice dictation recognizes and to the dictionary that the bar on top of the keyboard uses, that shows suggestions for words? I would like to make an iOS app that uses Biblical words such as "thee" and "thou". Any ideas will be appreciated.
Replies
0
Boosts
0
Views
1.1k
Activity
Feb ’22
Is it safe for me to change the bundle identifier of an Xcode iOS project in an app already in App Store?
I have an iOS app already on the App Store. I just changed my business to an LLC. I would like to change the bundle identifier in the next version of the app to reflect my new website address. What would happen if I did this? I want to decide whether it would be worth the trouble.
Replies
0
Boosts
0
Views
349
Activity
Feb ’22
How would I store information in a CNContact object that the contact store would keep as persistent data?
I need to be able to identify a CNContact so as to associate it with a CKRecord in a iCloud private database. If I use a non-unified contact, would the identifier be unique across all existing iOS devices so that I could store the identifier property in a record in the user's iCloud private database to identify a specific contact? The documentation says that the identifier of a CNContact stored object is unique within the device. If I use a UUID value and store it in the iCloud private database to identify the specific contact, how would I match that with the contact? I would need to save that UUID value as part of the contact object as stored in the contact store. Is that possible without saving the UUID value in the notes property of the contact. It would be better if I could store the UUID value somewhere where the user could not access it and delete or edit it. Is there a way to make the notes property of a contact inaccessible to the user where even if he/she could see it, he would not be able to change it? I'm not very familiar with the hash and hashValue properties of NSObject object. Though unlikely, would one of those properties be able to identify a contact uniquely across all existing iOS devices so that I could store it in the user's iCloud private database in order to associate a certain record in that database with a specific contact?
Replies
0
Boosts
0
Views
560
Activity
Mar ’22
Is it possible to observe the iOS Contacts app or the contacts store of a device using key-value observing?
Is it possible to observe the iOS Contacts app or the contacts store of a device using key-value observing? How would I find out? I can't find information on it when I do a search on Google.
Replies
0
Boosts
0
Views
560
Activity
Mar ’22
How do I run code in the background in iOS that will always run?
Is there a way to put code in iOS that is always watching in the background for the contact store to change? If I put it in my app, then the user can close the app, and the app won't receive notifications when the contact store changes? Is there an app extension I can use that would allow me to do this, whether that is the intent of the extension or not?
Replies
1
Boosts
0
Views
2.2k
Activity
Mar ’22
What do the different cases of the enumeration Data.Deallocator mean?
I'm having trouble finding explanations for the different cases of Data.Deallocator enumeration. It's used with the [init(bytesNoCopy:count:deallocator:) initializer to Data class] (https://developer.apple.com/documentation/foundation/data/1780455-init) Here's the different cases: Data.Deallocator. The cases are: custom free none unmap virtualMemory Anyone know a website that explains those cases briefly and simply? Or do you know what they mean off the top of your head?
Replies
3
Boosts
0
Views
464
Activity
Mar ’22
Is it possible to create an iOS app that controls the screen of another device remotely?
I'm starting to look into MDM and device management for my iOS app. I'm also wondering if there is any way to allow someone on a macOS or another iOS device take control of another person's iOS device to show them how to use their device and perhaps even take control of their device while the person using the controlled device watches what the the person in control of the device is doing so he can follow along. Is there something like this that Apple already has? Is it possible to do this? If it is possible to do this, can it be done in a commonly distributed device that anyone can install from App Store and not require any additional maintenance or extra setup? I think the word I'm thinking of is "supervised". I saw that word in another post. Is it possible for one device to give control over to another user on a different device without the first device being "supervised".
Replies
0
Boosts
0
Views
595
Activity
Mar ’22
Why are there no recent device logs
When I go to devices and simulators with my iPhone 8 plugged into my Mac, and then open device logs, I don't seen any recent logs. The last one was from november last year. Why are there no more recent logs? I went to my iOS device and searched for "log" in Settings, but there doesn't seem to be any setting to turn on logging. I also can't find any settings when I search for "developer" in settings. I thought I saw something in iOS that enabled me to send reports to Apple automatically on my iOS device. I don't know if that's what I really want.
Replies
1
Boosts
0
Views
876
Activity
Mar ’22
How do I reserve a name for my iOS app so that no one else can use it?
At what point in the iOS development process using Xcode is my app name reserved on App Store? Last I remember when I published my iOS app for sale status on iOS App Store at App Store Connect I had to change my published app name because there were already other apps using that name. I think that was the name that was actually showing on the App Store, and not the name I put in the Product Name field when I first create the project in Xcode. I just tried to validate my iOS app and it wouldn't validate because it said there was already an app with that "App Name". I take it that means the name I put in the Product Name field when I first created the project, if I don't change it later. Is that correct? So if my iOS app project validates, does that mean I have that App Name reserved so that no one else can use it? How do I reserve a name for my iOS app so that no one else will get it once I reserve it?
Replies
0
Boosts
0
Views
973
Activity
Mar ’22
Why does a participant of a share not have a record referenced by the root record?
I am able to share a record in CloudKit using the instructions in the Apple Documentation, including the CloudKitShare sample, but when another user accepts the share, only the root record is saved in the sharedDatabase. There is supposed to be another record that has a reference to the root record. I'm not sure what code to include in this post. Perhaps someone can tell me that much or know of a common programmer mistake that causes this error. Here is the basic code, after I have removed code not essential to the problem, to make my code easier to read. @UIApplicationMain class AppDelegate: UIResponder, UIApplicationDelegate {     func application(_ application: UIApplication, userDidAcceptCloudKitShareWith cloudKitShareMetadata: CKShare.Metadata) {         let container = CKContainer(identifier: cloudKitShareMetadata.containerIdentifier)         let acceptSharesOperation = CKAcceptSharesOperation(shareMetadatas: [cloudKitShareMetadata])         container.add(acceptSharesOperation)     } }
Replies
2
Boosts
0
Views
493
Activity
Apr ’22
BadRequestException: endpoint not applicable in the database type 'sharedb' in CloudKit Dashboard when viewing records of a share accepted
When I query for all the records of a certain record type, and then I click on the record name to view the record, I get this error at the bottom of the window pane that shows the details of the specific record: BadRequestException: endpoint not applicable in the database type 'sharedb' What is "endpoint" referring, what does it mean and what is causing this error message? Here is the part of the schema that defines the two record types involved: RECORD TYPE Group ( "___createTime" TIMESTAMP, "___createdBy" REFERENCE, "___etag" STRING, "___modTime" TIMESTAMP, "___modifiedBy" REFERENCE, "___recordID" REFERENCE QUERYABLE, debugTag STRING QUERYABLE SEARCHABLE SORTABLE, groupData BYTES, GRANT WRITE TO "_creator", GRANT CREATE TO "_icloud", GRANT READ TO "_world" ); RECORD TYPE LocalGroupIdentifier ( "___createTime" TIMESTAMP, "___createdBy" REFERENCE, "___etag" STRING, "___modTime" TIMESTAMP, "___modifiedBy" REFERENCE, "___recordID" REFERENCE QUERYABLE, groupReference REFERENCE, localGroupIdentifier STRING QUERYABLE SEARCHABLE, GRANT WRITE TO "_creator", GRANT CREATE TO "_icloud", GRANT READ TO "_world" ); The error comes when I view the details of a record of type Group. I use UICloudSharingController and CKModifyRecordsOperation as Apple Documentation shows in the Apple Documentation for UICloudSharingController and Sample Code: Sharing CloudKit Data with Other iCloud Users. It works just fine when I create the CKShare object. When I use the url to accept the share, it works fine except for the error in question, which shows when I view the record of type Group and the record of type LocalGroupIdentifier, which has a reference to the record of type Group. I use exactly one record of type Group and one record of type LocalGroupIdentifier. I used two different simulators with different Apple IDs for sharing and for accepting the share. They are both iPhone 8 with iOS 15.4. The share I create is in the private database, and the share accepted is in the shared database.
Replies
0
Boosts
0
Views
845
Activity
Apr ’22
How do I delete root records of shares?
When I try to delete records in CloudKit Dashboard by querying them and then selecting them and clicking on the trash can icon at the top right-hand side of the query results, I get a message box saying that those records will be deleted in a box shaded red, but the delete button at the bottom right-hand side of the box is grayed out and doesn't respond when I click it. These records were root records of shares whose shares in the cloudkit.share table I have deleted using CKModifyRecordsOperation. For some reason when I deleted the shares, the root records were not deleted. Then when I try to delete those root records using CKModifyRecordsOperation, I got an error. Here is my code in CKModifyRecordsOperation.modifyRecordsCompletionBlock that caught the error: if let error = error {     print("error:")     print(error.localizedDescription)     if let ckError = self.handleCloudKitError(error, operation: .modifyRecords) {         if let serverVersion = ckError.serverRecord {             serverRecord = serverVersion             print("serverRecord:")             print(serverRecord!)         }     } } Here is what my code above printed in the Debug window: error: Internal server error ModifyRecords operation error: <CKError 0x600001bb9920: "Server Rejected Request" (15/2000); server message = "Internal server error"; op = 49A32A559E4F4C11; uuid = 22F46530-5F45-463E-A21F-279C3876C897; container ID = "iCloud.us.gnolaum.Courier">
Replies
0
Boosts
0
Views
366
Activity
Apr ’22
How do I convert an struct of type Data to an object of type CNGroup?
I'm having trouble converting a CNGroup object to a Data object and back to a CNGroup object. I decided to start rethinking the problem again. Somewhere along the way I decided that I should use the Data class to save a CNGroup object to CloudKit. I also learned that the field type to use in my CKRecord object would be of the type bytes. Am I correct so far? I am able to convert a CNGroup object to a Data object and back again unless I store the Data object in CloudKit and then retrieve it before I convert the Data object back to a CNGroup object, in which case I get an error when I try to access the pointee property of the typed pointer. That would be an UnsafeBufferPointer, an UnsafeMutableBufferPointer, or an UnsafePointer. I've tried a lot of different code using different ways. It is impractical to put so much code in my post. I have used the copyBytes method and the withUnsafeBytes method of the Data object. There is one simple code, and that is when I converted the CNGroup object to a Data object: func convertCNGroupToData(fromCNGroup group: inout CNGroup) -> Data { return Data(bytes: &group, count: MemoryLayout.size(ofValue: group)) } I am looking for a simple way to do what I want. I am relooking at Apple's documentation of Data and NSData. I am not able to be more specific with this question. I appreciate any effort to help me with this.
Replies
1
Boosts
0
Views
608
Activity
Apr ’22
Xcode dialog box with message "Unable to lookup in current state: Shutdown"
I've never had this error before. When I try to run an iOS project in Xcode with a simulator, I get this message from XCode: "Unable to lookup in current state: Shutdown", and a button that says "Details", and a button that says"OK". When I quit simulator and try to run my project again, the same thing happens. When I click details it says "iPhone10,4 for device_model. The simulator is an iPhone 8 simulator. Here is what the whole thing says: (I don't know why some of the text has such a large font and is in bold.) Details Unable to lookup in current state: Shutdown Domain: com.apple.CoreSimulator.SimError Code: 405 User Info: {     DVTErrorCreationDateKey = "2022-04-16 23:02:18 +0000";     IDERunOperationFailingWorker = IDELaunchiPhoneSimulatorLauncher; } Analytics Event: com.apple.dt.IDERunOperationWorkerFinished : {     "device_model" = "iPhone10,4";     "device_osBuild" = "15.4 (19E240)";     "device_platform" = "com.apple.platform.iphonesimulator";     "launchSession_schemeCommand" = Run;     "launchSession_state" = 1;     "launchSession_targetArch" = "x86_64";     "operation_duration_ms" = 22;     "operation_errorCode" = 405;     "operation_errorDomain" = "com.apple.CoreSimulator.SimError";     "operation_errorWorker" = IDELaunchiPhoneSimulatorLauncher;     "operation_name" = IDERunOperationWorkerGroup;     "param_consoleMode" = 0;     "param_debugger_attachToExtensions" = 0;     "param_debugger_attachToXPC" = 1;     "param_debugger_type" = 3;     "param_destination_isProxy" = 0;     "param_destination_platform" = "com.apple.platform.iphonesimulator";  "param_diag_MainThreadChecker_stopOnIssue" = 0;  "param_diag_MallocStackLogging_enableDuringAttach" = 0; "param_diag_MallocStackLogging_enableForXPC" = 1;     "param_diag_allowLocationSimulation" = 1;     "param_diag_gpu_frameCapture_enable" = 0;    "param_diag_gpu_shaderValidation_enable" = 0;     "param_diag_gpu_validation_enable" = 0; "param_diag_memoryGraphOnResourceException" = 0;     "param_diag_queueDebugging_enable" = 1;     "param_diag_runtimeProfile_generate" = 0;     "param_diag_sanitizer_asan_enable" = 0;     "param_diag_sanitizer_tsan_enable" = 0;     "param_diag_sanitizer_tsan_stopOnIssue" = 0;   "param_diag_sanitizer_ubsan_stopOnIssue" = 0;     "param_diag_showNonLocalizedStrings" = 0;     "param_diag_viewDebugging_enabled" = 1;  "param_diag_viewDebugging_insertDylibOnLaunch" = 1;     "param_install_style" = 0;     "param_launcher_UID" = 2;  "param_launcher_allowDeviceSensorReplayData" = 0;     "param_launcher_kind" = 0;     "param_launcher_style" = 0;     "param_launcher_substyle" = 0;  "param_runnable_appExtensionHostRunMode" = 0;     "param_runnable_productType" = "com.apple.product-type.application";     "param_runnable_swiftVersion" = "5.6";     "param_runnable_type" = 2;     "param_testing_launchedForTesting" = 0;     "param_testing_suppressSimulatorApp" = 0;     "param_testing_usingCLI" = 0;     "sdk_canonicalName" = "iphonesimulator15.4";     "sdk_osVersion" = "15.4";     "sdk_variant" = iphonesimulator; } -- System Information macOS Version 12.3.1 (Build 21E258) Xcode 13.3.1 (20103) (Build 13E500a) Timestamp: 2022-04-16T18:02:18-05:00
Replies
0
Boosts
0
Views
927
Activity
Apr ’22
Account temporarily unavailable due to bad or missing auth token
I got this message "Account temporarily unavailable due to bad or missing auth token" when I try to save to privateDatabase in CloudKit, using the CKDatabase.save(record:completionHandler). It looks like the error that was posted about here on stackoverflow has reappeared. The fix for that other problem was a bug in Apple's side. Anyone have this problem recently and have a solution?
Replies
0
Boosts
0
Views
1.2k
Activity
Apr ’22