XcodesOrg / XcodesOrg/XcodesApp

Ask admin credentials if Xcode installation in /Applications is not allowed

Open
#112 8 comments 12 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

As a developer, my Mac OS session runs with a "Standard" user.
I have an "Admin" user, if some actions require admin privilege, like installing Xcode application in the /Applications folder.

I tried to install Xcode 12.5 beta 2 with the application with aria2.
The zip was in the Application Support folder, and Xcode was unzipped.
But nothing happen to allow the installation in the /Applications.

I've installed the "Privileged helper" but it didn't help.

Some ideas:

  • Like Sparkle, when Xcodes application detects an update, the sdk downloads it. Then, it asks credential to install in /Applications.
  • I assume the "Privileged helper" needs "admin" authorisation to do the stuff. Ask credentials in the UI if needed.
Xcodes app update with Sparkle SDK on a Standard user session

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 an Xcode installation from a standard macOS account when /Applications is not writable, then inspect the privileged helper and the existing download/unzip flow involving aria2. Done means the app requests administrator credentials when needed and successfully installs Xcode in /Applications.

Written by the indexing model from the issue text.

Assessment

Tech stack
macos, swift
Domain
authorization, desktop
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 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.