I'm creating a Cordova plugin for an SDK that requires loading a pod with a custom podspec url with an api key in the url.


<podspec>

   <config>

        <source url="https://github.com/CocoaPods/Specs.git"/>

   </config>

   <pods use-frameworks="true">

        <pod name="Pod" options=":podspec => 'https://sdksite/<API_KEY>/podspec/latest.podspec'" />

   </pods>

</podspec>


Is there a way to replace <API_KEY> with a preference variable?


Thanks in advance.