Repeated request for microphone permission on iPhone Simulator
I'm working with Xcode 10.1 (10B61) on an app that needs permission to use the microphone.
(Almost) Every time I start the app from Xcode (in simulator) I get a system popup:
"Appname" would like to access the microphone
"Privacy - Microphone Usage Description"">
It doesn't matter if I select "Don't Allow" or "OK". This message keeps popping up.
How can I fix it?
xcode ios-simulator
add a comment |
I'm working with Xcode 10.1 (10B61) on an app that needs permission to use the microphone.
(Almost) Every time I start the app from Xcode (in simulator) I get a system popup:
"Appname" would like to access the microphone
"Privacy - Microphone Usage Description"">
It doesn't matter if I select "Don't Allow" or "OK". This message keeps popping up.
How can I fix it?
xcode ios-simulator
I'm having the same problem after updating to Xcode 10.1 (10B61). It's driving me batty.
– cmilr
Nov 23 '18 at 5:08
More specifically, the Simulator doesn't remember that you once granted access to these resources (not just the Microphone, but Photos, network, etc.) This is tedious.
– jhhl
Nov 29 '18 at 17:59
What is more concerning is if AdMob listening to the Microphone on the real device. Are they selling the captured audio to advertisement companies?
– Houman
Dec 28 '18 at 8:53
add a comment |
I'm working with Xcode 10.1 (10B61) on an app that needs permission to use the microphone.
(Almost) Every time I start the app from Xcode (in simulator) I get a system popup:
"Appname" would like to access the microphone
"Privacy - Microphone Usage Description"">
It doesn't matter if I select "Don't Allow" or "OK". This message keeps popping up.
How can I fix it?
xcode ios-simulator
I'm working with Xcode 10.1 (10B61) on an app that needs permission to use the microphone.
(Almost) Every time I start the app from Xcode (in simulator) I get a system popup:
"Appname" would like to access the microphone
"Privacy - Microphone Usage Description"">
It doesn't matter if I select "Don't Allow" or "OK". This message keeps popping up.
How can I fix it?
xcode ios-simulator
xcode ios-simulator
asked Nov 22 '18 at 14:08
benrudhartbenrudhart
4181416
4181416
I'm having the same problem after updating to Xcode 10.1 (10B61). It's driving me batty.
– cmilr
Nov 23 '18 at 5:08
More specifically, the Simulator doesn't remember that you once granted access to these resources (not just the Microphone, but Photos, network, etc.) This is tedious.
– jhhl
Nov 29 '18 at 17:59
What is more concerning is if AdMob listening to the Microphone on the real device. Are they selling the captured audio to advertisement companies?
– Houman
Dec 28 '18 at 8:53
add a comment |
I'm having the same problem after updating to Xcode 10.1 (10B61). It's driving me batty.
– cmilr
Nov 23 '18 at 5:08
More specifically, the Simulator doesn't remember that you once granted access to these resources (not just the Microphone, but Photos, network, etc.) This is tedious.
– jhhl
Nov 29 '18 at 17:59
What is more concerning is if AdMob listening to the Microphone on the real device. Are they selling the captured audio to advertisement companies?
– Houman
Dec 28 '18 at 8:53
I'm having the same problem after updating to Xcode 10.1 (10B61). It's driving me batty.
– cmilr
Nov 23 '18 at 5:08
I'm having the same problem after updating to Xcode 10.1 (10B61). It's driving me batty.
– cmilr
Nov 23 '18 at 5:08
More specifically, the Simulator doesn't remember that you once granted access to these resources (not just the Microphone, but Photos, network, etc.) This is tedious.
– jhhl
Nov 29 '18 at 17:59
More specifically, the Simulator doesn't remember that you once granted access to these resources (not just the Microphone, but Photos, network, etc.) This is tedious.
– jhhl
Nov 29 '18 at 17:59
What is more concerning is if AdMob listening to the Microphone on the real device. Are they selling the captured audio to advertisement companies?
– Houman
Dec 28 '18 at 8:53
What is more concerning is if AdMob listening to the Microphone on the real device. Are they selling the captured audio to advertisement companies?
– Houman
Dec 28 '18 at 8:53
add a comment |
4 Answers
4
active
oldest
votes
After looking for a workaround this one seems to fix it for me:
In Simulator go to Settings > Your App > Disable the Microphone Access
Update:
Not solving this issue but might be helpful:
You can dismiss the popup via Esc key - that should be way faster than clicking a button
That isn’t in the Settings app for me (I am using iPad 2, since I still support iOS 9).
– David Dunham
Dec 18 '18 at 17:52
@DavidDunham I also had that issue once. Did you try deleting the app and or if that doesn't help reseting the simulator?
– benrudhart
Dec 19 '18 at 9:14
add a comment |
You can get rid of this following this steps:
- Go to "Security & Privacy" Settings on macOS.
- Select "Microphone" on the left panel.
- Uncheck the Xcode option on the right panel.
This didn't work for me. I have Xcode unchecked and still get the popup. Even restarted everything for good measure and verified the option is still unchecked.
– ToddH
Jan 10 at 19:33
add a comment |
Another work around is to check if the app is running in the simulator and disable the audio code:
struct Platform {
static var isSimulator: Bool {
return TARGET_OS_SIMULATOR != 0
}
}
add a comment |
Edit:
Unfortunately it looks like the following procedure is just a temporary fix. After some time the dialog started appearing again. Repeating the procedure fixes it for an additional period of time.
I had the same problem and what helped in my case was disabling and then re-enabling microphone permissions in the the Simulator.
Steps to fix:
- go to Settings app in the Simulator
- find your app settings page within the Settings app
- disable microphone permission (or any other permission that is causing trouble)
- re-enable microphone permissions
After this procedure, the microphone permissions dialog stopped appearing every time I would run the app.
Note that I did run the app with the permissions disabled and navigated to the point where permissions are required before re-enabling them (but I don't think that's required).
Hope this helps, it did in my case.
add a comment |
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
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53432769%2frepeated-request-for-microphone-permission-on-iphone-simulator%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
4 Answers
4
active
oldest
votes
4 Answers
4
active
oldest
votes
active
oldest
votes
active
oldest
votes
After looking for a workaround this one seems to fix it for me:
In Simulator go to Settings > Your App > Disable the Microphone Access
Update:
Not solving this issue but might be helpful:
You can dismiss the popup via Esc key - that should be way faster than clicking a button
That isn’t in the Settings app for me (I am using iPad 2, since I still support iOS 9).
– David Dunham
Dec 18 '18 at 17:52
@DavidDunham I also had that issue once. Did you try deleting the app and or if that doesn't help reseting the simulator?
– benrudhart
Dec 19 '18 at 9:14
add a comment |
After looking for a workaround this one seems to fix it for me:
In Simulator go to Settings > Your App > Disable the Microphone Access
Update:
Not solving this issue but might be helpful:
You can dismiss the popup via Esc key - that should be way faster than clicking a button
That isn’t in the Settings app for me (I am using iPad 2, since I still support iOS 9).
– David Dunham
Dec 18 '18 at 17:52
@DavidDunham I also had that issue once. Did you try deleting the app and or if that doesn't help reseting the simulator?
– benrudhart
Dec 19 '18 at 9:14
add a comment |
After looking for a workaround this one seems to fix it for me:
In Simulator go to Settings > Your App > Disable the Microphone Access
Update:
Not solving this issue but might be helpful:
You can dismiss the popup via Esc key - that should be way faster than clicking a button
After looking for a workaround this one seems to fix it for me:
In Simulator go to Settings > Your App > Disable the Microphone Access
Update:
Not solving this issue but might be helpful:
You can dismiss the popup via Esc key - that should be way faster than clicking a button
edited Dec 18 '18 at 8:54
answered Nov 26 '18 at 14:54
benrudhartbenrudhart
4181416
4181416
That isn’t in the Settings app for me (I am using iPad 2, since I still support iOS 9).
– David Dunham
Dec 18 '18 at 17:52
@DavidDunham I also had that issue once. Did you try deleting the app and or if that doesn't help reseting the simulator?
– benrudhart
Dec 19 '18 at 9:14
add a comment |
That isn’t in the Settings app for me (I am using iPad 2, since I still support iOS 9).
– David Dunham
Dec 18 '18 at 17:52
@DavidDunham I also had that issue once. Did you try deleting the app and or if that doesn't help reseting the simulator?
– benrudhart
Dec 19 '18 at 9:14
That isn’t in the Settings app for me (I am using iPad 2, since I still support iOS 9).
– David Dunham
Dec 18 '18 at 17:52
That isn’t in the Settings app for me (I am using iPad 2, since I still support iOS 9).
– David Dunham
Dec 18 '18 at 17:52
@DavidDunham I also had that issue once. Did you try deleting the app and or if that doesn't help reseting the simulator?
– benrudhart
Dec 19 '18 at 9:14
@DavidDunham I also had that issue once. Did you try deleting the app and or if that doesn't help reseting the simulator?
– benrudhart
Dec 19 '18 at 9:14
add a comment |
You can get rid of this following this steps:
- Go to "Security & Privacy" Settings on macOS.
- Select "Microphone" on the left panel.
- Uncheck the Xcode option on the right panel.
This didn't work for me. I have Xcode unchecked and still get the popup. Even restarted everything for good measure and verified the option is still unchecked.
– ToddH
Jan 10 at 19:33
add a comment |
You can get rid of this following this steps:
- Go to "Security & Privacy" Settings on macOS.
- Select "Microphone" on the left panel.
- Uncheck the Xcode option on the right panel.
This didn't work for me. I have Xcode unchecked and still get the popup. Even restarted everything for good measure and verified the option is still unchecked.
– ToddH
Jan 10 at 19:33
add a comment |
You can get rid of this following this steps:
- Go to "Security & Privacy" Settings on macOS.
- Select "Microphone" on the left panel.
- Uncheck the Xcode option on the right panel.
You can get rid of this following this steps:
- Go to "Security & Privacy" Settings on macOS.
- Select "Microphone" on the left panel.
- Uncheck the Xcode option on the right panel.
answered Jan 3 at 9:24
jherranjherran
2,43562542
2,43562542
This didn't work for me. I have Xcode unchecked and still get the popup. Even restarted everything for good measure and verified the option is still unchecked.
– ToddH
Jan 10 at 19:33
add a comment |
This didn't work for me. I have Xcode unchecked and still get the popup. Even restarted everything for good measure and verified the option is still unchecked.
– ToddH
Jan 10 at 19:33
This didn't work for me. I have Xcode unchecked and still get the popup. Even restarted everything for good measure and verified the option is still unchecked.
– ToddH
Jan 10 at 19:33
This didn't work for me. I have Xcode unchecked and still get the popup. Even restarted everything for good measure and verified the option is still unchecked.
– ToddH
Jan 10 at 19:33
add a comment |
Another work around is to check if the app is running in the simulator and disable the audio code:
struct Platform {
static var isSimulator: Bool {
return TARGET_OS_SIMULATOR != 0
}
}
add a comment |
Another work around is to check if the app is running in the simulator and disable the audio code:
struct Platform {
static var isSimulator: Bool {
return TARGET_OS_SIMULATOR != 0
}
}
add a comment |
Another work around is to check if the app is running in the simulator and disable the audio code:
struct Platform {
static var isSimulator: Bool {
return TARGET_OS_SIMULATOR != 0
}
}
Another work around is to check if the app is running in the simulator and disable the audio code:
struct Platform {
static var isSimulator: Bool {
return TARGET_OS_SIMULATOR != 0
}
}
answered Nov 30 '18 at 23:23
richyrichy
1,83212135
1,83212135
add a comment |
add a comment |
Edit:
Unfortunately it looks like the following procedure is just a temporary fix. After some time the dialog started appearing again. Repeating the procedure fixes it for an additional period of time.
I had the same problem and what helped in my case was disabling and then re-enabling microphone permissions in the the Simulator.
Steps to fix:
- go to Settings app in the Simulator
- find your app settings page within the Settings app
- disable microphone permission (or any other permission that is causing trouble)
- re-enable microphone permissions
After this procedure, the microphone permissions dialog stopped appearing every time I would run the app.
Note that I did run the app with the permissions disabled and navigated to the point where permissions are required before re-enabling them (but I don't think that's required).
Hope this helps, it did in my case.
add a comment |
Edit:
Unfortunately it looks like the following procedure is just a temporary fix. After some time the dialog started appearing again. Repeating the procedure fixes it for an additional period of time.
I had the same problem and what helped in my case was disabling and then re-enabling microphone permissions in the the Simulator.
Steps to fix:
- go to Settings app in the Simulator
- find your app settings page within the Settings app
- disable microphone permission (or any other permission that is causing trouble)
- re-enable microphone permissions
After this procedure, the microphone permissions dialog stopped appearing every time I would run the app.
Note that I did run the app with the permissions disabled and navigated to the point where permissions are required before re-enabling them (but I don't think that's required).
Hope this helps, it did in my case.
add a comment |
Edit:
Unfortunately it looks like the following procedure is just a temporary fix. After some time the dialog started appearing again. Repeating the procedure fixes it for an additional period of time.
I had the same problem and what helped in my case was disabling and then re-enabling microphone permissions in the the Simulator.
Steps to fix:
- go to Settings app in the Simulator
- find your app settings page within the Settings app
- disable microphone permission (or any other permission that is causing trouble)
- re-enable microphone permissions
After this procedure, the microphone permissions dialog stopped appearing every time I would run the app.
Note that I did run the app with the permissions disabled and navigated to the point where permissions are required before re-enabling them (but I don't think that's required).
Hope this helps, it did in my case.
Edit:
Unfortunately it looks like the following procedure is just a temporary fix. After some time the dialog started appearing again. Repeating the procedure fixes it for an additional period of time.
I had the same problem and what helped in my case was disabling and then re-enabling microphone permissions in the the Simulator.
Steps to fix:
- go to Settings app in the Simulator
- find your app settings page within the Settings app
- disable microphone permission (or any other permission that is causing trouble)
- re-enable microphone permissions
After this procedure, the microphone permissions dialog stopped appearing every time I would run the app.
Note that I did run the app with the permissions disabled and navigated to the point where permissions are required before re-enabling them (but I don't think that's required).
Hope this helps, it did in my case.
edited Dec 12 '18 at 14:18
answered Dec 12 '18 at 13:27
Crt GregoricCrt Gregoric
585
585
add a comment |
add a comment |
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.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53432769%2frepeated-request-for-microphone-permission-on-iphone-simulator%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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
I'm having the same problem after updating to Xcode 10.1 (10B61). It's driving me batty.
– cmilr
Nov 23 '18 at 5:08
More specifically, the Simulator doesn't remember that you once granted access to these resources (not just the Microphone, but Photos, network, etc.) This is tedious.
– jhhl
Nov 29 '18 at 17:59
What is more concerning is if AdMob listening to the Microphone on the real device. Are they selling the captured audio to advertisement companies?
– Houman
Dec 28 '18 at 8:53