testSdk top-level property

AppleSdk? get testSdk

The iOS simulator SDK, or null when Xcode is unavailable (tests skip).

Implementation

AppleSdk? get testSdk {
  final sdk = XcodeLocator().locate();
  if (sdk == null || !File(sdk.libclangPath).existsSync()) return null;
  return sdk;
}