Skip to content

Docs don't mention that previews only work in debug builds #220

@CraigSiemens

Description

@CraigSiemens

I was curious if I'd be able to show the gallery in the TestFlight build of our app to simplify sharing it with designers. I suspected it wouldn't work since Xcode should be removing the previews as part of the optimization, but this tool has enough magic in it, I wasn't 100% sure. I couldn't find it mentioned in the readme one way or the other.

I made a release build and ran it on the simulator and confirmed that no previews were shown in the gallery.

It would be a nice improvement if the readme mentioned that it the gallery only works for debug builds. Also potentially including instructions for removing this as a dependency for release builds since it's not useable and potentially leads to a larger app size.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions