Skip to content

codesign --deep is deprecated #245

@kerner1000

Description

@kerner1000

I'm submitting a…

  • bug report
  • feature request
  • other

According to this doc (developer.apple.com), the --deep option is deprecated and does not work reliably. From my personal experience, the following works better:

#!/bin/bash
find "../MyApp.app" -depth -type f -exec codesign -v -f -o runtime -s '3rd Party Mac Developer Application: Max Mustermann (6W37Y2F4CM)' --entitlements 'assets/mac/entitlements.plist' {} \; 

codesign -f -o runtime --entitlements 'entitlements.plist' -s '3rd Party Mac Developer Application: Max Mustermann (6W37Y3F4CM)' 'MyApp.app/Contents/MacOS/launcher'

codesign -f -o runtime --entitlements '/Volumes/Case-sensitive Volume/sources/drrename/assets/mac/entitlements.plist' -s '3rd Party Mac Developer Application: Max Mustermann (6W37Y3F4CM)' '../MyApp.app' 

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingfixedIssue fixed and release pending

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions