feedback-assistant / reports

Open collection of Apple Feedback Assistant reports
237 stars 2 forks source link

FB15011501: Breaking - @IBInspectable no longer shown in Interface Builder attributes inspector #559

Open macmade opened 2 months ago

macmade commented 2 months ago

Details

What version of Xcode are you using?

Xcode Version 16.0 (16A5230g)

Did you see an error message?

No

What devices were you using when the issue occurred?

Mac

When did the issue most recently occur?

2024-09-02T14:46:43+02:00

Description

In an AppKit project, properties marked with @IBInspectable are no longer shown in the Interface Builder attributes inspector panel.

This is a regression in Xcode 16 beta 6. Such properties appear in previous betas (and in every Xcode version before).

I've attached an example project. It contains a class named "CustomView" with such @IBInspectable properties:

@IBInspectable public var flag: Bool = false
@IBInspectable public var color: NSColor = .red
@IBInspectable public var floatValue: Double = 0
@IBInspectable public var text: String = ""

These properties should show in InterfaceBuilders, as shown in the attached screenshot (Inspector.png).

Files

Inspectable.zip Inspector

macmade commented 2 months ago

The issue is still present in Xcode 16 RC (16A242).

macmade commented 2 months ago

The issue is still present in the final version of Xcode 16.

This is a significant issue since we can no longer develop our apps with the current version of Xcode. It also means we cannot update to macOS Sequoia since Xcode 15 doesn't run, which is a major problem for my company.

Please fix this.