[英]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现在看一下,只有两个块:
Thanks!!! 谢谢!!!
I had this issue. 我有这个问题。 Got it resolved by removing executable file in package content. 通过删除包内容中的可执行文件来解决它。
Below are steps for the same : 以下是相同的步骤:
Organiser window.
归档项目后,它将在“ Organiser window.
show in finder
. 右键单击Archive并选择show in finder
。 show package content.
然后再次右键单击并选择show package content.
This will show you entire package content such as dSYM, Product, SCMBlueprint, Info.plist etc. 这将显示整个包装内容,如dSYM,产品,SCMBlueprint,Info.plist等。
Select Products
-> Application
-> [Project].app
选择Products
- > Application
- > [Project].app
Right click on this app file and select show package content
右键单击此应用程序文件,然后选择show package content
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 icon等Search for any executable file
。 Search for any executable file
(带有命令提示符图标)。
Select this file and right click -> move to thrash
选择此文件并右键单击 - > move to thrash
Now, when you again upload your app it should work correctly! 现在,当您再次上传应用程序时,它应该正常工作!
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.