Skip to content

Commit 79b9c41

Browse files
committed
fix(iOS): classify CFNetwork as a system framework in the header include-health ratchet
The compose-xcframework job's "Verify composed headers" step failed the include-health ratchet with two NEW unresolvable includes: unresolved CoreModules/RCTInspectorWebSocketReporter.h -> CFNetwork/CFNetwork.h unresolved React/RCTInspectorWebSocketReporter.h -> CFNetwork/CFNetwork.h RCTInspectorWebSocketReporter.h (#57543) imports <CFNetwork/CFNetwork.h> for CFHTTPMessageRef. CFNetwork is a real Apple system framework, always available in the SDK, but it was missing from the SDK_PREFIXES allowlist in headers-inventory.js, so the ratchet classified the include as unresolvable. Adding it alongside CoreFoundation/Security/Network fixes the classification; no baseline change is needed.
1 parent 00efc0a commit 79b9c41

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

packages/react-native/scripts/ios-prebuild/headers-inventory.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,7 @@ const SDK_PREFIXES = new Set([
8686
'Accessibility',
8787
'AVFoundation',
8888
'AVKit',
89+
'CFNetwork',
8990
'CommonCrypto',
9091
'CoreFoundation',
9192
'CoreGraphics',

0 commit comments

Comments
 (0)