xcode – Unable to Add Fb iOS SDK Utilizing Swift Bundle Supervisor (SPM) – Sudden Dependency Graph Difficulty

0
26
xcode – Unable to Add Fb iOS SDK Utilizing Swift Bundle Supervisor (SPM) – Sudden Dependency Graph Difficulty


I’m attempting so as to add the Fb iOS SDK to my venture utilizing Swift Bundle Supervisor in Xcode. I’m following the usual course of by including the package deal with the URL:
https://github.com/fb/facebook-ios-sdk

Nonetheless, after initiating the package deal decision, the SDK doesn’t get added, and I encounter the next warning/error:

Unexpectedly didn’t discover the brand new dependency within the package deal graph: sourceControl(identification:facebook-ios-sdk,location:SwiftPM.SPMPackageDependency)

Steps I’ve Tried

Verified the URL for the Fb iOS SDK is appropriate (instantly from Fb’s GitHub).
Deleted Derived Information:
~/Library/Developer/Xcode/DerivedData/

Cleared cached packages by deleting the SourcePackages listing in Derived Information.
Stop and restarted Xcode.
Checked my web connection and community restrictions.
Regardless of these steps, the problem persists, and the package deal decision fails.

Further Info
Xcode model: 16.1
macOS model: Sequoia 15.1.1

I’m looking for solutions or potential options to repair this package deal decision subject.
Has anybody confronted the same drawback or discovered a workaround for efficiently including the Fb iOS SDK with SPM?

EDIT:
when i attempt to set up it in recent venture with no earlier Dependency it work nice
— Currenty i eliminated all Dependency and first add facebook-ios-sdk fisrt than add al different Dependency so it is labored for me

so that is the record of packages i used already in venture

    SDWebImage -  https://github.com/SDWebImage/SDWebImage
lottie-ios' - https://github.com/airbnb/lottie-ios
Firabase - https://github.com/firebase/firebase-ios-sdk
ObjectMapper - https://github.com/tristanhimmelman/ObjectMapper
SwiftyJSON - https://github.com/SwiftyJSON/SwiftyJSON 
SPPerspective - https://github.com/ivanvorobei/SPPerspective
SwiftyStoreKit - https://github.com/bizz84/SwiftyStoreKit 
ALProgressView - https://github.com/alxrguz/ALProgressView
SwipeCellKit - https://github.com/SwipeCellKit/SwipeCellKit
IQKeyboardManagerSwift - https://github.com/hackiftekhar/IQKeyboardManager
UnsplashPhotoPicker - https://github.com/unsplash/unsplash-photopicker-ios
RangeUISlider - https://github.com/chicio/RangeUISlider

picture of warning ::
enter image description here

LEAVE A REPLY

Please enter your comment!
Please enter your name here