XcodesOrg / XcodesOrg/XcodesApp
Preferences are lost after update from 1.x to 2.x
Nobody has claimed this yet.
- 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:
- Install XcodesApp 1.x, enable faster unxip.
- 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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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