beeware / beeware/briefcase

On macOS, `briefcase run` requires admin status

Open
#2,086 6 comments 0 reactions 0 assignees View on GitHub
bug macOS
Dominant language
Python
Stars
3.3k
Forks
549
Avg merge
1d 4h
Merged PRs (30d)
40

Description

### Describe the bug

`briefcase run` can fail for users with limited access. For instance, this macbook is remotely managed and limits administrative tasks by default.

```
❯ briefcase run --log

[helloworld] Building App...
Renaming stub binary... done

[helloworld] Ad-hoc signing app...
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 100.0% • 00:02

[helloworld] Built build/helloworld/macos/app/Hello World.app

[helloworld] Starting app...
===========================================================================
log: Must be admin to run 'stream' command
```

### Steps to reproduce

Not specifically sure...but run `briefcase run` for a limited user on macOS.

### Expected behavior

The app could run without `log stream` perhaps.

### Screenshots

_No response_

### Environment

- Operating System: Sequoia
- Python version: 3.12.7
- Software versions:
- Briefcase: `0.3.20.dev369+gf6b5d83f`

### Logs

[briefcase.2024_12_15-11_13_36.run.log](https://github.com/user-attachments/files/18141173/briefcase.2024_12_15-11_13_36.run.log)

### Additional context

_No response_

Contributor guide

Open the contributing guide

Research direction

Start by reproducing `briefcase run --log` as a limited user on macOS Sequoia and inspect the attached run log, focusing on the `log stream` admin error. Trace the `briefcase run` startup path that invokes `log stream`; done means the app launches successfully without requiring administrator access.

Written by the indexing model from the issue text.

Assessment

Tech stack
macos, python
Domain
cli, desktop
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.