Closed fgnm closed 4 years ago
this happens when you use static Facebook frameworks. in this case swift dependencies are not solved automatically. there is two options:
<libs>
<lib>libswiftCore.dylib</lib>>
<lib>libswiftCoreFoundation.dylib</lib>>
<lib>libswiftCoreGraphics.dylib</lib>>
<lib>libswiftCoreImage.dylib</lib>>
<lib>libswiftDarwin.dylib</lib>>
<lib>libswiftDispatch.dylib</lib>>
<lib>libswiftFoundation.dylib</lib>>
<lib>libswiftMetal.dylib</lib>>
<lib>libswiftObjectiveC.dylib</lib>>
<lib>libswiftQuartzCore.dylib</lib>>
<lib>libswiftUIKit.dylib</lib>>
<lib>swiftCompatibility51</lib>
</libs>
@dkimitsa thank you so much, indeed it worked! And thank you for explain how to link swift manually, might be useful in other contexts. I only suggest to add these info somewhere in readme :)
Hi, I'm trying to integrate latest Facebook SDK into my project. I've followed instructions as usual, copied
FBSDKCoreKit
,FBSDKShareKit
andFBSDKLoginKit
into libs folder, added torobovm.xml
file and java part. Now when I try to compile it returns this error:[Stripped output because too long]
It's appear to be a common problem with SDK v7, have you any advice on how to fix in RoboVM? It seams to miss some swift libraries