Uploaded image for project: 'Directory Studio'
  1. Directory Studio
  2. DIRSTUDIO-1140

Apple Sierra shows corrupted app when launching Studio



    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.0.0-M12
    • 2.0.0-M13, 2.0.0-M14
    • studio-apacheds
    • None


      After downloading and launching Apache Directory Studio 2.0.0 M12 on MacOS X Sierra, I am presented with a panel that says:

      "ApacheDirectoryStudio.app" is damaged and can't be opened. You should move it to the Trash.

      The cause of this issue is because of Sierra's enhanced security related to... resource fork, Finder information, or similar detritus not allowed and code signing.

      This may or may not be related to code signing specifically, but is more likely related to the version of Xcode used to create this app version. Here's the security issue:

      This is a security hardening change that was introduced with iOS 10, macOS Sierra, watchOS 3, and tvOS 10.

      Code signing no longer allows any file in an app bundle to have an extended attribute containing a resource fork or Finder info.

      To find the offending attributes, use:

      xattr -lr /Applications/ApacheDirectoryStudio.app

      To fix the app and allow it to function, these attributes must be stripped with:

      xattr -cr /Applications/ApacheDirectoryStudio.app

      Better, the next time someone compiles the app for release on MacOS X, make sure it doesn't include these offending attributes. I would assume the latest version of Xcode should prevent the creation of these attributes. If not, then the app should be stripped with xattr before package and release.


        1. ADS-Damaged.png
          74 kB
          Brian Wright



            seelmann Stefan Seelmann
            commorancy0 Brian Wright
            0 Vote for this issue
            4 Start watching this issue