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
For Swift package targets containing macros, if they have not been enabled, xcodebuild gives this error when computing the target dependency graph:
...
/Users/runner/Library/Developer/Xcode/DerivedData/DeveloperAutomation-ayrroxrhfzoyoxdehmcuuwlcbuqz/SourcePackages/checkouts/Swallow/Package.swift:PACKAGE-TARGET:SwallowMacros: error: Target 'SwallowMacros' must be enabled before it can be used.
...
This error is suppressed by xcbeautify so it is not obvious at all why the build failed.
Suggested Regex
"must be enabled before it can be used" seems like a stable string to match for.
Suggested Output
No response
Additional Context
To test this, perform the following steps:
Create a new macOS project called Test.
Add the following repository as a package dependency: Swallow.
Run the following command to prevent skipping macro validation:
defaults write com.apple.dt.Xcode IDESkipMacroFingerprintValidation -bool NO
Run xcodebuild build -scheme Test.
The text was updated successfully, but these errors were encountered:
What's the uncaptured output?
For Swift package targets containing macros, if they have not been enabled,
xcodebuild
gives this error when computing the target dependency graph:This error is suppressed by
xcbeautify
so it is not obvious at all why the build failed.Suggested Regex
"must be enabled before it can be used" seems like a stable string to match for.
Suggested Output
No response
Additional Context
To test this, perform the following steps:
xcodebuild build -scheme Test
.The text was updated successfully, but these errors were encountered: