Zac Sweers
09/03/2025, 2:40 PMiosSimulatorArm64Main are not visible in FIR during iosMain compilation but are visible during IR. Is there a way to force compilation on a more specific set of inputs to see them in FIR? Or perhaps I'm misunderstanding how this part of the pipeline worksZac Sweers
09/03/2025, 2:40 PMYoussef Shoaib [MOD]
09/03/2025, 2:48 PMiosSimulatorArm64Main be visible? iosMain doesn't depend on it. It appearing in IR is probably because it just happened to be available I thinkZac Sweers
09/03/2025, 2:49 PMZac Sweers
09/03/2025, 2:50 PMZac Sweers
09/05/2025, 4:25 AMdmitriy.novozhilov
09/05/2025, 7:38 AMZac Sweers
09/05/2025, 1:21 PMHomePresenterFactory is a generated type (generated with KSP) into an iosSimulatorArm64Main source set. As best I understand, that’s a narrower source set under iosMain. However, it’s never seen by FIR plugins during compilation when compiling iosSimulatorArm64, as the narrowest FirSession it ever seems to get is iosMain. I encountered this while making this sample run on iOS and being surprised that it seemed like the metro plugin wasn’t running at all in iOS compilations: https://github.com/slackhq/circuit/pull/2184dmitriy.novozhilov
09/05/2025, 1:22 PMZac Sweers
09/05/2025, 1:24 PMZac Sweers
09/05/2025, 1:24 PMZac Sweers
09/09/2025, 8:26 AMiosMain but some of the supertypes it wants to see are only in iosSimulatorArm64, which does run in a later round of FIR. Basically, need to see if KSP can loosen its generation a bit here to allow for generating a common type to a hierarchical parent source set, otherwise anything processed here would need to be duplicated into all the iOS subtypes