Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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.

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.

enter image description here

like image 490
Deprecated Darren Avatar asked Apr 16 '15 20:04

Deprecated Darren


2 Answers

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

like image 187
Deprecated Darren Avatar answered Sep 28 '22 05:09

Deprecated Darren


I had to remove the CFBundleExecutable key from the Info.plist of the resource bundle. Once I did this I was able to upload to iTunes Connect without getting ERROR ITMS-90166

like image 25
cmlloyd Avatar answered Sep 28 '22 04:09

cmlloyd