XcodesOrg / XcodesOrg/XcodesApp

Preferences are lost after update from 1.x to 2.x

Open
#536 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
Swift
Stars
8.6k
Forks
387
Avg merge
6d 7h
Merged PRs (30d)
3

Description

Describe the bug
I noticed that after update from 1.x to 2.x preferences (i.e. Apple ID account, faster unxip etc.) are reset to default setting like after a clean install. I've done small investigation and I found out that since the team has been changed (xcodesOrg), app looks for (and stores) preferences in a different place:

  • was: com.robotsandpencils.XcodesApp
  • is: com.xcodesorg.xcodesapp

So now the old set of preferences is still there, but they are unused. This can be verified in terminal by running defaults read com.robotsandpencils.XcodesApp and defaults read com.xcodesorg.xcodesapp.

To Reproduce
Steps to reproduce the behavior:

  1. Install XcodesApp 1.x, enable faster unxip.
  2. Update to 2.x, check status of faster unxip preference.

Expected behavior
Ideally, preferences should be migrated, old domain removed.

Version

  • OS: 13.6.5
  • Xcodes: 2.1.1

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the upgrade with XcodesApp 1.x and 2.x, then compare defaults read com.robotsandpencils.XcodesApp with defaults read com.xcodesorg.xcodesapp. Trace where the app reads and stores preferences; done means preferences such as Apple ID and faster unxip carry over to the new domain and the old domain is removed.

Written by the indexing model from the issue text.

Assessment

Tech stack
macos, swift
Domain
desktop
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.