extractObjCFixtures function
Parses the synthetic fixtures and extracts the NABFixtures module.
Implementation
ApiModule extractObjCFixtures(AppleSdk sdk) {
final ex = ObjCExtractor(
libclangPath: sdk.libclangPath,
sysroot: sdk.path,
target: 'arm64-apple-ios13.0-simulator',
sdkVersion: 'fixture',
fixtureModule: 'NABFixtures',
sourceKind: 'fixture',
)..parse(const [], headerFiles: [fixtureHeader(findRepoRoot())]);
return ex.extract(const ObjCRequest(frameworks: ['NABFixtures'], depth: 0));
}