Thursday, May 30, 2024
HomeiOS Developmentios - What precisely xcodebuild -resolvePackageDependencies does?

ios – What precisely xcodebuild -resolvePackageDependencies does?


I added some dependencies through SPM to a react native mission I’m engaged on. It auto generated Package deal.resolve file. The mission additionally has podspec.lock. After I run pod set up, the package deal.resolved file will get deleted, however as soon as I run

xcodebuild -resolvePackageDependencies -workspace ./Inji.xcworkspace -scheme Inji -configuration Launch -destination "generic/platform=iOS Simulator"

It will get regenerated.
I needed to know, what this command does, what it appears to be like for, and on a broader facet the best way to handle dependency utilizing SPM and cocoapods concurrently. I’ve CI pipeline setup, so resolution shouldn’t be IDE particular.

I principally count on that the file doesn’t regenerate every time, and it doesn’t get deleted both.



Supply hyperlink

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

- Advertisment -
Google search engine

Most Popular

Recent Comments