I'm trying to convert FirebaseAnalytics (and later the other Firebase Frameworks) to a dynamic framework. I am following the instructions mentioned here (method 1).
when trying to execute the following command
libtool -dynamic *.o -o libfoo_dynamic-x86_64.dylib -framework CoreFoundation -lSystem
I'm getting
ld: framework not found AdSupport for architecture x86_64
Any ideas on how to resolve this issue? I tried adding
-framework AdSupport
resulting in
ld: framework not found AdSupport
Probably I would just need to tell libtool where to find the AdSupport framework. But I did not find an explanation on how to do this.