Daniele B
09/28/2026, 4:24 PMswiftPMDependencies {
iosMinimumDeploymentTarget = "16.6"
swiftPackage(
url = url("<https://github.com/firebase/firebase-ios-sdk.git>"),
version = from(firebaseVersion),
products = listOf(
...
product("FirebaseCore"),
product("FirebaseCrashlytics"),
product("FirebaseFirestore"),
...
),
importedClangModules = listOf(
...
"FirebaseCore",
"FirebaseCrashlytics",
"FirebaseFirestoreInternal",
...
),
)
}Timofey Solonin
09/29/2026, 1:27 PMimportedClangModules mechanism generally shouldn't be used, and it was used in the sample by accident cc:@Andrey YastrebovAndrey Yastrebov
09/29/2026, 1:28 PMAndrey Yastrebov
10/02/2026, 8:36 AMdoes the Firebase package needs importedClangModules to be specified?No, it's not required
aren't the other modules (e.g. Crashlytics and Firestore) already implicitely importing FirebaseCore?Correct, we don't need to explicitly specify FirebaseCore
Daniele B
10/02/2026, 9:51 AMTimofey Solonin
10/02/2026, 3:03 PMCan iosMinimumDeploymentTarget also be omitted or it is suggested to always specify it?You don't have to specify it if you don't see any build failures related to the minimum iOS deployment version. Currently, by default, iOS 15 is used.