- Home
- Skills
- Mobile Development
- SwiftUI Calendar Sync Diagnosis
SwiftUI Calendar Sync Diagnosis
Diagnose permission, refresh and duplicate-import bugs in SwiftUI EventKit calendar integrations.
$12
Works with the AI Agents you already use
SwiftUI Calendar Sync Diagnosis
Example session with this skill installed
Synthetic example. Use SwiftUI Calendar Sync Diagnosis. Diagnosis only. The view reads service.hasAccess, a computed property calling EventKit authorizationStatus. After the permission callback, service.calendars is replaced, but the disconnected view never reads calendars. The picker appears after relaunch. A second problem: imported events use eventIdentifier as the only key across all selected calendars; calendar B is temporarily unavailable during refresh. No source code or device access is available.
- Read your context and instructions
- Compiled the swiftui calendar sync
Diagnosis
The picker symptom is consistent with a missing observable authorization update. The disconnected view reads hasAccess, but that computed global-status lookup does not establish a stored observable change. Replacing an array that this view never reads may leave it on the disconnected branch. Relaunch rebuilds the view against the new global status. This is a supported hypothesis from the supplied flow, not a reproduced device result.
Proposed changes
- Store authorization state in the existing observable service and update it on the UI actor after permission completion. Reload available calendars and expose the picker immediately after the state transition.
- Recheck authorization and calendar availability when the app becomes active. Verify exact APIs against the project's SDK before implementing.
- Scope imported identities to calendar plus a tested stable occurrence identity. Do not assume
eventIdentifieralone is permanent or globally sufficient. - Preserve calendar B's cached events while it is unavailable. Do not interpret its absence as an empty successful snapshot or delete user history.
Verification plan
Reset permission and allow access: picker appears without relaunch. Revoke permission in Settings and return: screen updates. Refresh with B unavailable: cache remains. Import identical source identifiers from A and B: records stay separate. Repeat a successful refresh: no extra copies.
No files were changed, builds run or provider subscriptions tested. Actual source code is needed to identify the precise patch locations.
Connects securely to your tools. The creator never sees your data.
About this skill
Diagnose permission, refresh and duplicate-import bugs in SwiftUI EventKit calendar integrations.
What you get
An evidence-linked diagnosis and, when requested with workspace access, a minimal patch and regression plan. Covers observable permission state, activation refresh, notification loops, scoped event identity and unavailable-calendar cache preservation.
How to use
Ask your agent to use SwiftUI Calendar Sync Diagnosis and provide your relevant text, sanitized evidence or workspace. The skill is instruction-only and requires no proprietary companion service.
Limitations
Requires project code for a precise patch. Cannot force calendar-provider refresh or guarantee support for every calendar service. Device and simulator checks require your development tools.
The demonstration uses invented inputs and illustrates the intended output; it is not a customer result or an executed integration test.
Cannot force provider/iOS subscription refresh. Precise patches require project code; runtime validation requires Xcode and a suitable simulator/device. No guarantee of universal provider or macOS compatibility.
How to use
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before any payment.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill goes through the trust checks below.
Security scanned
Checked by our 8-point scan before listing
Fresh listing
Recently published to Agensi
Money-back guarantee
Doesn't do what its page promises? You get your money back.
Trust & safety
Security scan
Security scan passed 25 days ago
Permissions
Instruction-only. Analysis of supplied text needs no account access. Optional workspace inspection, edits and local tests require user authorization. No personal details, private projects or credentials are bundled.