I am creating a .NET MAUI software focusing on .NET 8. In my mission, I’m utilizing the next Firebase packages:
This setup works wonderful on each Android and iOS. Nonetheless, after I submitted my app to the App Retailer, the construct was rejected with the next message:
ITMS-91061: Lacking privateness manifest – Your app consists of “Frameworks/FirebaseABTesting.framework/FirebaseABTesting”, which incorporates FirebaseABTesting, an SDK that was recognized within the documentation as a generally used third-party SDK. If a brand new app features a generally used third-party SDK, or an app replace provides a brand new generally used third-party SDK, the SDK should embrace a privateness manifest file. Please contact the supplier of the SDK that features this file to get an up to date SDK model with a privateness manifest. For extra particulars about this coverage, together with an inventory of SDKs which can be required to incorporate signatures and manifests,
go to: https://developer.apple.com/help/third-party-SDK-requirements.
So, primarily based on analysis and suggestions, I up to date the Firebase packages to the newest variations that presumably embrace privateness manifests:
After this replace:
- The Android construct works completely.
- However the iOS construct fails to run, with the next errors:
error : clang++ exited with code 1
error : Undefined symbols for structure arm64:
error : “_swift_FORCE_LOAD$_swiftCompatibility56″, referenced from:
error : _swift_FORCE_LOAD$swiftCompatibility56$_FirebaseAnalytics in FirebaseAnalytics
error : “_swift_FORCE_LOAD$_swiftCompatibilityConcurrency”, referenced from:
error : _swift_FORCE_LOAD$swiftCompatibilityConcurrency$_FirebaseAnalytics in FirebaseAnalytics
error : ld: image(s) not discovered for structure arm64
error : clang++: error: linker command failed with exit code 1
What I’ve Tried:
-
Cleaned and rebuilt the mission.
-
Verified that Xcode is updated (v16.4).
-
Utilizing .NET 8 SDK (v8.0.409).
-
Ensured deployment targets and iOS SDK match anticipated structure
(arm64). -
Tried constructing each in simulator and bodily system.
How can I resolve this iOS construct failure associated to lacking Swift symbols after updating Firebase packages in a .NET MAUI mission to deal with the App Retailer’s privateness manifest requirement (ITMS-91061)?
Is there a identified compatibility subject with Plugin.Firebase v3.x and iOS in .NET 8?