最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

xcodebuild - How to update Swift Package Manager subdependencies from terminal in Xcode project? - Stack Overflow

programmeradmin3浏览0评论

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.

发布评论

评论列表(0)

  1. 暂无评论