简体   繁体   English

缺少资源包xcode 6.3的代码签名权利

[英]Missing Code Signing Entitlements for resource bundle xcode 6.3

I am writing a static library and when i go to add it into my .ipa file and do an export/submit to apple i get this error. 我正在写一个静态库,当我把它添加到我的.ipa文件并导出/提交到苹果时,我得到了这个错误。

ERROR ITMS-90166: "Missing Code Signing Entitlements. No entitlements found in bundle 'com.xxxxx.xxxxxxResources' for executable 'Payload/xxxxxxx.app/xxxxReaderResources.bundle/xxxxReaderResources'.""

I have seen a lot of post on entitlements and provisioning files on here but none dealing with static libraries. 我在这里看到很多关于权利和配置文件的帖子,但没有涉及静态库。 And the ones I saw didn't really help. 我看到的那些并没有真正帮助。 The issue is that the resource bundle needs to have entitlements i guess.. i have tired resigning it with iResign and adding an entitlement.plist all failed. 问题是资源包需要有权利我猜...我已经厌倦了用iResign辞职并添加了一个权利.plist都失败了。

在此输入图像描述

The answer to my problem turns out that i had an executable in my resource bundle. 我的问题的答案结果是我的资源包中有一个可执行文件。 By deleting the Compile Source Phase and the Link Binary with Libraries Phase from my Resource target this removed any executables from my resource bundle and fixed my missing entitlement error 通过从我的Resource target删除Compile Source Phase和链接Binary with Libraries Phase ,这从我的资源包中删除了所有可执行文件并修复了我丢失的权利错误

I had to remove the CFBundleExecutable key from the Info.plist of the resource bundle. 我不得不从资源包的Info.plist中删除CFBundleExecutable密钥。 Once I did this I was able to upload to iTunes Connect without getting ERROR ITMS-90166 一旦我这样做,我就可以上传到iTunes Connect而无需获得ERROR ITMS-90166

I had the same problem as you, thanks for your help. 我和你有同样的问题,谢谢你的帮助。 I make a bundle to import my database, I've already publish a version of my app with that problem but I can't update it. 我创建了一个包来导入我的数据库,我已经发布了我的应用程序版本,但我无法更新它。

I solve the problem as you, in the xproj settings. 我在xproj设置中解决了你的问题。 I remove Compile Sources (where there were my database in old version) and Link Binary With Librairies (empty in old version). 我删除了Compile Sources(旧版本中有我的数据库)和Link Binary With Librairies(旧版本中为空)。

My xproj look at that now, there are only two blocks: 我的xproj现在看一下,只有两个块: 我的xproj设置

Thanks!!! 谢谢!!!

I had this issue. 我有这个问题。 Got it resolved by removing executable file in package content. 通过删除包内容中的可执行文件来解决它

Below are steps for the same : 以下是相同的步骤:

  1. When you've archived your project it opens in Organiser window. 归档项目后,它将在“ Organiser window.
  2. Right click on Archive and select show in finder . 右键单击Archive并选择show in finder

截图1

  1. Then again right click and select show package content. 然后再次右键单击并选择show package content.

截图2

  1. This will show you entire package content such as dSYM, Product, SCMBlueprint, Info.plist etc. 这将显示整个包装内容,如dSYM,产品,SCMBlueprint,Info.plist等。

  2. Select Products -> Application -> [Project].app 选择Products - > Application - > [Project].app

  3. Right click on this app file and select show package content 右键单击此应用程序文件,然后选择show package content

截图3 and delete it. 并删除它。

  1. This will show you files such as storyboard, Info.plist, app icon etc. Search for any executable file (with an icon of command prompt). 这将显示storyboard,Info.plist,app iconSearch for any executable fileSearch for any executable file (带有命令提示符图标)。

  2. Select this file and right click -> move to thrash 选择此文件并右键单击 - > move to thrash

截图4

Now, when you again upload your app it should work correctly! 现在,当您再次上传应用程序时,它应该正常工作!

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 Xcode 5缺少代码签名权利? - Xcode 5 Missing Code Signing Entitlements? 缺少代码签名权利 - 在捆绑包中找不到可执行文件的权利 - Missing Code Signing Entitlements - No entitlements found in bundle for executable Xcode 8无效的代码签名权利 - Xcode 8 Invalid code signing entitlements “代码签名”Xcode 6.3中缺少“配置文件”选项 - 'Provisioning profile' options missing from 'Code signing' Xcode 6.3 xcode 8.3.2错误的捆绑包标识符,无效的代码签名标识符和无效的代码签名权利 - xcode 8.3.2 Bad Bundle Identifier, Invalid Code Signature Identifier, and Invalid Code Signing Entitlements 错误ITMS-9000:“缺少代码签名权利。 没有在捆绑包中找到的权利“ - 如何更改应用程序ID名称 - ERROR ITMS-9000: “Missing Code Signing Entitlements. No entitlements found in bundle” - How to change app ID name Xcode7:无效的代码签名权利 - Xcode7: Invalid code signing entitlements Xcode 5“无效的代码签名权利”错误 - Xcode 5 “Invalid Code Signing Entitlements” error 无效的代码签名权利。 更改捆绑ID后 - Invalid Code Signing Entitlements. After changing bundle id 无效的代码签名权利? - Invalid code signing entitlements?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM