Skip to content

Xcode Cloud pipeline breaks #104

@ADevelopStudio

Description

@ADevelopStudio

when I add MapLibreSwiftDLS/MapLibreSwiftUI to the Xcode project they ask to approve using macros. I granted permissions but I can not do the same for the Xcode Cloud pipeline. Builds are failing with two errors:

1. Macro “MockableMacro” from package “Mockable” must be enabled before it can be used
2. Macro “MapLibreSwiftMacrosImpl” from package “MapLibreSwiftUI” must be enabled before it can be used

I tried:

  1. adding following to .xcconfig files:
SWIFT_MACROS = \
  Ny_Project=MockableMacro \
  Ny_Project=MapLibreSwiftMacros \
  MapLibreSwiftUI=MapLibreSwiftMacros
  1. adding following to ci_pre_xcodebuild.sh (from here)
defaults write com.apple.dt.Xcode IDESkipMacroFingerprintValidation -bool YES

Nothing worked. Still having those:

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions