I have created a managed package which contains a Lightning Component which uses a Custom hierarchy Settings object.
You can see here that the Settings object is packaged.
It is referenced within the lightning component like
<aura:attribute name="settings" type="TestSettings__c"/>
within the org, the component works without a hitch. But when I attempt to deploy this package in a sandbox org, I get an error which looks like this. (The namespace has been altered)
I am not quite sure why I am seeing this error.. and I can't find any posts of anyone else experiencing this problem.
MyNamspace__
to the attribute in the package dev org:<aura:attribute name="settings" type="MyNamspace__TestSettings__c"/>