airbnb / lottie-ios

An iOS library to natively render After Effects vector animations
http://airbnb.io/lottie/
Apache License 2.0
25.78k stars 3.75k forks source link

SPM not resolved: unexpectedly did not find the new dependency in the package graph #2499

Closed easingz closed 3 hours ago

easingz commented 4 hours ago

xcode version: 16.0 Try adding lottie-spm to package dependency, got error:

unexpectedly did not find the new dependency in the package graph: sourceControl(identity: lottie-spm, location: SwiftPM.SPMPackageDependency.SourceControlLocation.remote(SwiftPM.SPMSourceControlURL(sourceControlURL: https://github.com/airbnb/lottie-spm.git)), requirement: 4.5.0 – Next Major)

Seems the swift package manager can't resolve the required version.

easingz commented 3 hours ago

Seems xcode's problem, restart fix it.