xcode “SimulatorTrampoline.xpc”想要访问麦克风

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/55549319/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-08 18:35:45  来源:igfitidea点击:

“SimulatorTrampoline.xpc” would like to access the microphone

xcodemicrophoneswift5

提问by drew..

I recently upgraded to Swift 5, Xcode version 10.2 (10E125), and after fixing a few compile issues on an app in progress, see this new and never-seen-before request. I can find no evidence of it in my project via direct searching, and no search returns on the net. No return from the pods within the project either.

我最近升级到 Swift 5,Xcode 版本 10.2 (10E125),在修复了一个正在进行的应用程序的一些编译问题后,看到这个新的和前所未见的请求。通过直接搜索,我在我的项目中找不到任何证据,也没有在网上搜索返回。项目内的 pod 也没有返回。

This concerns me and wondered if anyone has any info on it.

这让我很担心,想知道是否有人有任何关于它的信息。

回答by Tim

This is part of Apple's fix for radar 45715977, where Simulator devices would prompt repeatedly to access the microphone (as often as every time your app was run). You can find a brief reference to the fix in the Xcode 10.2 release notes.

这是 Apple 修复雷达 45715977 的一部分,其中模拟器设备会反复提示访问麦克风(与每次运行应用程序时一样频繁)。您可以在Xcode 10.2 发行说明 中找到对该修复的简要参考。

There are no references in your project because the prompt comes from part of Xcode itself; it's there so that your apps can use audio services in the Simulator, rather than having to be run on a device. I wouldn't worry about it.

您的项目中没有引用,因为提示来自 Xcode 本身的一部分;它在那里,以便您的应用程序可以在模拟器中使用音频服务,而不必在设备上运行。我不会担心的。