You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is the issue reproducible with the latest version? YES
Does the issue happen sporadically, or every time? EVERY TIME
Issue description
The xcode-archive step fails with the following error in our CI pipeline:
xcodebuild: error: Could not resolve package dependencies:
a resolved file is required when automatic dependency resolution is disabled and should be placed at...
This issue occurs when we run the xcodebuild command with the -disableAutomaticPackageResolution flag.
Context:
Our project includes both a .xcworkspace and a .xcodeproj.
One Package.resolved files exists in the workspace directory: <Project>.xcworkspace/xcshareddata/swiftpm/Package.resolved
The pipeline is configured to build the .xcworkspace file using the following command:
Both Package.resolved files are valid, but it is unclear which one the step should use.
Running locally with the same command works as expected.
Switching to build the .xcworkspace instead resolves the issue.
Troubleshooting
Issue description
The xcode-archive step fails with the following error in our CI pipeline:
Context:
Our project includes both a
.xcworkspace
and a.xcodeproj
.One Package.resolved files exists in the workspace directory:
<Project>.xcworkspace/xcshareddata/swiftpm/Package.resolved
The pipeline is configured to build the .xcworkspace file using the following command:
Observations:
Both Package.resolved files are valid, but it is unclear which one the step should use.
Running locally with the same command works as expected.
Switching to build the .xcworkspace instead resolves the issue.
Bitrise info
Steps to reproduce
The text was updated successfully, but these errors were encountered: