Ios Xcode机器人可以';t安装IPA(使用today小部件)

Ios Xcode机器人可以';t安装IPA(使用today小部件),ios,xcode6,continuous-integration,bots,ios8-today-widget,Ios,Xcode6,Continuous Integration,Bots,Ios8 Today Widget,我偶然发现了一个最烦人的问题。我有一个带有“今日”小部件的应用程序。应用程序使用一个分发配置文件,而小部件目标正在使用另一个。一切都很好。我可以在Xcode中存档应用程序,并将其安装到我的设备上 但是,当尝试安装由我的Xcode服务器bot创建的IPA时,它将无法工作。我收到错误:“安装失败” 在将小部件目标添加到项目之前,一切正常 Xcode服务器安装了相同的证书和配置文件 我扫描了构建日志,没有发现任何异常。所有内容都已正确签名并记录**存档成功** 有什么想法吗 更新 似乎没有小部件也无法

我偶然发现了一个最烦人的问题。我有一个带有“今日”小部件的应用程序。应用程序使用一个分发配置文件,而小部件目标正在使用另一个。一切都很好。我可以在Xcode中存档应用程序,并将其安装到我的设备上

但是,当尝试安装由我的Xcode服务器bot创建的IPA时,它将无法工作。我收到错误:“安装失败”

在将小部件目标添加到项目之前,一切正常

Xcode服务器安装了相同的证书和配置文件

我扫描了构建日志,没有发现任何异常。所有内容都已正确签名并记录**存档成功**

有什么想法吗

更新

似乎没有小部件也无法工作。尝试安装生成服务器生成的IPA时,出现错误:

**App installation failed**

The application could not be verified.
我已经在一台新设备上试用过,但我以前没有安装过该应用程序

更新2

以下是尝试从Xcode安装IPA时的日志:

