xcode IOS 应用程序中的“archived-expanded-entitlements.xcent”文件是什么?

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/21844728/
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-15 04:39:52  来源:igfitidea点击:

What is the "archived-expanded-entitlements.xcent" file in IOS app?

iosxcode

提问by anilreddy

What is the archived-expanded-entitlements.xcentfile ? What is the use of this file in an iOS application?

archived-expanded-entitlements.xcent文件是什么?这个文件在 iOS 应用中有什么用?

回答by ske57

Basically, the xcent file is a list of entitlements that the app has requested. Since Xcode 6, the entitlements list is also embedded in the app bundle as the xcent file. This file is important when it comes to submitting to the App Store and provides more helpful error messages when provisioning errors occur.

基本上,xcent 文件是应用程序请求的权利列表。从 Xcode 6 开始,权利列表也作为 xcent 文件嵌入到应用程序包中。此文件在提交到 App Store 时很重要,并在出现配置错误时提供更有用的错误消息。

If you want more info, here is a good in-depth article on code signing and provisioning.

如果您想了解更多信息,这里有一篇关于代码签名和配置的深入文章

回答by Munahil

When we archive through Xcode : Product > Archive, it includes an ‘archived-expanded-entitlements.xcent'file in the final .ipapackage.

当我们通过 归档时Xcode : Product > Archive,它‘archived-expanded-entitlements.xcent'在最终.ipa包中包含一个文件。