Turn off sound in iPhone Simulator












54















Is there an option to turn off sound, in iPhone Simulator?
Or to adjust volume?










share|improve this question

























  • Added a bounty - I personally do not care if getting such thing to work would actually mean hacking the simulator itself. The awarded answer needs to effectively silence MPMoviePlayerController.

    – Till
    Mar 10 '13 at 4:25











  • I did try "Hear" as that one seemed to be a promising solution for adjusting the volume of individual applications run on OSX but unfortunately it does not detect/support the simulator.

    – Till
    Mar 10 '13 at 4:27











  • I did also try "Soundbunny" and even though it does display a slider for the iOS Simulator, it unfortunately does not control its volume at all.

    – Till
    Mar 10 '13 at 4:52











  • I've found this link below, maybe this will help you. stackoverflow.com/questions/5867341/…

    – Mike
    Mar 10 '13 at 9:47











  • @Mike unfortunately that does not help as is wont change any results on the simulator.

    – Till
    Mar 10 '13 at 18:43
















54















Is there an option to turn off sound, in iPhone Simulator?
Or to adjust volume?










share|improve this question

























  • Added a bounty - I personally do not care if getting such thing to work would actually mean hacking the simulator itself. The awarded answer needs to effectively silence MPMoviePlayerController.

    – Till
    Mar 10 '13 at 4:25











  • I did try "Hear" as that one seemed to be a promising solution for adjusting the volume of individual applications run on OSX but unfortunately it does not detect/support the simulator.

    – Till
    Mar 10 '13 at 4:27











  • I did also try "Soundbunny" and even though it does display a slider for the iOS Simulator, it unfortunately does not control its volume at all.

    – Till
    Mar 10 '13 at 4:52











  • I've found this link below, maybe this will help you. stackoverflow.com/questions/5867341/…

    – Mike
    Mar 10 '13 at 9:47











  • @Mike unfortunately that does not help as is wont change any results on the simulator.

    – Till
    Mar 10 '13 at 18:43














54












54








54


9






Is there an option to turn off sound, in iPhone Simulator?
Or to adjust volume?










share|improve this question
















Is there an option to turn off sound, in iPhone Simulator?
Or to adjust volume?







ios objective-c xcode macos ios-simulator






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Jun 12 '15 at 13:16









Alex Cio

5,01543568




5,01543568










asked Jul 7 '10 at 14:32









markomarko

7812925




7812925













  • Added a bounty - I personally do not care if getting such thing to work would actually mean hacking the simulator itself. The awarded answer needs to effectively silence MPMoviePlayerController.

    – Till
    Mar 10 '13 at 4:25











  • I did try "Hear" as that one seemed to be a promising solution for adjusting the volume of individual applications run on OSX but unfortunately it does not detect/support the simulator.

    – Till
    Mar 10 '13 at 4:27











  • I did also try "Soundbunny" and even though it does display a slider for the iOS Simulator, it unfortunately does not control its volume at all.

    – Till
    Mar 10 '13 at 4:52











  • I've found this link below, maybe this will help you. stackoverflow.com/questions/5867341/…

    – Mike
    Mar 10 '13 at 9:47











  • @Mike unfortunately that does not help as is wont change any results on the simulator.

    – Till
    Mar 10 '13 at 18:43



















  • Added a bounty - I personally do not care if getting such thing to work would actually mean hacking the simulator itself. The awarded answer needs to effectively silence MPMoviePlayerController.

    – Till
    Mar 10 '13 at 4:25











  • I did try "Hear" as that one seemed to be a promising solution for adjusting the volume of individual applications run on OSX but unfortunately it does not detect/support the simulator.

    – Till
    Mar 10 '13 at 4:27











  • I did also try "Soundbunny" and even though it does display a slider for the iOS Simulator, it unfortunately does not control its volume at all.

    – Till
    Mar 10 '13 at 4:52











  • I've found this link below, maybe this will help you. stackoverflow.com/questions/5867341/…

    – Mike
    Mar 10 '13 at 9:47











  • @Mike unfortunately that does not help as is wont change any results on the simulator.

    – Till
    Mar 10 '13 at 18:43

















Added a bounty - I personally do not care if getting such thing to work would actually mean hacking the simulator itself. The awarded answer needs to effectively silence MPMoviePlayerController.

– Till
Mar 10 '13 at 4:25





Added a bounty - I personally do not care if getting such thing to work would actually mean hacking the simulator itself. The awarded answer needs to effectively silence MPMoviePlayerController.

– Till
Mar 10 '13 at 4:25













I did try "Hear" as that one seemed to be a promising solution for adjusting the volume of individual applications run on OSX but unfortunately it does not detect/support the simulator.

– Till
Mar 10 '13 at 4:27





I did try "Hear" as that one seemed to be a promising solution for adjusting the volume of individual applications run on OSX but unfortunately it does not detect/support the simulator.

– Till
Mar 10 '13 at 4:27













I did also try "Soundbunny" and even though it does display a slider for the iOS Simulator, it unfortunately does not control its volume at all.

– Till
Mar 10 '13 at 4:52





I did also try "Soundbunny" and even though it does display a slider for the iOS Simulator, it unfortunately does not control its volume at all.

– Till
Mar 10 '13 at 4:52













I've found this link below, maybe this will help you. stackoverflow.com/questions/5867341/…

– Mike
Mar 10 '13 at 9:47





I've found this link below, maybe this will help you. stackoverflow.com/questions/5867341/…

– Mike
Mar 10 '13 at 9:47













@Mike unfortunately that does not help as is wont change any results on the simulator.

– Till
Mar 10 '13 at 18:43





@Mike unfortunately that does not help as is wont change any results on the simulator.

– Till
Mar 10 '13 at 18:43












10 Answers
10






active

oldest

votes


















22





+250









Partial Success - There are no good options



The iPhone Simulator selects the currently selected output at launch. Using Soundflower plugin and sending the audio to nowhere I started the iPhone Simulator. If you then switch to a different, working, output the simulator will remain 'muted' until you restart the simulator. So in general, you can attempt to trick the simulator to output to a dead end output.



Experimental setup - A sample video player



I'm working on a solution to this problem and as a first step created a demonstration video player app. You can download VideoPlayer from GitHub for your own experiments.



First Attempt - Use a 3rd party app to mute it



Tried using Audio Hijack Pro by Rogue Amoeba to hijack the audio stream and mute it. This didn't work and crashes the simulator. Contacted support and they reported that iPhone Simulator does some things that prevent them from hijacking the audio. I also looked into Soundflower and Jack.



