We are following the dynamic instructions for Firebase here, which lists just one import needed "@import Firebase" - yet when we get to their line
FIRDynamicLink *dynamicLink = [[FIRDynamicLinks dynamicLinks] dynamicLinkFromCustomSchemeURL:url];
if (dynamicLink) { ...
...XCode gives an undeclared identifier for FIRDynamicLink. Unlike some of the other modules like "import FirebaseAnalytics" - there doesn't seem to be another library dedicated to Dynamic Links.
The pod content is: pod "Firebase/DynamicLinks"
What is the trick to get this to compile?
We solved this by adding the following import line. It wasn't mentioned in Google's documentation so we are unsure if it is the correct thing to do - but it does enable the app to compile.
@import FirebaseDynamicLinks;
Was this a simple oversight in their example code or are we misunderstanding something?
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