Feb 23 14:52:46 iPhone kernel[0] <Notice>: flow_divert_token_set (0): Failed to get the key unit from the token: 22
Feb 23 14:52:46 iPhone lockdownd[67] <Error>: Could not set socket option SO_OPPORTUNISTIC: Invalid argument
Feb 23 14:52:47 iPhone kernel[0] <Notice>: flow_divert_token_set (0): Failed to get the key unit from the token: 22
Feb 23 14:52:47 iPhone lockdownd[67] <Error>: Could not set socket option SO_OPPORTUNISTIC: Invalid argument
Feb 23 14:52:47 iPhone mobile_installation_proxy[271] <Warning>: LaunchServices: Please include the kCFBundleIdentifierKey in the options dictionary when installing an app.
Feb 23 14:52:47 iPhone mobile_installation_proxy[271] <Warning>: LaunchServices: installing app with unknown bundleID
Feb 23 14:52:47 iPhone installd[44] <Notice>: 0x10050c000 -[MIClientConnection _doBackgroundInstallationForPath:withOptions:completion:]: Install of "/var/mobile/Media/PublicStaging/[XXXXXX].ipa" type Customer requested by mobile_installation_proxy (pid 271)
Feb 23 14:52:47 iPhone installd[44] <Notice>: 0x10050c000 -[MIInstaller performInstallationWithError:]: Installing <MIInstallableBundle ID=com.XXX.XXXXXX; Version=140407, ShortVersion=1.0>
Feb 23 14:52:47 iPhone profiled[121] <Notice>: (Note ) MC: Provisioning profiles changed
Feb 23 14:52:47 iPhone installd[44] <Error>:  SecTrustEvaluate  [leaf CriticalExtensions IssuerCommonName]
Feb 23 14:52:47 iPhone kernel[0] <Notice>: flow_divert_token_set (0): Failed to get the key unit from the token: 22
Feb 23 14:52:47 iPhone lockdownd[67] <Error>: Could not set socket option SO_OPPORTUNISTIC: Invalid argument
Feb 23 14:52:47 iPhone profiled[121] <Notice>: (Note ) MC: Provisioning profiles changed
Feb 23 14:52:47 iPhone securityd[82] <Error>: CFReadStream domain: 12 error: 8
Feb 23 14:52:47 iPhone installd[44] <Error>:  SecTrustEvaluate  [leaf CriticalExtensions IssuerCommonName]
Feb 23 14:52:48 iPhone securityd[82] <Error>: CFReadStream domain: 12 error: 8
Feb 23 14:52:48 iPhone installd[44] <Error>: 0x10050c000 -[MIInstallableBundle performVerificationWithError:]: 473: Application is missing the application-identifier entitlement.
Feb 23 14:52:48 iPhone installd[44] <Error>: 0x10050c000 -[MIInstaller performInstallationWithError:]: Verification stage failed
Feb 23 14:52:48 iPhone mobile_installation_proxy[271] <Error>: 0x10040c000 __MobileInstallationInstallForLaunchServices_block_invoke240: Returned error Error Domain=MIInstallerErrorDomain Code=63 "Application is missing the application-identifier entitlement." UserInfo=0x127d3b040 {LegacyErrorString=ApplicationVerificationFailed, FunctionName=-[MIInstallableBundle performVerificationWithError:], SourceFileLine=473, NSLocalizedDescription=Application is missing the application-identifier entitlement.}
Feb 23 14:52:48 iPhone mobile_installation_proxy[271] <Warning>: ERROR: MobileInstallationInstallForLaunchServices returned nil
Feb 23 14:52:48 iPhone mobile_installation_proxy[271] <Error>: 0x10051c000 handle_install: Installation failed: Error Domain=LaunchServicesError Code=0 "The operation couldn’t be completed. (LaunchServicesError error 0.)" UserInfo=0x127d43dc0 {Error=ApplicationVerificationFailed, ErrorDescription=Application is missing the application-identifier entitlement.}
Feb 23 14:52:48 iPhone kernel[0] <Notice>: flow_divert_token_set (0): Failed to get the key unit from the token: 22
Feb 23 14:52:48 iPhone lockdownd[67] <Error>: Could not set socket option SO_OPPORTUNISTIC: Invalid argument
Feb 23 14:52:48 iPhone kernel[0] <Notice>: flow_divert_token_set (0): Failed to get the key unit from the token: 22
Feb 23 14:52:48 iPhone lockdownd[67] <Error>: Could not set socket option SO_OPPORTUNISTIC: Invalid argument
2月23日14:52:46 iPhone内核[0]:flow_divert_token_set(0):无法从token中获取密钥单元:22
2月23日14:52:46 iPhone锁定D[67]:无法设置套接字选项,因此\u机会主义:参数无效
2月23日14:52:47 iPhone内核[0]:flow_divert_token_set(0):无法从token:22获取密钥单元
2月23日14:52:47 iPhone锁定D[67]:无法设置套接字选项,因此\u机会主义:参数无效
2月23日14:52:47 iPhone mobile_安装_代理[271]:启动服务:安装应用程序时,请在选项字典中包含kCFBundleIdentifierKey。
2月23日14:52:47 iPhone mobile_安装_代理[271]:LaunchServices:安装带有未知绑定ID的应用程序
2月23日14:52:47 iPhone已安装[44]:0x10050c000-[MichlientConnection\u doBackgroundInstallationForPath:with options:completion::安装“/var/mobile/Media/PublicStaging/[XXXXXX].ipa”类型客户请求移动安装代理(pid 271)
2月23日14:52:47 iPhone已安装[44]:0x10050c000-[MIInstaller性能安装错误:]:安装
2月23日14:52:47 iPhone配置文件[121]:(注意)MC:配置文件已更改
2月23日14:52:47 iPhone已安装[44]:部门信任评估[leaf CriticalExtensions IssuerCommonName]
2月23日14:52:47 iPhone内核[0]:flow_divert_token_set(0):无法从token:22获取密钥单元
2月23日14:52:47 iPhone锁定D[67]:无法设置套接字选项,因此\u机会主义:参数无效
2月23日14:52:47 iPhone配置文件[121]:(注意)MC:配置文件已更改
二月23日14:52:47 iPhone securityd[82]:CFReadStream域:12错误:8
2月23日14:52:47 iPhone已安装[44]:部门信任评估[leaf CriticalExtensions IssuerCommonName]
二月23日14:52:48 iPhone securityd[82]:CFReadStream域:12错误:8
2月23日14:52:48 iPhone已安装[44]:0x10050c000-[MIInstallableBundle performVerificationWithError:]:473:应用程序缺少应用程序标识符权限。
2月23日14:52:48 iPhone已安装[44]:0x10050c000-[MIInstaller performInstallationWithError:]:验证阶段失败
2月23日14:52:48 iPhone mobile_安装_代理[271]:0x10040c000____mobileininstallationinstallforlaunchservices_block_invoke240:返回的错误域=miinstallerrordomain Code=63“应用程序缺少应用程序标识符权限。”UserInfo=0x127d3b040{LegacyErrorString=ApplicationVerificationFailed,FunctionName=-[MIInstallableBundle performVerificationWithError:,SourceFileLine=473,NSLocalizedDescription=应用程序缺少应用程序标识符权限。}
二月23日14:52:48 iPhone mobile_安装_代理[271]:错误:MobileInstallationInstallForLaunchServices返回零
2月23日14:52:48 iPhone mobile_安装_代理[271]:0x10051c000句柄_安装:安装失败:错误域=LaunchServicesError Code=0“操作无法完成。(LaunchServicesError错误0。)”用户信息=0x127d43dc0{Error=ApplicationVerificationFailed,ErrorDescription=应用程序缺少应用程序标识符权限。}
2月23日14:52:48 iPhone内核[0]:flow_divert_token_set(0):无法从token:22获取密钥单元
2月23日14:52:48 iPhone锁定D[67]:无法设置套接字选项,因此\u机会主义:参数无效
2月23日14:52:48 iPhone内核[0]:flow_divert_token_set(0):无法从token:22获取密钥单元
2月23日14:52:48 iPhone锁定D[67]:无法设置套接字选项,因此\u机会主义:参数无效
更新3

似乎是authentications.plist导致了问题。之所以生成了授权文件,是因为我使用了目标(主目标和小部件)之间的共享数据。当删除小部件目标和授权文件时,它都会正确构建


新问题,我如何使用机器人程序,使用共享数据和权限.plist文件构建应用程序?与此类似

这似乎是xcode服务器中的一个错误。我已经提交了一个radar.FWIW,我们看到了相同的问题。还有
错误域=miinstallerrordomain code=63“应用程序缺少应用程序标识符权限。”
错误。