I have an Xcode project using Swift Package Manager with several dependencies. Some packages have subdependencies that aren't directly specified in my project settings, but I need to update them to the latest versions.
In Xcode, I can use it like this How to update swift package imported to Xcode Project via Swift Package Manager?, but I need to automate this process via terminal/command line.
How can I force xcodebuild to update all indirect/transitive dependencies to their latest compatible versions from the terminal? I've tried xcodebuild -resolvePackageDependencies -project YourProject.xcodeproj
but it doesn't seem to update subdependencies that aren't directly specified. Also, the .resolved files remains untouched until I reopen the project in Xcode.
xcodebuild - How to update Swift Package Manager subdependencies from terminal in Xcode project? - Stack Overflow
评论列表(0)
- 暂无评论