ios systemgroup.com.apple.configurationprofiles 路径的系统组容器
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/39588500/
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
System group container for systemgroup.com.apple.configurationprofiles path
提问by Vaisakh
When i run my application in ios 10 using xcode 8 i am getting below message in debug console but everything is working fine. My application is using camera and photo library, and i had added " Privacy - Camera Usage Description" and "Privacy - Photo Library Usage Description"in info.plist. Can any one tell me why this message in comming
当我使用 xcode 8 在 ios 10 中运行我的应用程序时,我在调试控制台中收到以下消息,但一切正常。我的应用程序正在使用相机和照片库,并且我在 info.plist 中添加了“隐私 - 相机使用说明”和“隐私 - 照片库使用说明”。谁能告诉我为什么会出现这条消息
[MC] System group container for systemgroup.com.apple.configurationprofiles path is /private/var/containers/Shared/SystemGroup/systemgroup.com.apple.configurationprofiles
[MC] systemgroup.com.apple.configurationprofiles 路径的系统组容器是 /private/var/containers/Shared/SystemGroup/systemgroup.com.apple.configurationprofiles
回答by Bruno Philipe
If everything is working fine, then you should disregard these log messages. iOS has been printing a lot of irrelevant debug messages lately and I'm betting this is just another one of them.
如果一切正常,那么您应该忽略这些日志消息。iOS 最近打印了很多不相关的调试消息,我敢打赌这只是其中的另一个。
You can also try this answerfrom another question that seems to remove most irrelevant logs.
您还可以从另一个似乎删除大多数不相关日志的问题中尝试此答案。
回答by DGoogly
From iOS 10.x we need to add the Privacy Permissions for Photo library, Camera and Contacts. As you said, once you add the Keys like
从 iOS 10.x 开始,我们需要为照片库、相机和联系人添加隐私权限。正如你所说,一旦你添加了像这样的键
"Privacy - Photo Library Usage Description"
“隐私 - 照片库使用说明”
then you will be able to use those internal apps inside your app.
然后您将能够在您的应用程序中使用这些内部应用程序。
In my case app was crashing when I use Camera and Photo lib inside my app without these entries in Info.plist.
在我的情况下,当我在我的应用程序中使用 Camera 和 Photo lib 而没有 Info.plist 中的这些条目时,应用程序崩溃了。