Second Attempt - In-app mute



I was thinking maybe you could make a debug option where when in the app and on the simulator sound would be muted. However, within an app, only private APIs have the power to mute or reduce volume for the device. In the book iPhone Open Application Development Chapter 6, Example "What's My Volume' gives sample code for manipulating system-wide sound through the AVSystemController. It might be fun to explore this route, but to make it into a weaponized tool would require a lot of trouble since you need to compile against private headers.



Idea Three



Find a command-line option to pass to the Springboard or iPhone Simulator that will mute sound, or re-enable the volume control within the simulator, and of course be able to still launch the debugger.



Enhancement Request



I filed an Apple Bug Report enhancement request for both iPhone Simulator volume control, request 13428429, and per application volume control in Mac OS X, request 13428420. If you want these features, please file your own bug.






share|improve this answer


























  • Idea Three is what I also tried to find - checked all available Info.plist's within the simulator folder-tree for suspicious entries but by default it does not seem to contain such option. I was also hoping that similar to the infamous "giraffe" setting, there would be another undocumented setting for sound. To get deeper into that, one would have to have a close look at the simulator binaries (hex, disassembler, ...) but that I did not do yet.

    – Till
    Mar 12 '13 at 4:51











  • I did the same. I think you are looking at binary hacking if your are focusing on the simulator side. A more promising approach would be to figure out how it is connecting the the sound system and mute that.

    – Cameron Lowell Palmer
    Mar 12 '13 at 11:27













  • Did you get closer to our goal? Just asking cause the bounty will expire in three days and I would love to assign it to you if you had some progress to show... :D

    – Till
    Mar 14 '13 at 0:28






  • 1





    I found a workaround. I'm still looking into other possibilities.

    – Cameron Lowell Palmer
    Mar 14 '13 at 14:17











  • Awesome Cameron! ... award well deserved.

    – Till
    Mar 14 '13 at 19:40



















5














Open iOS Simulator, press Hardware > Decrease Volume (⌘↓) until it's muted!
I think it was added at Xcode 9.2, and that it's available only when running sim with iOS 11 and above






share|improve this answer
























  • omg yessssssssss

    – buildsucceeded
    Jan 30 '18 at 9:37






  • 1





    This unfortunately won't mute keyboard sounds (and there's also no option to turn them off in the settings).

    – Miscreant
    Jun 17 '18 at 2:40



















4














You can use something like...



#if DEBUG

[ myAudioController setVolume: .1 ];

#endif


This way during testing, the app will have a lower volume.






share|improve this answer


























  • This doesn't answer the question. The question is about the simulator

    – Cameron Lowell Palmer
    Jan 11 '15 at 8:34






  • 3





    You might be correct this doesn't answer your question correctly. Problem is just, the whole post everybody is talking about any complicated problems while there's no solution for switching it off easily from the menu. Imho @AzulValium solved the problem like I did with one line and without wasting time.

    – Alex Cio
    Jun 12 '15 at 13:22











  • @CameronLowellPalmer That is actually a proper solution for a temporary issue caused by ios simulators.

    – Rockyfish
    Mar 10 '17 at 17:35











  • @Rockyfish I'd have to check, but at the time of the comment, 2015, it did nothing for the Simulator

    – Cameron Lowell Palmer
    Mar 10 '17 at 17:36



















1














referred from : iOS Simulator Sound




Both the input and output device much match in system sound settings. Often u have them set to different devices. If they don't match, the simulator seems to default to the last connected audio device selected among the input and output devices.




I hope it helps out in any way.






share|improve this answer


























  • This is mostly a copy&pasted answer - stackoverflow.com/a/5056682/91282 it does even contain the same typoes.

    – Till
    Mar 13 '13 at 0:26













  • @Till I think Suhaiyl meant his link to it to be an attribution of the answer. I've clarified that a bit in an edit for him. Thanks for bringing it up, though; as we do take plagiarism seriously!

    – Andrew Barber
    Mar 13 '13 at 3:14











  • @AndrewBarber great idea to modify the formatting - should have done that myself. Thanks!

    – Till
    Mar 13 '13 at 3:40











  • @AndrewBarber Thankx.Had thought of bring it up here.

    – Suhaiyl
    Mar 13 '13 at 7:37



















0














[[MPMusicPlayerController applicationMusicPlayer] setVolume:0.0]; 


This works for device, just give a try for simulator.
How do you set the hardware volume in an iPhone app?



You can even try the reverse of this thread to see. Sound not working in iPhone Simulator?






share|improve this answer





















  • 2





    MPMusicPlayerController setVolume does not work on the simulator.

    – Till
    Mar 10 '13 at 14:58











  • Till Ya observed @AzulValium's answer. :(

    – Pushpak Narasimhan
    Mar 10 '13 at 15:24



















0














1) Download the Loopback app



2) In Loopback, create a new virtual audio device (click New virtual device). Rename it if you want (I named it Blackhole).



3) In Simulator, click Hardware > Audio output and choose the name of the virtual audio device that you just created.



Loopback



iOS Simulator






