Kebechet.Maui.Facebook.Core.iOS 18.1.1

Prefix Reserved
dotnet add package Kebechet.Maui.Facebook.Core.iOS --version 18.1.1
                    
NuGet\Install-Package Kebechet.Maui.Facebook.Core.iOS -Version 18.1.1
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Kebechet.Maui.Facebook.Core.iOS" Version="18.1.1" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Kebechet.Maui.Facebook.Core.iOS" Version="18.1.1" />
                    
Directory.Packages.props
<PackageReference Include="Kebechet.Maui.Facebook.Core.iOS" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Kebechet.Maui.Facebook.Core.iOS --version 18.1.1
                    
#r "nuget: Kebechet.Maui.Facebook.Core.iOS, 18.1.1"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Kebechet.Maui.Facebook.Core.iOS@18.1.1
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Kebechet.Maui.Facebook.Core.iOS&version=18.1.1
                    
Install as a Cake Addin
#tool nuget:?package=Kebechet.Maui.Facebook.Core.iOS&version=18.1.1
                    
Install as a Cake Tool

"Buy Me A Coffee"

Maui.Facebook.Core.iOS

NuGet Version NuGet Downloads Last updated (main) Twitter

Bindings for the Facebook (Meta) iOS SDK core module

Most consumers want the cross-platform wrapper, Kebechet.Maui.Facebook.Core, rather than this binding directly.

Versioning Scheme

The version is derived from the native package: <native>.<binding-rev>.

Native lib version Maui.Facebook.Core.iOS Note
18.1.1 18.1.1.0 First binding of 18.1.1
18.1.1 18.1.1.3 Binding of 18.1.1 with 3 binding-only fixes

Binding creation

A curated binding, not a Sharpie dump

ApiDefinitions.cs is written by hand against the headers shipped inside nativelib/FBSDKCoreKit.xcframework. FBSDKCoreKit exposes 220 headers; the wrapper needs three types:

Bound type Source header Notes
FBSDKAppEvents FBSDKAppEvents.h shared, anonymousID, userID, logEvent:*, logPurchase:*, activateApp, flush
FBSDKSettings FBSDKCoreKit-Swift.h Swift Settings, published as @objc(FBSDKSettings) - plain runtime name, no _TtC… mangling
FBSDKApplicationDelegate FBSDKCoreKit-Swift.h Swift ApplicationDelegate, same

FBSDKAppEventName / FBSDKAppEventParameterName are typedef NSString * and bind as string.

Binding only what is used keeps the file reviewable, keeps it buildable on Windows (Objective Sharpie is macOS-only) and turns a native bump into "swap the frameworks and rebuild".

Getting the frameworks

Each release of facebook-ios-sdk publishes per-kit *-Dynamic_XCFramework.zip assets. Download three: FBSDKCoreKit, FBSDKCoreKit_Basics, FBAEMKit (scripts/bump-ios.sh does this). An app that embeds only FBSDKCoreKit crashes on launch with an image-not-found for the other two.

⚠️ Slimming the xcframeworks (177 MB → 21 MB)

From each .xcframework remove:

  • the ios-arm64_arm64e_x86_64-maccatalyst slice - Catalyst is a no-op stub in the wrapper, and that slice uses the macOS bundle layout with symlinks that Windows cannot check out
  • every *.swiftmodule directory
  • every *.dSYM directory (debug symbols; also cause NU5123 long-path warnings)
  • _CodeSignature directories

then remove the Catalyst entry from the xcframework's Info.plist (AvailableLibraries), or the bundle no longer matches its manifest and is rejected.

Build

The binding builds and packs on Windows - bgen runs there and the frameworks ship as lib/net10.0-ios/*.resources.zip. Only running it needs a Mac; CI builds the demo for the iOS simulator on macOS.

License

This repository is licensed with the MIT license.

Product Compatible and additional computed target framework versions.
.NET net10.0-ios26.0 is compatible. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • net10.0-ios26.0

    • No dependencies.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on Kebechet.Maui.Facebook.Core.iOS:

Package Downloads
Kebechet.Maui.Facebook.Core

Cross-platform .NET MAUI wrapper around the Facebook (Meta) Core SDKs: App Events, SDK settings and the anonymous app-device id ($fbAnonId) on Android and iOS

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
18.1.1 126 9/2/2026

18.1.1.0: initial curated binding of native Facebook iOS SDK 18.1.1 (FBSDKCoreKit + FBSDKCoreKit_Basics + FBAEMKit). Changelog: https://github.com/facebook/facebook-ios-sdk/blob/main/CHANGELOG.md