提交包含帮助应用程序的OSX应用程序 [英] Submit an OSX App with helper App in its bundle

查看:173
本文介绍了提交包含帮助应用程序的OSX应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我真的很疯狂这个问题!我有一个应用程序包含一个简单的帮助应用程序,它管理主应用程序的登录项。

I'm really going mad with this problem! I have an app that contains a simple Helper app which manages the login item for the Main app.

当我尝试提交应用程序时,我会收到与配置文件和权利相关的错误。我确定问题是与助手应用程序相关,因为之前,我添加它的提交工作没有问题。

When I try to submit the app I get errors related to the provisioning profile and the entitlements. I'm sure that the problem is related with the Helper app because before than I added it the submission worked with no problem.

目前,助手应用程式已签署程式码,并以沙箱作为主要应用程式。

At the moment the helper app is code signed and is sandboxed as the main app.

错误是:


  • 包中包含的供应配置文件无效

  • Invalid provisioning profile. The provisioning profile included in the bundle is invalid

代码签名授权无效。您的应用程序捆绑包签名中的权利与配置配置文件中包含的权限不匹配。该捆绑包包含myapp.app/Contents/Library/LoginItems/helper.app

Invalid Code Signing Entitlements. The entitlements in your app bundle signature do not match the one that are contained in the provisioning profile. The bundle contains a key that is not included in the provisioning profile 'com.apple.application-identifier' in 'myapp.app/Contents/Library/LoginItems/helper.app'

代码签名授权无效。您的应用程序捆绑包签名中的权利与配置配置文件中包含的权限不匹配。该捆绑包包含未包含在myapp.app/Contents/MacOS/myapp中的配置文件com.apple.application-identifier中的密钥

Invalid Code Signing Entitlements. The entitlements in your app bundle signature do not match the one that are contained in the provisioning profile. The bundle contains a key that is not included in the provisioning profile 'com.apple.application-identifier' in 'myapp.app/Contents/MacOS/myapp'

推荐答案

对于任何其他人遇到这个问题,你不必第二次编码帮助应用程序,只是删除embedded.provisionprofile 从在xarchive中的帮助应用程序,你可以提交没有问题。

For anyone else coming across this problem, you don't have to codesign the helper app a second time, just remove the "embedded.provisionprofile" from the helper app in the xarchive and you can submit no problem.

这篇关于提交包含帮助应用程序的OSX应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