Post

Replies

Boosts

Views

Activity

Reply to CloudKit error - CKErrorRequestRateLimited
Actually the error occurs all the time. All queries are rejected. I am able to fetchRecordWithID: and saveRecord: but when I try a performQuery: it fails the first time with CKErrorServerRejectedRequest. Here is the error.userInfo: { CKDHTTPHeaders = { "Content-Encoding" = gzip; "Content-Type" = "application/json; charset=UTF-8"; Date = "Tue, 17 Dec 2024 17:37:34 GMT"; Server = "AppleHttpServer/d2dcc6a0a5e3"; "Strict-Transport-Security" = "max-age=31536000; includeSubDomains;"; Via = "xrail:mr42p00ic-qujn09141101.me.com:8301:24R623:grp20,631194250daa17e24277dea86cf30319:c26f48d6a50e4cd190c61a0c95718444:usuyk1"; "access-control-expose-headers" = "X-Apple-Request-UUID,Via"; "retry-after" = 30; "x-apple-edge-response-time" = 749; "x-apple-request-uuid" = "C4501E94-1390-4A2D-97BE-765D2EEC6679"; "x-apple-user-partition" = 24; "x-responding-instance" = "ckdatabaseservice:714813850:prod-p24-ckdatabaseservice-50percent-58f78f985d-w8nqc:8080:2429B399:feb23af4ba8edac43c48e1a1025eba9548907ffd"; }; CKHTTPStatus = 503; CKRetryAfter = 30; ContainerID = "iCloud. [ my CloudKit container here ] "; NSDebugDescription = "CKInternalErrorDomain: 2000"; NSUnderlyingError = "Error Domain=CKInternalErrorDomain Code=2000 "(null)" UserInfo={ContainerID=iCloud. [ my container here ] , CKRetryAfter=30, CKHTTPStatus=503, CKDHTTPHeaders={\n "Content-Encoding" = gzip;\n "Content-Type" = "application/json; charset=UTF-8";\n Date = "Tue, 17 Dec 2024 17:37:34 GMT";\n Server = "AppleHttpServer/d2dcc6a0a5e3";\n "Strict-Transport-Security" = "max-age=31536000; includeSubDomains;";\n Via = "xrail:mr42p00ic-qujn09141101.me.com:8301:24R623:grp20,631194250daa17e24277dea86cf30319:c26f48d6a50e4cd190c61a0c95718444:usuyk1";\n "access-control-expose-headers" = "X-Apple-Request-UUID,Via";\n "retry-after" = 30;\n "x-apple-edge-response-time" = 749;\n "x-apple-request-uuid" = "C4501E94-1390-4A2D-97BE-765D2EEC6679";\n "x-apple-user-partition" = 24;\n "x-responding-instance" = "ckdatabaseservice:714813850:prod-p24-ckdatabaseservice-50percent-58f78f985d-w8nqc:8080:2429B399:feb23af4ba8edac43c48e1a1025eba9548907ffd";\n}, RequestUUID=C4501E94-1390-4A2D-97BE-765D2EEC6679, OperationID=3D4D8CAA1CAA2325}"; OperationID = 3D4D8CAA1CAA2325; RequestUUID = "C4501E94-1390-4A2D-97BE-765D2EEC6679"; }
Topic: UI Frameworks SubTopic: General Tags:
Dec ’24
Reply to apple id not working in simulator
On the simulator 17.2 I was getting no call backs from accountStatusWithCompletionHandler: and the Settings app was crashing when I tried to open iCloud. After a few resets of Settings the simulator Settings started working and I could open iCloud. At that point I was getting call backs to accountStatusWithCompletionHandler: and everything was working.
Aug ’24
Reply to How can I solve (Guideline 5.2.1) ?
Again, you have two issues - you are violating the copyright of the original song writer and you are violating the copyrights of genius.com.Since you agree you are using the website of genius.com you may have agreed to their terms of service which are: Commercial Use: Unless otherwise expressly authorized herein or by Genius' express written consent, you agree not to display, distribute, license, perform, publish, reproduce, duplicate, copy, create derivative works from, modify, sell, resell, exploit, transfer or transmit for any commercial purposes, any portion of the Service, use of the Service, or access to the Service. The Service is for your personal use and may not be used for direct commercial endeavors without the express written consent of Genius.Those terms of service may create a contract between you and genius.com. So you not only have the copyright issue you also may have a contract law issue.Further, you are welcome to question whether others are violating the copyrights of authors - but that won't get your app approved, will it? And if you look into Genius.com you may discover that they are respecting the copyrights of others through their copyright policy here: h ttps://genius.com/static/copyrightFinally, while 'free stuff' allows you to do certain things with the stuff, it does not allow you to do other things - and 'displaying to others' is one of those things that you don't get to do. And even if your app is 'free' it doesn't mean you can ignore your obligations under copyright and trademark law. You may have a path through fair use but it is a narrow path - and Apple seems to think you have strayed from that path.
Jun ’23
Reply to 'windows' was deprecated in iOS 15.0: Use UIWindowScene.windows?
In Objective C I was able to replace: NSArray  *windows = [[UIApplication sharedApplication] windows]; with NSArray *scenes=[[[UIApplication sharedApplication] connectedScenes] allObjects]; NSArray *windows=[[scenes objectAtIndex:0] windows]; I follow that with: for (UIWindow  *window in windows) {         if (window.isKeyWindow) {             foundWindow = window;             break;         }    }   UIViewController* parentController = foundWindow.rootViewController;    while( parentController.presentedViewController &&           parentController != parentController.presentedViewController ){         parentController = parentController.presentedViewController;    }
Topic: UI Frameworks SubTopic: UIKit Tags:
Nov ’22
Reply to App not displayed in Settings App
I was using CloudKit. The app appeared in the Settings app only after the app accessed CloudKit through:       [[CKContainer defaultContainer] accountStatusWithCompletionHandler:^(CKAccountStatus accountStatus, NSError *error) { That makes sense. Try to use the function that requires some sort of permission suitable for inclusion in the Settings app
Topic: Code Signing SubTopic: Entitlements Tags:
Oct ’22
Reply to Xcode 13.2 update is stuck
My new MacBook Air M2 was struggling with downloading and installing Xcode. The problem, I think, was that the laptop sleeps after a short period of time and that stops the download/install process. Download/install restarts at 80% or 0% when the laptop is reawakened - repeat. A simple way to avoid the laptop from sleeping is to open the Terminal application (Application/Utilities/Terminal) and type "caffeinate". That prevents the laptop from sleeping and lets the download/install process complete itself. When done type control-c into the Terminal and it will quit caffeinate.
Sep ’22
Reply to CloudKit Dashboard error "Failed to execute query"
and the log entry is "time":"12/19/2024, 9:56:24 PM UTC" "database":"PUBLIC" "userId":"_660263174f32e1ebf765680c575f46fb" "operationType":"RecordQuery" "platform":"Other" "overallStatus":"SERVER_ERROR" "error":"INTERNAL_ERROR" "requestId":"703a4ba8-8b62-4eb2-8060-efa09a914ee2" "executionTimeMs":"2749" "interfaceType":"WEB" }
Replies
Boosts
Views
Activity
Dec ’24
Reply to CloudKit error - CKErrorRequestRateLimited
Actually the error occurs all the time. All queries are rejected. I am able to fetchRecordWithID: and saveRecord: but when I try a performQuery: it fails the first time with CKErrorServerRejectedRequest. Here is the error.userInfo: { CKDHTTPHeaders = { "Content-Encoding" = gzip; "Content-Type" = "application/json; charset=UTF-8"; Date = "Tue, 17 Dec 2024 17:37:34 GMT"; Server = "AppleHttpServer/d2dcc6a0a5e3"; "Strict-Transport-Security" = "max-age=31536000; includeSubDomains;"; Via = "xrail:mr42p00ic-qujn09141101.me.com:8301:24R623:grp20,631194250daa17e24277dea86cf30319:c26f48d6a50e4cd190c61a0c95718444:usuyk1"; "access-control-expose-headers" = "X-Apple-Request-UUID,Via"; "retry-after" = 30; "x-apple-edge-response-time" = 749; "x-apple-request-uuid" = "C4501E94-1390-4A2D-97BE-765D2EEC6679"; "x-apple-user-partition" = 24; "x-responding-instance" = "ckdatabaseservice:714813850:prod-p24-ckdatabaseservice-50percent-58f78f985d-w8nqc:8080:2429B399:feb23af4ba8edac43c48e1a1025eba9548907ffd"; }; CKHTTPStatus = 503; CKRetryAfter = 30; ContainerID = "iCloud. [ my CloudKit container here ] "; NSDebugDescription = "CKInternalErrorDomain: 2000"; NSUnderlyingError = "Error Domain=CKInternalErrorDomain Code=2000 "(null)" UserInfo={ContainerID=iCloud. [ my container here ] , CKRetryAfter=30, CKHTTPStatus=503, CKDHTTPHeaders={\n "Content-Encoding" = gzip;\n "Content-Type" = "application/json; charset=UTF-8";\n Date = "Tue, 17 Dec 2024 17:37:34 GMT";\n Server = "AppleHttpServer/d2dcc6a0a5e3";\n "Strict-Transport-Security" = "max-age=31536000; includeSubDomains;";\n Via = "xrail:mr42p00ic-qujn09141101.me.com:8301:24R623:grp20,631194250daa17e24277dea86cf30319:c26f48d6a50e4cd190c61a0c95718444:usuyk1";\n "access-control-expose-headers" = "X-Apple-Request-UUID,Via";\n "retry-after" = 30;\n "x-apple-edge-response-time" = 749;\n "x-apple-request-uuid" = "C4501E94-1390-4A2D-97BE-765D2EEC6679";\n "x-apple-user-partition" = 24;\n "x-responding-instance" = "ckdatabaseservice:714813850:prod-p24-ckdatabaseservice-50percent-58f78f985d-w8nqc:8080:2429B399:feb23af4ba8edac43c48e1a1025eba9548907ffd";\n}, RequestUUID=C4501E94-1390-4A2D-97BE-765D2EEC6679, OperationID=3D4D8CAA1CAA2325}"; OperationID = 3D4D8CAA1CAA2325; RequestUUID = "C4501E94-1390-4A2D-97BE-765D2EEC6679"; }
Topic: UI Frameworks SubTopic: General Tags:
Replies
Boosts
Views
Activity
Dec ’24
Reply to apple id not working in simulator
On the simulator 17.2 I was getting no call backs from accountStatusWithCompletionHandler: and the Settings app was crashing when I tried to open iCloud. After a few resets of Settings the simulator Settings started working and I could open iCloud. At that point I was getting call backs to accountStatusWithCompletionHandler: and everything was working.
Replies
Boosts
Views
Activity
Aug ’24
Reply to CKModifyBadgeOperation is deprecated
see https://stackoverflow.com/questions/47542005/ckmodifybadgeoperation-is-deprecated-in-ios-11-anyone-know-an-alternative-appro
Replies
Boosts
Views
Activity
Aug ’24
Reply to iOS 11: CKModifyBadgeOperation is deprecated
see https://stackoverflow.com/questions/47542005/ckmodifybadgeoperation-is-deprecated-in-ios-11-anyone-know-an-alternative-appro for a work-around. Apple's methods do not reset the badge count on CloudKit.
Replies
Boosts
Views
Activity
Aug ’24
Reply to iOS 11: CKModifyBadgeOperation is deprecated
This is still an issue. If CloudKit increments badge count then even using the 'new' [[UNUserNotificationCenter currentNotificationCenter] setBadgeCount:0 withCompletionHandler:nil]; doesn't work. And now CKModifyBadgeOperation no longer works.
Replies
Boosts
Views
Activity
Jul ’24
Reply to How can I solve (Guideline 5.2.1) ?
Again, you have two issues - you are violating the copyright of the original song writer and you are violating the copyrights of genius.com.Since you agree you are using the website of genius.com you may have agreed to their terms of service which are: Commercial Use: Unless otherwise expressly authorized herein or by Genius' express written consent, you agree not to display, distribute, license, perform, publish, reproduce, duplicate, copy, create derivative works from, modify, sell, resell, exploit, transfer or transmit for any commercial purposes, any portion of the Service, use of the Service, or access to the Service. The Service is for your personal use and may not be used for direct commercial endeavors without the express written consent of Genius.Those terms of service may create a contract between you and genius.com. So you not only have the copyright issue you also may have a contract law issue.Further, you are welcome to question whether others are violating the copyrights of authors - but that won't get your app approved, will it? And if you look into Genius.com you may discover that they are respecting the copyrights of others through their copyright policy here: h ttps://genius.com/static/copyrightFinally, while 'free stuff' allows you to do certain things with the stuff, it does not allow you to do other things - and 'displaying to others' is one of those things that you don't get to do. And even if your app is 'free' it doesn't mean you can ignore your obligations under copyright and trademark law. You may have a path through fair use but it is a narrow path - and Apple seems to think you have strayed from that path.
Replies
Boosts
Views
Activity
Jun ’23
Reply to Waiting for attach - running watch app on simulator
The following solution (from another forum thread) worked for me: "you can work around this problem by checking 'Supports Running without iOS App Installation' in the General tab of the WatchKit Extension target."
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
Dec ’22
Reply to 'windows' was deprecated in iOS 15.0: Use UIWindowScene.windows?
In Objective C I was able to replace: NSArray  *windows = [[UIApplication sharedApplication] windows]; with NSArray *scenes=[[[UIApplication sharedApplication] connectedScenes] allObjects]; NSArray *windows=[[scenes objectAtIndex:0] windows]; I follow that with: for (UIWindow  *window in windows) {         if (window.isKeyWindow) {             foundWindow = window;             break;         }    }   UIViewController* parentController = foundWindow.rootViewController;    while( parentController.presentedViewController &&           parentController != parentController.presentedViewController ){         parentController = parentController.presentedViewController;    }
Topic: UI Frameworks SubTopic: UIKit Tags:
Replies
Boosts
Views
Activity
Nov ’22
Reply to App not displayed in Settings App
I was using CloudKit. The app appeared in the Settings app only after the app accessed CloudKit through:       [[CKContainer defaultContainer] accountStatusWithCompletionHandler:^(CKAccountStatus accountStatus, NSError *error) { That makes sense. Try to use the function that requires some sort of permission suitable for inclusion in the Settings app
Topic: Code Signing SubTopic: Entitlements Tags:
Replies
Boosts
Views
Activity
Oct ’22
Reply to Xcode 13.2 update is stuck
My new MacBook Air M2 was struggling with downloading and installing Xcode. The problem, I think, was that the laptop sleeps after a short period of time and that stops the download/install process. Download/install restarts at 80% or 0% when the laptop is reawakened - repeat. A simple way to avoid the laptop from sleeping is to open the Terminal application (Application/Utilities/Terminal) and type "caffeinate". That prevents the laptop from sleeping and lets the download/install process complete itself. When done type control-c into the Terminal and it will quit caffeinate.
Replies
Boosts
Views
Activity
Sep ’22
Reply to XCode incompatible with iphone 15.4.1
I am using TestFlight to test on devices until I pony up for a new Mac. It is far from ideal but it works. No debugging - but you can confirm that things work or not.
Replies
Boosts
Views
Activity
Sep ’22