Skip to content

How to package NSFW with a notarized app? #180

@jagthedrummer

Description

@jagthedrummer

I'm testing NSFW in an electron app and it works fantastically in development mode. But when I generate a self-contained .app file then try to start the app I get an error thrown when I try to require nsfw.

dlopen(/var/folders/fx/vmqbtyws34j1l88m16_9jy_00000gn/T/.com.electron.seshydevelopment.3nmfAN, 0x0001):
tried: '/var/folders/fx/vmqbtyws34j1l88m16_9jy_00000gn/T/.com.electron.seshydevelopment.3nmfAN'
(code signature in <83F8673B-BEAF-3E2A-9B12-66321A99F480> '/private/var/folders/fx/vmqbtyws34j1l88m16_9jy_00000gn/T/.com.electron.seshydevelopment.3nmfAN'
not valid for use in process:
mapped file has no Team ID and is not a platform binary
(signed with custom identity or adhoc?)),

Is there something special that I have to do to build, sign, and use NSFW for distribution with my app?

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