Selective testing for non-generated projects

The root cause was a messy Xcode pbx project file. But as written also on the Tuist website this is quite common for big old projects.

6E3957882C2A72AD00A4B537 /* (null) in Frameworks */,

It would have been helpful to get some message to search in the pbxproj for 6E3957882C2A72AD00A4B537. Then i could have fixed it without debugging Tuist.

Now I’m on to the next error:

We received an error that we couldn't handle:
    - Localized description: No platform could be inferred from target 'AdjustSignature'.
    - Error: noPlatformInferred("AdjustSignature")

This is a target from pod 'Adjust', '~> 5.0'. The target just contains a xcframework.

The error is because, pbxTarget.productType is nil in let productType = pbxTarget.productType?.mapProductType()

In PBXTargetMapper.swift

func map(
        pbxTarget: PBXTarget,
        xcodeProj: XcodeProj,
        projectNativeTargets: [String: ProjectNativeTarget],
        packages: [AbsolutePath]
    ) async throws -> Target {

I naively assume this is due to it being a PBXAggregateTarget and not a PBXNativeTarget. So productType doesn’t exist as a key. But I’m not really so deep into pbx.