You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want to install facebook-ios-sdk via SPM as a static framework to take advantage of dead code stripping and faster app launch.
Expected results
my archived iOS app binary that depends on FBSDKCoreKit.framework installed via SPM package at https://github.com/facebook/facebook-ios-sdk has all FBSDKCoreKit.framework/FBSDKCoreKit binary linked in to main app binary during static linking otool -L MyApp
output doesn't contain FBSDK* entries
@rpath/FBSDKShareKit.framework/FBSDKShareKit (compatibility version 1.0.0, current version 1.0.0)
@rpath/FBAEMKit.framework/FBAEMKit (compatibility version 1.0.0, current version 1.0.0)
@rpath/FBSDKCoreKit_Basics.framework/FBSDKCoreKit_Basics (compatibility version 1.0.0, current version 1.0.0)
@rpath/FBSDKCoreKit.framework/FBSDKCoreKit (compatibility version 1.0.0, current version 1.0.0)
Code samples & details
add Facebook SDK via
.package(url:"https://github.com/facebook/facebook-ios-sdk.git", from:"17.0.0"),import and use package in the source code
The text was updated successfully, but these errors were encountered:
Are there any news on these? I'd love if a static version was made available via SPM too.
On our app all FBAEMKit, FBSDKCoreKit, FBSDKCoreKit_Basics and FBSDKLoginKit are dynamic XCFrameworks, visible via otool -L.
Let us know in case we could contribute in any way. The static SDK is available via tag, but we'd prefer the SPM integration.
Checklist before submitting a feature request
Goals
I want to install facebook-ios-sdk via SPM as a static framework to take advantage of dead code stripping and faster app launch.
Expected results
my archived iOS app binary that depends on FBSDKCoreKit.framework installed via SPM package at https://github.com/facebook/facebook-ios-sdk has all FBSDKCoreKit.framework/FBSDKCoreKit binary linked in to main app binary during static linking
otool -L MyApp
output doesn't contain FBSDK* entries
Code samples & details
The text was updated successfully, but these errors were encountered: