ios - Ad Hoc 分发失败

标签 ios itunes distribution

在 iTunes 安装失败后,我在 iOS 设备记录器上得到了这个。 我很乐意提供一些帮助。

May  5 22:09:05 unknown installd[849] <Error>: entitlement 'get-task-allow' has value not permitted by a provisioning profile
May  5 22:09:05 unknown installd[849] <Error>: 00381000 verify_signer_identity: Could not copy validate signature: -402620394
May  5 22:09:05 unknown installd[849] <Error>: 00381000 preflight_application_install: Could not verify executable at /var/tmp/install_staging.ZPtjaK/foo_extracted/Payload/BaBus.app
May  5 22:09:05 unknown installd[849] <Error>: 00381000 install_application: Could not preflight application install
May  5 22:09:05 unknown SpringBoard[52] <Notice>: Posting 'com.apple.iokit.hid.displayStatus' notifyState=1
May  5 22:09:05 unknown UserEventAgent[12] <Warning>: DEBUG: Changing screen blanked state: 0
May  5 22:09:05 unknown SpringBoard[52] <Notice>: MultitouchHID: detection mode: 255->0 (deferring until bootloaded)
May  5 22:09:05 unknown SpringBoard[52] <Notice>: MultitouchHID: device bootloaded
May  5 22:09:05 unknown SpringBoard[52] <Notice>: MultitouchHID: detection mode: 0->0
May  5 22:09:06 unknown installd[849] <Error>: 00381000 handle_install: API failed
May  5 22:09:06 unknown installd[849] <Error>: 00381000 send_message: failed to send mach message of 71 bytes: 10000003
May  5 22:09:06 unknown installd[849] <Error>: 00381000 send_error: Could not send error response to client

最佳答案

我猜这个项目或配置文件有一些早于 Xcode4 的部分。

某处您将 get-task-allow 权利设置为 true,但需要将其设置为 false。每other answers ,这是允许其他进程(如调试器)附加所需的;但不允许临时分发。

但在 XCode 4 中,您实际上根本不需要设置权利。来自release notes (强调我的)

I'm defining a custom Code Signing Entitlements file in Xcode but do I need it?

If you are defining a custom Code Signing Entitlements file within your Target > Build Settings, you might try removing that configuration entirely and rebuilding/resubmitting. More often than not, Code Signing Entitlements are defined unnecessarily. You only need to specify a custom Code Signing Entitlements file if your application is utilizing custom keychain access sharing or iCloud. Otherwise, remove the Code Signing Entitlements configuration from all build configurations on your Xcode project's Target > Build Settings, the rebuild and reattempt your submission/validation.

...

If you are unsure whether you need to define a Code Signing Entitlements file, it is safest to remove the configuration from your Target > Build Settings until you know for sure its need.

关于ios - Ad Hoc 分发失败,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/10465160/

相关文章:

perl - 分发 Perl 应用程序

matlab - 基于分布函数生成随机数

python - Anderson darling test 在 Python 中给了我无穷大的分数

ios - 在 Alamofire 请求中打印数据

ios - 核心文本性能问题

macos - 在 Cocoa 中编辑 iTunes 资料库

app-store - 如何从iTunes获取前400名列表

iphone - Cocos2d 与 UIKit View 混合 - 巨大的 FPS 下降

iphone - 如何在移动 Safari 中计算可视区域的高度(即窗口高度减去地址和书签栏)?

不同商店中的 iPhone 应用程序名称