1 Reply
      Latest reply on Feb 4, 2019 2:35 AM by eskimo
      Filippi Silva Level 1 Level 1 (0 points)

        Hello,

         

         

        I have a JavaFx application and through javapackager, I generate a DMG and distribute it to my users. In the new version of MAC OS MOJAVE, I'm having problems accessing the microphone, requiring constant permission, but in Debug mode, the confirmation window is displayed only once.

         

         

        Every time users start a new recording, they receive the OS window asking for confirmation. My application has the Accessibility and Microphone permissions in the OS settings and even then the user needs to confirm every time.

         

         

        How should I proceed?

        • Re: Macs Mojave asks permission every time to use the microphone
          eskimo Apple Staff Apple Staff (10,595 points)

          The most common cause of problems like this is code signing.  Code signing has two goals:

          • Check the integrity of the code

          • Identify the origin of the code

          The latter is important in situations like microphone access, where the system needs to ensure that the code that’s requested access now is the same as the code that was originally granted access, even though the app might have been updated in the interim.

          Is the release version of your app consistently signed?

          Share and Enjoy

          Quinn “The Eskimo!”
          Apple Developer Relations, Developer Technical Support, Core OS/Hardware
          let myEmail = "eskimo" + "1" + "@apple.com"