XcodeGen icon indicating copy to clipboard operation
XcodeGen copied to clipboard

Test action macroExpansion allows unavailable buildable reference.

Open erneestoc opened this issue 1 year ago • 1 comments

Relates to: https://github.com/yonaskolb/XcodeGen/pull/1468

Since the buildableReference passed to the test action macroExpansion param is literally the first buildable reference, there's a chance that buildable reference is not part of the test buildable references, so "Expand Variables Based On" defaults to None (for the test action)

Screenshot 2024-04-20 at 7 51 21 PM

A potential solution is to use the first buildable reference from testBuildTargetEntries instead if the buildableReference is not part of (testBuildTargetEntries).

erneestoc avatar Apr 21 '24 02:04 erneestoc

done!

erneestoc avatar Jun 20 '24 21:06 erneestoc