I created a NuGet package deal Xamarin.Fb.LoginKit.iOS which is constructed as a local binding library and has dependencies on Xamarin.Fb.CoreKit.iOS.
When I’m making an attempt to run it on actual system it crushes with:
Undefined symbols for structure arm64:
"_OBJC_CLASS_$_FBSDKAccessToken", referenced from:
objc-class-ref in registrar.o
"_OBJC_CLASS_$_FBSDKAppEvents", referenced from:
objc-class-ref in registrar.o
"_OBJC_CLASS_$_FBSDKAppLink", referenced from:
objc-class-ref in registrar.o
"_OBJC_CLASS_$_FBSDKAppLinkNavigation", referenced from:
objc-class-ref in registrar.o
"_OBJC_CLASS_$_FBSDKAppLinkResolver", referenced from:
objc-class-ref in registrar.o
"_OBJC_CLASS_$_FBSDKAppLinkTarget", referenced from:
objc-class-ref in registrar.o
"_OBJC_CLASS_$_FBSDKAppLinkUtility", referenced from:
objc-class-ref in registrar.o
"_OBJC_CLASS_$_FBSDKApplicationDelegate", referenced from:
objc-class-ref in registrar.o
"_OBJC_CLASS_$_FBSDKAuthenticationToken", referenced from:
objc-class-ref in registrar.o
"_OBJC_CLASS_$_FBSDKGraphErrorRecoveryProcessor", referenced from:
objc-class-ref in registrar.o
"_OBJC_CLASS_$_FBSDKGraphRequest", referenced from:
objc-class-ref in registrar.o
"_OBJC_CLASS_$_FBSDKGraphRequestConnection", referenced from:
objc-class-ref in registrar.o
"_OBJC_CLASS_$_FBSDKGraphRequestConnectionFactory", referenced from:
objc-class-ref in registrar.o
"_OBJC_CLASS_$_FBSDKGraphRequestDataAttachment", referenced from:
objc-class-ref in registrar.o
"_OBJC_CLASS_$_FBSDKProfile", referenced from:
objc-class-ref in registrar.o
"_OBJC_CLASS_$_FBSDKSettings", referenced from:
objc-class-ref in registrar.o
"_OBJC_CLASS_$_FBSDKURL", referenced from:
objc-class-ref in registrar.o
"_OBJC_CLASS_$_FBSDKUtility", referenced from:
objc-class-ref in registrar.o
"_OBJC_CLASS_$_FBSDKWebViewAppLinkResolver", referenced from:
objc-class-ref in registrar.o
ld: image(s) not discovered for structure arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
So far as I understood i would like so as to add FBSDKCoreKit.xcframework,
my .nuspec file has such dependencies on it, nevertheless it throws the error above
I attempted including dependencies to FBSDKCoreKit.xcframework immediately and it really works, however I am unsure if it is the proper method.