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.
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
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
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With