share|improve this answer































    0














    In my case i just set audio output to somewhere which is muted. Like my external screen :)






    share|improve this answer































      0














      Solution for tvOS simulator:



      Go to menu -> General -> Video and Audio -> turn 'Navigation Clicks' and 'Sound Effects and Music' off



      enter image description here






      share|improve this answer































        0














        I ran into this -- my (working) music audio was being routed through the iOS simulator before reaching my headphones, making the music tinny and low-quality. This made developing in the sim really annoying. Fortunately there's an easy fix:




        • In the simulator, route the incoming sound from your Mac's microphone

        • Still in the simulator, route the outgoing audio through your Mac's speakers, or any other audio channel you aren't using


        Changing the incoming audio route:





        Changing the outgoing audio route:








        share|improve this answer

































          -1














          Simple solution.




          • Make sure you have 2 outputs in your mac. For example, built in
            speakers and headphones.


          • Close the iOS Simulator.


          • Change the output source to the one you are not using (alt-click over
            the speaker in the top bar).


          • Run again the iOS simulator. It will take its default output source

            to the one in the system.


          • Change the output source to the one you are using and enjoy. The iOS
            simulator doesn't update it's output source when the system changes it.







          share|improve this answer



















          • 1





            Doesn't work in Xcode 7

            – ABeanSits
            Aug 12 '16 at 21:18











          Your Answer






          StackExchange.ifUsing("editor", function () {
          StackExchange.using("externalEditor", function () {
          StackExchange.using("snippets", function () {
          StackExchange.snippets.init();
          });
          });
          }, "code-snippets");

          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "1"
          };
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function() {
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled) {
          StackExchange.using("snippets", function() {
          createEditor();
          });
          }
          else {
          createEditor();
          }
          });

          function createEditor() {
          StackExchange.prepareEditor({
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          imageUploader: {
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          },
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          });


          }
          });














          draft saved

          draft discarded


















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f3195739%2fturn-off-sound-in-iphone-simulator%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          10 Answers
          10






          active

          oldest

          votes








          10 Answers
          10






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes









          22





          +250









          Partial Success - There are no good options



          The iPhone Simulator selects the currently selected output at launch. Using Soundflower plugin and sending the audio to nowhere I started the iPhone Simulator. If you then switch to a different, working, output the simulator will remain 'muted' until you restart the simulator. So in general, you can attempt to trick the simulator to output to a dead end output.



          Experimental setup - A sample video player



          I'm working on a solution to this problem and as a first step created a demonstration video player app. You can download VideoPlayer from GitHub for your own experiments.



          First Attempt - Use a 3rd party app to mute it



          Tried using Audio Hijack Pro by Rogue Amoeba to hijack the audio stream and mute it. This didn't work and crashes the simulator. Contacted support and they reported that iPhone Simulator does some things that prevent them from hijacking the audio. I also looked into Soundflower and Jack.



          Second Attempt - In-app mute



          I was thinking maybe you could make a debug option where when in the app and on the simulator sound would be muted. However, within an app, only private APIs have the power to mute or reduce volume for the device. In the book iPhone Open Application Development Chapter 6, Example "What's My Volume' gives sample code for manipulating system-wide sound through the AVSystemController. It might be fun to explore this route, but to make it into a weaponized tool would require a lot of trouble since you need to compile against private headers.



          Idea Three



          Find a command-line option to pass to the Springboard or iPhone Simulator that will mute sound, or re-enable the volume control within the simulator, and of course be able to still launch the debugger.



          Enhancement Request



          I filed an Apple Bug Report enhancement request for both iPhone Simulator volume control, request 13428429, and per application volume control in Mac OS X, request 13428420. If you want these features, please file your own bug.






          share|improve this answer


























          • Idea Three is what I also tried to find - checked all available Info.plist's within the simulator folder-tree for suspicious entries but by default it does not seem to contain such option. I was also hoping that similar to the infamous "giraffe" setting, there would be another undocumented setting for sound. To get deeper into that, one would have to have a close look at the simulator binaries (hex, disassembler, ...) but that I did not do yet.

            – Till
            Mar 12 '13 at 4:51











          • I did the same. I think you are looking at binary hacking if your are focusing on the simulator side. A more promising approach would be to figure out how it is connecting the the sound system and mute that.

            – Cameron Lowell Palmer
            Mar 12 '13 at 11:27













          • Did you get closer to our goal? Just asking cause the bounty will expire in three days and I would love to assign it to you if you had some progress to show... :D

            – Till
            Mar 14 '13 at 0:28






          • 1





            I found a workaround. I'm still looking into other possibilities.

            – Cameron Lowell Palmer
            Mar 14 '13 at 14:17











          • Awesome Cameron! ... award well deserved.

            – Till
            Mar 14 '13 at 19:40
















          22





          +250









          Partial Success - There are no good options



          The iPhone Simulator selects the currently selected output at launch. Using Soundflower plugin and sending the audio to nowhere I started the iPhone Simulator. If you then switch to a different, working, output the simulator will remain 'muted' until you restart the simulator. So in general, you can attempt to trick the simulator to output to a dead end output.



          Experimental setup - A sample video player



          I'm working on a solution to this problem and as a first step created a demonstration video player app. You can download VideoPlayer from GitHub for your own experiments.



          First Attempt - Use a 3rd party app to mute it



          Tried using Audio Hijack Pro by Rogue Amoeba to hijack the audio stream and mute it. This didn't work and crashes the simulator. Contacted support and they reported that iPhone Simulator does some things that prevent them from hijacking the audio. I also looked into Soundflower and Jack.



          Second Attempt - In-app mute



          I was thinking maybe you could make a debug option where when in the app and on the simulator sound would be muted. However, within an app, only private APIs have the power to mute or reduce volume for the device. In the book iPhone Open Application Development Chapter 6, Example "What's My Volume' gives sample code for manipulating system-wide sound through the AVSystemController. It might be fun to explore this route, but to make it into a weaponized tool would require a lot of trouble since you need to compile against private headers.



          Idea Three



          Find a command-line option to pass to the Springboard or iPhone Simulator that will mute sound, or re-enable the volume control within the simulator, and of course be able to still launch the debugger.



          Enhancement Request



          I filed an Apple Bug Report enhancement request for both iPhone Simulator volume control, request 13428429, and per application volume control in Mac OS X, request 13428420. If you want these features, please file your own bug.






          share|improve this answer


























          • Idea Three is what I also tried to find - checked all available Info.plist's within the simulator folder-tree for suspicious entries but by default it does not seem to contain such option. I was also hoping that similar to the infamous "giraffe" setting, there would be another undocumented setting for sound. To get deeper into that, one would have to have a close look at the simulator binaries (hex, disassembler, ...) but that I did not do yet.

            – Till
            Mar 12 '13 at 4:51











          • I did the same. I think you are looking at binary hacking if your are focusing on the simulator side. A more promising approach would be to figure out how it is connecting the the sound system and mute that.

            – Cameron Lowell Palmer
            Mar 12 '13 at 11:27













          • Did you get closer to our goal? Just asking cause the bounty will expire in three days and I would love to assign it to you if you had some progress to show... :D

            – Till
            Mar 14 '13 at 0:28






          • 1





            I found a workaround. I'm still looking into other possibilities.

            – Cameron Lowell Palmer
            Mar 14 '13 at 14:17











          • Awesome Cameron! ... award well deserved.

            – Till
            Mar 14 '13 at 19:40














          22





          +250







          22





          +250



          22




          +250





          Partial Success - There are no good options



          The iPhone Simulator selects the currently selected output at launch. Using Soundflower plugin and sending the audio to nowhere I started the iPhone Simulator. If you then switch to a different, working, output the simulator will remain 'muted' until you restart the simulator. So in general, you can attempt to trick the simulator to output to a dead end output.



          Experimental setup - A sample video player



          I'm working on a solution to this problem and as a first step created a demonstration video player app. You can download VideoPlayer from GitHub for your own experiments.



          First Attempt - Use a 3rd party app to mute it



          Tried using Audio Hijack Pro by Rogue Amoeba to hijack the audio stream and mute it. This didn't work and crashes the simulator. Contacted support and they reported that iPhone Simulator does some things that prevent them from hijacking the audio. I also looked into Soundflower and Jack.



          Second Attempt - In-app mute



          I was thinking maybe you could make a debug option where when in the app and on the simulator sound would be muted. However, within an app, only private APIs have the power to mute or reduce volume for the device. In the book iPhone Open Application Development Chapter 6, Example "What's My Volume' gives sample code for manipulating system-wide sound through the AVSystemController. It might be fun to explore this route, but to make it into a weaponized tool would require a lot of trouble since you need to compile against private headers.



          Idea Three



          Find a command-line option to pass to the Springboard or iPhone Simulator that will mute sound, or re-enable the volume control within the simulator, and of course be able to still launch the debugger.



          Enhancement Request



          I filed an Apple Bug Report enhancement request for both iPhone Simulator volume control, request 13428429, and per application volume control in Mac OS X, request 13428420. If you want these features, please file your own bug.






          share|improve this answer















          Partial Success - There are no good options



          The iPhone Simulator selects the currently selected output at launch. Using Soundflower plugin and sending the audio to nowhere I started the iPhone Simulator. If you then switch to a different, working, output the simulator will remain 'muted' until you restart the simulator. So in general, you can attempt to trick the simulator to output to a dead end output.



          Experimental setup - A sample video player



          I'm working on a solution to this problem and as a first step created a demonstration video player app. You can download VideoPlayer from GitHub for your own experiments.



          First Attempt - Use a 3rd party app to mute it



          Tried using Audio Hijack Pro by Rogue Amoeba to hijack the audio stream and mute it. This didn't work and crashes the simulator. Contacted support and they reported that iPhone Simulator does some things that prevent them from hijacking the audio. I also looked into Soundflower and Jack.



          Second Attempt - In-app mute



          I was thinking maybe you could make a debug option where when in the app and on the simulator sound would be muted. However, within an app, only private APIs have the power to mute or reduce volume for the device. In the book iPhone Open Application Development Chapter 6, Example "What's My Volume' gives sample code for manipulating system-wide sound through the AVSystemController. It might be fun to explore this route, but to make it into a weaponized tool would require a lot of trouble since you need to compile against private headers.



          Idea Three



          Find a command-line option to pass to the Springboard or iPhone Simulator that will mute sound, or re-enable the volume control within the simulator, and of course be able to still launch the debugger.



          Enhancement Request



          I filed an Apple Bug Report enhancement request for both iPhone Simulator volume control, request 13428429, and per application volume control in Mac OS X, request 13428420. If you want these features, please file your own bug.







          share|improve this answer














          share|improve this answer



          share|improve this answer








          edited Mar 26 '16 at 8:37

























          answered Mar 10 '13 at 18:03









          Cameron Lowell PalmerCameron Lowell Palmer

          14.9k47997




          14.9k47997













          • Idea Three is what I also tried to find - checked all available Info.plist's within the simulator folder-tree for suspicious entries but by default it does not seem to contain such option. I was also hoping that similar to the infamous "giraffe" setting, there would be another undocumented setting for sound. To get deeper into that, one would have to have a close look at the simulator binaries (hex, disassembler, ...) but that I did not do yet.

            – Till
            Mar 12 '13 at 4:51











          • I did the same. I think you are looking at binary hacking if your are focusing on the simulator side. A more promising approach would be to figure out how it is connecting the the sound system and mute that.

            – Cameron Lowell Palmer
            Mar 12 '13 at 11:27













          • Did you get closer to our goal? Just asking cause the bounty will expire in three days and I would love to assign it to you if you had some progress to show... :D

            – Till
            Mar 14 '13 at 0:28






          • 1





            I found a workaround. I'm still looking into other possibilities.

            – Cameron Lowell Palmer
            Mar 14 '13 at 14:17











          • Awesome Cameron! ... award well deserved.

            – Till
            Mar 14 '13 at 19:40



















          • Idea Three is what I also tried to find - checked all available Info.plist's within the simulator folder-tree for suspicious entries but by default it does not seem to contain such option. I was also hoping that similar to the infamous "giraffe" setting, there would be another undocumented setting for sound. To get deeper into that, one would have to have a close look at the simulator binaries (hex, disassembler, ...) but that I did not do yet.

            – Till
            Mar 12 '13 at 4:51











          • I did the same. I think you are looking at binary hacking if your are focusing on the simulator side. A more promising approach would be to figure out how it is connecting the the sound system and mute that.

            – Cameron Lowell Palmer
            Mar 12 '13 at 11:27













          • Did you get closer to our goal? Just asking cause the bounty will expire in three days and I would love to assign it to you if you had some progress to show... :D

            – Till
            Mar 14 '13 at 0:28






          • 1





            I found a workaround. I'm still looking into other possibilities.

            – Cameron Lowell Palmer
            Mar 14 '13 at 14:17











          • Awesome Cameron! ... award well deserved.

            – Till
            Mar 14 '13 at 19:40

















          Idea Three is what I also tried to find - checked all available Info.plist's within the simulator folder-tree for suspicious entries but by default it does not seem to contain such option. I was also hoping that similar to the infamous "giraffe" setting, there would be another undocumented setting for sound. To get deeper into that, one would have to have a close look at the simulator binaries (hex, disassembler, ...) but that I did not do yet.

          – Till
          Mar 12 '13 at 4:51





          Idea Three is what I also tried to find - checked all available Info.plist's within the simulator folder-tree for suspicious entries but by default it does not seem to contain such option. I was also hoping that similar to the infamous "giraffe" setting, there would be another undocumented setting for sound. To get deeper into that, one would have to have a close look at the simulator binaries (hex, disassembler, ...) but that I did not do yet.

          – Till
          Mar 12 '13 at 4:51













          I did the same. I think you are looking at binary hacking if your are focusing on the simulator side. A more promising approach would be to figure out how it is connecting the the sound system and mute that.

          – Cameron Lowell Palmer
          Mar 12 '13 at 11:27







          I did the same. I think you are looking at binary hacking if your are focusing on the simulator side. A more promising approach would be to figure out how it is connecting the the sound system and mute that.

          – Cameron Lowell Palmer
          Mar 12 '13 at 11:27















          Did you get closer to our goal? Just asking cause the bounty will expire in three days and I would love to assign it to you if you had some progress to show... :D

          – Till
          Mar 14 '13 at 0:28





          Did you get closer to our goal? Just asking cause the bounty will expire in three days and I would love to assign it to you if you had some progress to show... :D

          – Till
          Mar 14 '13 at 0:28




          1




          1





          I found a workaround. I'm still looking into other possibilities.

          – Cameron Lowell Palmer
          Mar 14 '13 at 14:17





          I found a workaround. I'm still looking into other possibilities.

          – Cameron Lowell Palmer
          Mar 14 '13 at 14:17













          Awesome Cameron! ... award well deserved.

          – Till
          Mar 14 '13 at 19:40





          Awesome Cameron! ... award well deserved.

          – Till
          Mar 14 '13 at 19:40













          5














          Open iOS Simulator, press Hardware > Decrease Volume (⌘↓) until it's muted!
          I think it was added at Xcode 9.2, and that it's available only when running sim with iOS 11 and above






          share|improve this answer
























          • omg yessssssssss

            – buildsucceeded
            Jan 30 '18 at 9:37






          • 1





            This unfortunately won't mute keyboard sounds (and there's also no option to turn them off in the settings).

            – Miscreant
            Jun 17 '18 at 2:40
















          5














          Open iOS Simulator, press Hardware > Decrease Volume (⌘↓) until it's muted!
          I think it was added at Xcode 9.2, and that it's available only when running sim with iOS 11 and above






          share|improve this answer
























          • omg yessssssssss

            – buildsucceeded
            Jan 30 '18 at 9:37






          • 1





            This unfortunately won't mute keyboard sounds (and there's also no option to turn them off in the settings).

            – Miscreant
            Jun 17 '18 at 2:40














          5












          5








          5







          Open iOS Simulator, press Hardware > Decrease Volume (⌘↓) until it's muted!
          I think it was added at Xcode 9.2, and that it's available only when running sim with iOS 11 and above






          share|improve this answer













          Open iOS Simulator, press Hardware > Decrease Volume (⌘↓) until it's muted!
          I think it was added at Xcode 9.2, and that it's available only when running sim with iOS 11 and above







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Dec 21 '17 at 10:21









          brkeyalbrkeyal

          508512




          508512













          • omg yessssssssss

            – buildsucceeded
            Jan 30 '18 at 9:37






          • 1





            This unfortunately won't mute keyboard sounds (and there's also no option to turn them off in the settings).

            – Miscreant
            Jun 17 '18 at 2:40



















          • omg yessssssssss

            – buildsucceeded
            Jan 30 '18 at 9:37






          • 1





            This unfortunately won't mute keyboard sounds (and there's also no option to turn them off in the settings).

            – Miscreant
            Jun 17 '18 at 2:40

















          omg yessssssssss

          – buildsucceeded
          Jan 30 '18 at 9:37





          omg yessssssssss

          – buildsucceeded
          Jan 30 '18 at 9:37




          1




          1





          This unfortunately won't mute keyboard sounds (and there's also no option to turn them off in the settings).

          – Miscreant
          Jun 17 '18 at 2:40





          This unfortunately won't mute keyboard sounds (and there's also no option to turn them off in the settings).

          – Miscreant
          Jun 17 '18 at 2:40











          4














          You can use something like...



          #if DEBUG

          [ myAudioController setVolume: .1 ];

          #endif


          This way during testing, the app will have a lower volume.






          share|improve this answer


























          • This doesn't answer the question. The question is about the simulator

            – Cameron Lowell Palmer
            Jan 11 '15 at 8:34






          • 3





            You might be correct this doesn't answer your question correctly. Problem is just, the whole post everybody is talking about any complicated problems while there's no solution for switching it off easily from the menu. Imho @AzulValium solved the problem like I did with one line and without wasting time.

            – Alex Cio
            Jun 12 '15 at 13:22











          • @CameronLowellPalmer That is actually a proper solution for a temporary issue caused by ios simulators.

            – Rockyfish
            Mar 10 '17 at 17:35











          • @Rockyfish I'd have to check, but at the time of the comment, 2015, it did nothing for the Simulator

            – Cameron Lowell Palmer
            Mar 10 '17 at 17:36
















          4














          You can use something like...



          #if DEBUG

          [ myAudioController setVolume: .1 ];

          #endif


          This way during testing, the app will have a lower volume.






          share|improve this answer


























          • This doesn't answer the question. The question is about the simulator

            – Cameron Lowell Palmer
            Jan 11 '15 at 8:34






          • 3





            You might be correct this doesn't answer your question correctly. Problem is just, the whole post everybody is talking about any complicated problems while there's no solution for switching it off easily from the menu. Imho @AzulValium solved the problem like I did with one line and without wasting time.

            – Alex Cio
            Jun 12 '15 at 13:22











          • @CameronLowellPalmer That is actually a proper solution for a temporary issue caused by ios simulators.

            – Rockyfish
            Mar 10 '17 at 17:35











          • @Rockyfish I'd have to check, but at the time of the comment, 2015, it did nothing for the Simulator

            – Cameron Lowell Palmer
            Mar 10 '17 at 17:36














          4












          4








          4







          You can use something like...



          #if DEBUG

          [ myAudioController setVolume: .1 ];

          #endif


          This way during testing, the app will have a lower volume.






          share|improve this answer















          You can use something like...



          #if DEBUG

          [ myAudioController setVolume: .1 ];

          #endif


          This way during testing, the app will have a lower volume.







          share|improve this answer














          share|improve this answer



          share|improve this answer








          edited Nov 21 '16 at 22:10









          raidfive

          6,11012931




          6,11012931










          answered Sep 2 '11 at 18:14









          AzulValiumAzulValium

          653




          653













          • This doesn't answer the question. The question is about the simulator

            – Cameron Lowell Palmer
            Jan 11 '15 at 8:34






          • 3





            You might be correct this doesn't answer your question correctly. Problem is just, the whole post everybody is talking about any complicated problems while there's no solution for switching it off easily from the menu. Imho @AzulValium solved the problem like I did with one line and without wasting time.

            – Alex Cio
            Jun 12 '15 at 13:22











          • @CameronLowellPalmer That is actually a proper solution for a temporary issue caused by ios simulators.

            – Rockyfish
            Mar 10 '17 at 17:35











          • @Rockyfish I'd have to check, but at the time of the comment, 2015, it did nothing for the Simulator

            – Cameron Lowell Palmer
            Mar 10 '17 at 17:36



















          • This doesn't answer the question. The question is about the simulator

            – Cameron Lowell Palmer
            Jan 11 '15 at 8:34






          • 3





            You might be correct this doesn't answer your question correctly. Problem is just, the whole post everybody is talking about any complicated problems while there's no solution for switching it off easily from the menu. Imho @AzulValium solved the problem like I did with one line and without wasting time.

            – Alex Cio
            Jun 12 '15 at 13:22











          • @CameronLowellPalmer That is actually a proper solution for a temporary issue caused by ios simulators.

            – Rockyfish
            Mar 10 '17 at 17:35











          • @Rockyfish I'd have to check, but at the time of the comment, 2015, it did nothing for the Simulator

            – Cameron Lowell Palmer
            Mar 10 '17 at 17:36

















          This doesn't answer the question. The question is about the simulator

          – Cameron Lowell Palmer
          Jan 11 '15 at 8:34





          This doesn't answer the question. The question is about the simulator

          – Cameron Lowell Palmer
          Jan 11 '15 at 8:34




          3




          3





          You might be correct this doesn't answer your question correctly. Problem is just, the whole post everybody is talking about any complicated problems while there's no solution for switching it off easily from the menu. Imho @AzulValium solved the problem like I did with one line and without wasting time.

          – Alex Cio
          Jun 12 '15 at 13:22





          You might be correct this doesn't answer your question correctly. Problem is just, the whole post everybody is talking about any complicated problems while there's no solution for switching it off easily from the menu. Imho @AzulValium solved the problem like I did with one line and without wasting time.

          – Alex Cio
          Jun 12 '15 at 13:22













          @CameronLowellPalmer That is actually a proper solution for a temporary issue caused by ios simulators.

          – Rockyfish
          Mar 10 '17 at 17:35





          @CameronLowellPalmer That is actually a proper solution for a temporary issue caused by ios simulators.

          – Rockyfish
          Mar 10 '17 at 17:35













          @Rockyfish I'd have to check, but at the time of the comment, 2015, it did nothing for the Simulator

          – Cameron Lowell Palmer
          Mar 10 '17 at 17:36





          @Rockyfish I'd have to check, but at the time of the comment, 2015, it did nothing for the Simulator

          – Cameron Lowell Palmer
          Mar 10 '17 at 17:36











          1














          referred from : iOS Simulator Sound




          Both the input and output device much match in system sound settings. Often u have them set to different devices. If they don't match, the simulator seems to default to the last connected audio device selected among the input and output devices.




          I hope it helps out in any way.






          share|improve this answer


























          • This is mostly a copy&pasted answer - stackoverflow.com/a/5056682/91282 it does even contain the same typoes.

            – Till
            Mar 13 '13 at 0:26













          • @Till I think Suhaiyl meant his link to it to be an attribution of the answer. I've clarified that a bit in an edit for him. Thanks for bringing it up, though; as we do take plagiarism seriously!

            – Andrew Barber
            Mar 13 '13 at 3:14











          • @AndrewBarber great idea to modify the formatting - should have done that myself. Thanks!

            – Till
            Mar 13 '13 at 3:40











          • @AndrewBarber Thankx.Had thought of bring it up here.

            – Suhaiyl
            Mar 13 '13 at 7:37
















          1














          referred from : iOS Simulator Sound




          Both the input and output device much match in system sound settings. Often u have them set to different devices. If they don't match, the simulator seems to default to the last connected audio device selected among the input and output devices.




          I hope it helps out in any way.






          share|improve this answer


























          • This is mostly a copy&pasted answer - stackoverflow.com/a/5056682/91282 it does even contain the same typoes.

            – Till
            Mar 13 '13 at 0:26













          • @Till I think Suhaiyl meant his link to it to be an attribution of the answer. I've clarified that a bit in an edit for him. Thanks for bringing it up, though; as we do take plagiarism seriously!

            – Andrew Barber
            Mar 13 '13 at 3:14











          • @AndrewBarber great idea to modify the formatting - should have done that myself. Thanks!

            – Till
            Mar 13 '13 at 3:40











          • @AndrewBarber Thankx.Had thought of bring it up here.

            – Suhaiyl
            Mar 13 '13 at 7:37














          1












          1








          1







          referred from : iOS Simulator Sound




          Both the input and output device much match in system sound settings. Often u have them set to different devices. If they don't match, the simulator seems to default to the last connected audio device selected among the input and output devices.




          I hope it helps out in any way.






          share|improve this answer















          referred from : iOS Simulator Sound




          Both the input and output device much match in system sound settings. Often u have them set to different devices. If they don't match, the simulator seems to default to the last connected audio device selected among the input and output devices.




          I hope it helps out in any way.







          share|improve this answer














          share|improve this answer



          share|improve this answer








          edited May 23 '17 at 12:26









          Community

          11




          11










          answered Mar 12 '13 at 12:35









          SuhaiylSuhaiyl

          927817




          927817













          • This is mostly a copy&pasted answer - stackoverflow.com/a/5056682/91282 it does even contain the same typoes.

            – Till
            Mar 13 '13 at 0:26













          • @Till I think Suhaiyl meant his link to it to be an attribution of the answer. I've clarified that a bit in an edit for him. Thanks for bringing it up, though; as we do take plagiarism seriously!

            – Andrew Barber
            Mar 13 '13 at 3:14











          • @AndrewBarber great idea to modify the formatting - should have done that myself. Thanks!

            – Till
            Mar 13 '13 at 3:40











          • @AndrewBarber Thankx.Had thought of bring it up here.

            – Suhaiyl
            Mar 13 '13 at 7:37



















          • This is mostly a copy&pasted answer - stackoverflow.com/a/5056682/91282 it does even contain the same typoes.

            – Till
            Mar 13 '13 at 0:26













          • @Till I think Suhaiyl meant his link to it to be an attribution of the answer. I've clarified that a bit in an edit for him. Thanks for bringing it up, though; as we do take plagiarism seriously!

            – Andrew Barber
            Mar 13 '13 at 3:14











          • @AndrewBarber great idea to modify the formatting - should have done that myself. Thanks!

            – Till
            Mar 13 '13 at 3:40











          • @AndrewBarber Thankx.Had thought of bring it up here.

            – Suhaiyl
            Mar 13 '13 at 7:37

















          This is mostly a copy&pasted answer - stackoverflow.com/a/5056682/91282 it does even contain the same typoes.

          – Till
          Mar 13 '13 at 0:26







          This is mostly a copy&pasted answer - stackoverflow.com/a/5056682/91282 it does even contain the same typoes.

          – Till
          Mar 13 '13 at 0:26















          @Till I think Suhaiyl meant his link to it to be an attribution of the answer. I've clarified that a bit in an edit for him. Thanks for bringing it up, though; as we do take plagiarism seriously!

          – Andrew Barber
          Mar 13 '13 at 3:14





          @Till I think Suhaiyl meant his link to it to be an attribution of the answer. I've clarified that a bit in an edit for him. Thanks for bringing it up, though; as we do take plagiarism seriously!

          – Andrew Barber
          Mar 13 '13 at 3:14













          @AndrewBarber great idea to modify the formatting - should have done that myself. Thanks!

          – Till
          Mar 13 '13 at 3:40





          @AndrewBarber great idea to modify the formatting - should have done that myself. Thanks!

          – Till
          Mar 13 '13 at 3:40













          @AndrewBarber Thankx.Had thought of bring it up here.

          – Suhaiyl
          Mar 13 '13 at 7:37





          @AndrewBarber Thankx.Had thought of bring it up here.

          – Suhaiyl
          Mar 13 '13 at 7:37











          0














          [[MPMusicPlayerController applicationMusicPlayer] setVolume:0.0]; 


          This works for device, just give a try for simulator.
          How do you set the hardware volume in an iPhone app?



          You can even try the reverse of this thread to see. Sound not working in iPhone Simulator?






          share|improve this answer





















          • 2





            MPMusicPlayerController setVolume does not work on the simulator.

            – Till
            Mar 10 '13 at 14:58











          • Till Ya observed @AzulValium's answer. :(

            – Pushpak Narasimhan
            Mar 10 '13 at 15:24
















          0














          [[MPMusicPlayerController applicationMusicPlayer] setVolume:0.0]; 


          This works for device, just give a try for simulator.
          How do you set the hardware volume in an iPhone app?



          You can even try the reverse of this thread to see. Sound not working in iPhone Simulator?






          share|improve this answer





















          • 2





            MPMusicPlayerController setVolume does not work on the simulator.

            – Till
            Mar 10 '13 at 14:58











          • Till Ya observed @AzulValium's answer. :(

            – Pushpak Narasimhan
            Mar 10 '13 at 15:24














          0












          0








          0







          [[MPMusicPlayerController applicationMusicPlayer] setVolume:0.0]; 


          This works for device, just give a try for simulator.
          How do you set the hardware volume in an iPhone app?



          You can even try the reverse of this thread to see. Sound not working in iPhone Simulator?






          share|improve this answer















          [[MPMusicPlayerController applicationMusicPlayer] setVolume:0.0]; 


          This works for device, just give a try for simulator.
          How do you set the hardware volume in an iPhone app?



          You can even try the reverse of this thread to see. Sound not working in iPhone Simulator?







          share|improve this answer














          share|improve this answer



          share|improve this answer








          edited May 23 '17 at 12:10









          Community

          11




          11










          answered Mar 10 '13 at 14:10









          Pushpak NarasimhanPushpak Narasimhan

          397417




          397417








          • 2





            MPMusicPlayerController setVolume does not work on the simulator.

            – Till
            Mar 10 '13 at 14:58











          • Till Ya observed @AzulValium's answer. :(

            – Pushpak Narasimhan
            Mar 10 '13 at 15:24














          • 2





            MPMusicPlayerController setVolume does not work on the simulator.

            – Till
            Mar 10 '13 at 14:58











          • Till Ya observed @AzulValium's answer. :(

            – Pushpak Narasimhan
            Mar 10 '13 at 15:24








          2




          2





          MPMusicPlayerController setVolume does not work on the simulator.

          – Till
          Mar 10 '13 at 14:58





          MPMusicPlayerController setVolume does not work on the simulator.

          – Till
          Mar 10 '13 at 14:58













          Till Ya observed @AzulValium's answer. :(

          – Pushpak Narasimhan
          Mar 10 '13 at 15:24





          Till Ya observed @AzulValium's answer. :(

          – Pushpak Narasimhan
          Mar 10 '13 at 15:24











          0














          1) Download the Loopback app



          2) In Loopback, create a new virtual audio device (click New virtual device). Rename it if you want (I named it Blackhole).



          3) In Simulator, click Hardware > Audio output and choose the name of the virtual audio device that you just created.



          Loopback



          iOS Simulator






          share|improve this answer




























            0














            1) Download the Loopback app



            2) In Loopback, create a new virtual audio device (click New virtual device). Rename it if you want (I named it Blackhole).



            3) In Simulator, click Hardware > Audio output and choose the name of the virtual audio device that you just created.



            Loopback



            iOS Simulator






            share|improve this answer


























              0












              0








              0







              1) Download the Loopback app



              2) In Loopback, create a new virtual audio device (click New virtual device). Rename it if you want (I named it Blackhole).



              3) In Simulator, click Hardware > Audio output and choose the name of the virtual audio device that you just created.



              Loopback



              iOS Simulator






              share|improve this answer













              1) Download the Loopback app



              2) In Loopback, create a new virtual audio device (click New virtual device). Rename it if you want (I named it Blackhole).



              3) In Simulator, click Hardware > Audio output and choose the name of the virtual audio device that you just created.



              Loopback



              iOS Simulator







              share|improve this answer












              share|improve this answer



              share|improve this answer










              answered Jun 17 '18 at 2:36









              MiscreantMiscreant

              2,57121618




              2,57121618























                  0














                  In my case i just set audio output to somewhere which is muted. Like my external screen :)






                  share|improve this answer




























                    0














                    In my case i just set audio output to somewhere which is muted. Like my external screen :)






                    share|improve this answer


























                      0












                      0








                      0







                      In my case i just set audio output to somewhere which is muted. Like my external screen :)






                      share|improve this answer













                      In my case i just set audio output to somewhere which is muted. Like my external screen :)







                      share|improve this answer












                      share|improve this answer



                      share|improve this answer










                      answered Dec 4 '18 at 12:25









                      ergunkocakergunkocak

                      1,90311724




                      1,90311724























                          0














                          Solution for tvOS simulator:



                          Go to menu -> General -> Video and Audio -> turn 'Navigation Clicks' and 'Sound Effects and Music' off



                          enter image description here






                          share|improve this answer




























                            0














                            Solution for tvOS simulator:



                            Go to menu -> General -> Video and Audio -> turn 'Navigation Clicks' and 'Sound Effects and Music' off



                            enter image description here






                            share|improve this answer


























                              0












                              0








                              0







                              Solution for tvOS simulator:



                              Go to menu -> General -> Video and Audio -> turn 'Navigation Clicks' and 'Sound Effects and Music' off



                              enter image description here






                              share|improve this answer













                              Solution for tvOS simulator:



                              Go to menu -> General -> Video and Audio -> turn 'Navigation Clicks' and 'Sound Effects and Music' off



                              enter image description here







                              share|improve this answer












                              share|improve this answer



                              share|improve this answer










                              answered Jan 2 at 11:14









                              Nazariy VlizloNazariy Vlizlo

                              571414




                              571414























                                  0














                                  I ran into this -- my (working) music audio was being routed through the iOS simulator before reaching my headphones, making the music tinny and low-quality. This made developing in the sim really annoying. Fortunately there's an easy fix:




                                  • In the simulator, route the incoming sound from your Mac's microphone

                                  • Still in the simulator, route the outgoing audio through your Mac's speakers, or any other audio channel you aren't using


                                  Changing the incoming audio route:





                                  Changing the outgoing audio route:








                                  share|improve this answer






























                                    0














                                    I ran into this -- my (working) music audio was being routed through the iOS simulator before reaching my headphones, making the music tinny and low-quality. This made developing in the sim really annoying. Fortunately there's an easy fix:




                                    • In the simulator, route the incoming sound from your Mac's microphone

                                    • Still in the simulator, route the outgoing audio through your Mac's speakers, or any other audio channel you aren't using


                                    Changing the incoming audio route:





                                    Changing the outgoing audio route:








                                    share|improve this answer




























                                      0












                                      0








                                      0







                                      I ran into this -- my (working) music audio was being routed through the iOS simulator before reaching my headphones, making the music tinny and low-quality. This made developing in the sim really annoying. Fortunately there's an easy fix:




                                      • In the simulator, route the incoming sound from your Mac's microphone

                                      • Still in the simulator, route the outgoing audio through your Mac's speakers, or any other audio channel you aren't using


                                      Changing the incoming audio route:





                                      Changing the outgoing audio route:








                                      share|improve this answer















                                      I ran into this -- my (working) music audio was being routed through the iOS simulator before reaching my headphones, making the music tinny and low-quality. This made developing in the sim really annoying. Fortunately there's an easy fix:




                                      • In the simulator, route the incoming sound from your Mac's microphone

                                      • Still in the simulator, route the outgoing audio through your Mac's speakers, or any other audio channel you aren't using


                                      Changing the incoming audio route:





                                      Changing the outgoing audio route:









                                      share|improve this answer














                                      share|improve this answer



                                      share|improve this answer








                                      edited Feb 8 at 19:31









                                      Brian Tompsett - 汤莱恩

                                      4,2421339102




                                      4,2421339102










                                      answered Feb 8 at 19:08









                                      Dominic HolmesDominic Holmes

                                      113




                                      113























                                          -1














                                          Simple solution.




                                          • Make sure you have 2 outputs in your mac. For example, built in
                                            speakers and headphones.


                                          • Close the iOS Simulator.


                                          • Change the output source to the one you are not using (alt-click over
                                            the speaker in the top bar).


                                          • Run again the iOS simulator. It will take its default output source

                                            to the one in the system.


                                          • Change the output source to the one you are using and enjoy. The iOS
                                            simulator doesn't update it's output source when the system changes it.







                                          share|improve this answer



















                                          • 1





                                            Doesn't work in Xcode 7

                                            – ABeanSits
                                            Aug 12 '16 at 21:18
















                                          -1














                                          Simple solution.




                                          • Make sure you have 2 outputs in your mac. For example, built in
                                            speakers and headphones.


                                          • Close the iOS Simulator.


                                          • Change the output source to the one you are not using (alt-click over
                                            the speaker in the top bar).


                                          • Run again the iOS simulator. It will take its default output source

                                            to the one in the system.


                                          • Change the output source to the one you are using and enjoy. The iOS
                                            simulator doesn't update it's output source when the system changes it.







                                          share|improve this answer



















                                          • 1





                                            Doesn't work in Xcode 7

                                            – ABeanSits
                                            Aug 12 '16 at 21:18














                                          -1












                                          -1








                                          -1







                                          Simple solution.




                                          • Make sure you have 2 outputs in your mac. For example, built in
                                            speakers and headphones.


                                          • Close the iOS Simulator.


                                          • Change the output source to the one you are not using (alt-click over
                                            the speaker in the top bar).


                                          • Run again the iOS simulator. It will take its default output source

                                            to the one in the system.


                                          • Change the output source to the one you are using and enjoy. The iOS
                                            simulator doesn't update it's output source when the system changes it.







                                          share|improve this answer













                                          Simple solution.




                                          • Make sure you have 2 outputs in your mac. For example, built in
                                            speakers and headphones.


                                          • Close the iOS Simulator.


                                          • Change the output source to the one you are not using (alt-click over
                                            the speaker in the top bar).


                                          • Run again the iOS simulator. It will take its default output source

                                            to the one in the system.


                                          • Change the output source to the one you are using and enjoy. The iOS
                                            simulator doesn't update it's output source when the system changes it.








                                          share|improve this answer












                                          share|improve this answer



                                          share|improve this answer










                                          answered Aug 4 '15 at 19:47









                                          Cristian PenaCristian Pena

                                          1,2941127




                                          1,2941127








                                          • 1





                                            Doesn't work in Xcode 7

                                            – ABeanSits
                                            Aug 12 '16 at 21:18














                                          • 1





                                            Doesn't work in Xcode 7

                                            – ABeanSits
                                            Aug 12 '16 at 21:18








                                          1




                                          1





                                          Doesn't work in Xcode 7

                                          – ABeanSits
                                          Aug 12 '16 at 21:18





                                          Doesn't work in Xcode 7

                                          – ABeanSits
                                          Aug 12 '16 at 21:18


















                                          draft saved

                                          draft discarded




















































                                          Thanks for contributing an answer to Stack Overflow!


                                          • Please be sure to answer the question. Provide details and share your research!

                                          But avoid



                                          • Asking for help, clarification, or responding to other answers.

                                          • Making statements based on opinion; back them up with references or personal experience.


                                          To learn more, see our tips on writing great answers.




                                          draft saved


                                          draft discarded














                                          StackExchange.ready(
                                          function () {
                                          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f3195739%2fturn-off-sound-in-iphone-simulator%23new-answer', 'question_page');
                                          }
                                          );

                                          Post as a guest















                                          Required, but never shown





















































                                          Required, but never shown














                                          Required, but never shown












                                          Required, but never shown







                                          Required, but never shown

































                                          Required, but never shown














                                          Required, but never shown












                                          Required, but never shown







                                          Required, but never shown







                                          Popular posts from this blog

                                          MongoDB - Not Authorized To Execute Command

                                          How to fix TextFormField cause rebuild widget in Flutter

                                          in spring boot 2.1 many test slices are not allowed anymore due to multiple @BootstrapWith