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
ComputeTargetDependencyGraph ... ... [email protected]:PACKAGE-TARGET:CasePathsMacros: error: Target 'CasePathsMacros' must be enabled before it can be used. ... ... [email protected]: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. the package is not being built itself, so Xcode doesnt recognise entire framework
I tried to add -skipMacroValidation in bitrise.yml's xcodebuild_options. The result is the same as with script
locally I can build it without issues though
The text was updated successfully, but these errors were encountered:
After I integrated the framework which utilises the new Swift's feature Macros(https://github.com/pointfreeco/swift-composable-architecture) - I've ended up with failed build with error as such:
ComputeTargetDependencyGraph ... ... [email protected]:PACKAGE-TARGET:CasePathsMacros: error: Target 'CasePathsMacros' must be enabled before it can be used. ... ... [email protected]: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:
defaults write com.apple.dt.Xcode IDESkipPackagePluginFingerprintValidatation -bool YES
it didn't work out. the package is not being built itself, so Xcode doesnt recognise entire framework
locally I can build it without issues though
The text was updated successfully, but these errors were encountered: