Skip to content

Unit tests crash with Xcode 12.5 + Big Sur #15

@jessesquires

Description

@jessesquires

Problem

For some reason, unit tests just crash on Xcode 12.5+ during StatusItemController.init:

self.statusItem = NSStatusBar.system.statusItem(withLength: length)

The issue is with NSStatusBar.system 🤷🏼

EDIT: The issue seems to be with Big Sur. Crashes also occur with Xcode 12.4 on Big Sur...

Example logs

https://github.com/hexedbits/StatusItemController/runs/3064104921?check_suite_focus=true

Workaround

Using Xcode 12.4 and macOS 10.15 for now — only for ci.yml

See: #14

Notes

No idea why this is happening. See like an AppKit bug or something?

Metadata

Metadata

Assignees

Labels

bugSomething isn't workinghelp wantedExtra attention is needed

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions