【发布时间】:2011-03-02 14:00:10
【问题描述】:
从 Apple 读取文档我需要创建一个临时分发应用程序,为此我需要 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>
【问题讨论】:
-
最新安装有同样的问题 (xcode_3.2.4_and_ios_sdk_4.1.dmg)。
-
我也有同样的问题。还没找到解决办法。
标签: iphone plist distribution adhoc entitlements