Skip to content

HostingExample reports iOS storyboard errors for mac destination #896

@Kyle-Ye

Description

@Kyle-Ye

Description

When opening the generated Example workspace and selecting the HostingExample target for a mac destination, Xcode reports two storyboard issues:

  • LaunchScreen.storyboard: iOS storyboards do not support target device type "mac".
  • Main.storyboard: iOS storyboards do not support target device type "mac".

Screenshot

Image

Expected Behavior

HostingExample should generate cleanly for mac destinations without including iOS-only storyboard resources or storyboard Info.plist keys in the mac build settings.

Impact

The generated workspace shows configuration errors for HostingExample when targeting mac, which makes the Example setup look broken even before building or running the target.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area: exampleExample apps, previews, sample projects, screenshots, or demo assets.platform: macOSmacOS-specific behavior or support.type: bugSomething is not working correctly.

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions