Hi everyone!
After I integrated the version of TCA which utilises the new Swift's Macros - I've ended up with failed build with errors as such in my CI:
ComputeTargetDependencyGraph ... ... Package@swift-5.9.swift:PACKAGE-TARGET:CasePathsMacros: error: Target 'CasePathsMacros' must be enabled before it can be used. ... ... Package@swift-5.9.swift:PACKAGE-TARGET:DependenciesMacrosPlugin: error: Target 'DependenciesMacrosPlugin' must be enabled before it can be used. ... ... DependenciesMacrosPlugin/DependencyClientMacro.swift: note: Macro "DependenciesMacrosPlugin" is implemented here SourcePackages/checkouts/swift-perception/Package.swift:PACKAGE-TARGET:PerceptionMacros: error: Target 'PerceptionMacros' must be enabled before it can be used.
to adress this issue I tried to:
- run a script which skips the plugin validation in the step before "Xcode build"
defaults write com.apple.dt.Xcode IDESkipPackagePluginFingerprintValidatation -bool YES
it didn't work out. - I tried to build a project -skipMacroValidation. The result is the same as with a script
locally I can build it without issues though
maybe someone had have any similar issues before?