Skip to content

Slow first startup on Mac #10

@AlexyPellegrini

Description

@AlexyPellegrini

When installing slicer_core on Mac in a new venv, it takes quite a while (about 2 minutes) to start it the first time, this is probably due to MacOS anti threat system.
This should be avoidable by signing the dylibs using something like this (warning: generated by AI):

codesign --force --options runtime --timestamp \
         --sign "Developer ID Application: Your Name (TEAMID)" \
         path/to/your_library.dylib....
xcrun notarytool submit wheel.whl \
      --apple-id "your-email@example.com" \
      --password "your-app-specific-password" \
      --team-id "TEAMID" \
      --wait

Kitware has signing servers, more info here: https://github.com/Slicer/Slicer/wiki/Signing-Application-Packages

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    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