从苹果阅读文档我需要创建一个临时分发应用程序,为此我需要 entitlements.plist。当我创建一个新权利时,“get-task-allow”值不存在,所以我手动添加..对吗?最后 Entitlements.plist 是这样的:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>application-identifier</key>
<string>$(AppIdentifierPrefix)$(CFBundleIdentifier)</string>
<key>keychain-access-groups</key>
<array>
<string>$(AppIdentifierPrefix)$(CFBundleIdentifier)</string>
</array>
<key>get-task-allow</key>
<true/>
</dict>
</plist>