HomeiOS Developmentxcode - When attempting so as to add Firebase-iOS-SDK to my undertaking,...

xcode – When attempting so as to add Firebase-iOS-SDK to my undertaking, Didn’t resolve dependencies


Xcode 26b7 & Xcode 16.4

I added this line to my Bundle.swift:

.package deal(url: "https://github.com/firebase/firebase-ios-sdk.git", .upToNextMajor(from: "12.2.0")),

And get this error:

Didn’t resolve dependencies Dependencies couldn’t be resolved as a result of no variations of ‘googledatatransport’ match the requirement 10.1.0..= 12.2.0 virtually depends upon ‘googledatatransport’ 10.1.0..

Clearly, anticipating it to resolve the dependencies…

This happens once I merely add this dependency line in my package deal’s Bundle.swift file.

OR, if I am going into my App’s undertaking, and via Xcode do the File –> Add Bundle Dependencies…

I then put “https://github.com/firebase/firebase-ios-sdk” within the Search file. Dependency Rule of “As much as Subsequent Main Model” with 12.2.0 within the clean, then I chosen my Mission within the Add To Mission dropdown…after which “Add Bundle”. This provides me “Bundle Decision Failed” with this error:

Didn’t resolve dependencies Dependencies couldn’t be resolved
as a result of no variations of ‘googledatatransport’ match the requirement
10.1.0..= 12.2.0 virtually depends upon ‘googledatatransport’ 10.1.0..https://github.com/firebase/firebase-ios-sdk)), requirement: 12.2.0 –
Subsequent Main)

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

- Advertisment -
Google search engine

Most Popular

Recent Comments