My project has swift package dependencies hosted on GitHub, others that are local (on disk).
Building the project from Xcode works fine, but building from the command line, e.g xcodebuild -project "../MyProj.xcodeproj" -scheme "MyScheme" fails because the local swift packages fail resolve (while the GitHub-hosted packages are resolved with no issues). In other words, I get a flurry of errors like these:
error: Missing package product 'MyLocalSwiftPackage'
Running xcodebuild with -resolvePackageDependencies successfully resolves all the GitHub-hosted Swift Packages, but ignores the local ones.
Does xcodebuild need explicit instructions for locating local Swift Package dependencies?
Building the project from Xcode works fine, but building from the command line, e.g xcodebuild -project "../MyProj.xcodeproj" -scheme "MyScheme" fails because the local swift packages fail resolve (while the GitHub-hosted packages are resolved with no issues). In other words, I get a flurry of errors like these:
error: Missing package product 'MyLocalSwiftPackage'
Running xcodebuild with -resolvePackageDependencies successfully resolves all the GitHub-hosted Swift Packages, but ignores the local ones.
Does xcodebuild need explicit instructions for locating local Swift Package dependencies?