How to trigger Xcode's 'Update to Latest Package Versions' from command line? Try out xcodebuild -resolvePackageDependencies