Skip to content

Improve provisioning profile regeneration and cleanup - #245

Merged
Redth merged 1 commit into
mainfrom
redth-fix-profile-regeneration
Aug 23, 2026
Merged

Improve provisioning profile regeneration and cleanup#245
Redth merged 1 commit into
mainfrom
redth-fix-profile-regeneration

Conversation

@Redth

@Redth Redth commented Aug 23, 2026

Copy link
Copy Markdown
Owner

Provisioning profile regeneration could silently lose capabilities that were no longer assigned to the App ID, while local downloads and installs accumulated stale copies across Xcode profile directories. This change makes regeneration and local profile management safer and easier to inspect.

  • Preflight regeneration with a temporary generated profile and compare its actual App Group entitlements before deleting the existing profile.
  • Treat App Groups as portal-managed because the current App Store Connect API cannot configure their identifier assignments.
  • Replace older matching downloads atomically, prompt for ambiguous conflicts, and protect against files changing after review.
  • Add Auto, Xcode 16+, Xcode 15 and earlier, and Both directory modes for installation and Finder reveal.
  • Add native toolbar actions for opening profile folders and reviewing installed profiles.
  • Add a cleanup dialog that explains profile health, preselects only expired, unreadable, superseded, or certificate-orphaned profiles, and confirms before deleting selected files.
  • Cover entitlement validation, directory selection, download conflicts, duplicate analysis, and cleanup recommendations with focused tests.

Protect profile regeneration by validating the generated entitlements before removing the existing profile. Add profile-aware downloads, configurable Xcode profile directories, Finder actions, and a cleanup review workflow for stale local profiles.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>

Copilot-Session: 4eedcc55-4d9e-4dd2-9dba-733b9045730f
@Redth
Redth merged commit 9cf0372 into main Aug 23, 2026
8 of 9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant