It is available for a download as FacebookSDK_Dynamic.framework.zip
and allows automatic swift dependency resolution. In case static linking is required swift libs should be specified manually in robovm.xml
:
<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>
- FBSDKCoreKit.xcframework
- FBSDKCoreKit_Basics.xcframework
- FBAEMKit.xcframework
<config>
...
<frameworkPaths>
<path>libs</path> <!-- path where FBSDKCoreKit.framework is located -->
</frameworkPaths>
</config>
Add the following dependency to your build.gradle
:
repositories {
maven { url 'https://oss.sonatype.org/content/repositories/snapshots' }
}
dependencies {
... other dependencies ...
implementation "io.github.dkimitsa.robovm:robopods-facebook-core-ios:$altpodsVersion"
}