admin管理员组文章数量:1388641
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 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1744563888a2612929.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论