Commit 67d3e3b
committed
Fix RNTesterUnitTests build by importing react/bridging/ArrayBuffer.h
RCTTurboModuleArrayBufferTests.mm uses detail::OwnedBytesBuffer, which
lives in facebook::react::detail in react/bridging/ArrayBuffer.h, but
never imports that header. In the OSS pods build (yarn test-ios /
scripts/objc-test.sh) nothing pulls it in transitively, so detail
resolves to facebook::jsi::detail and RNTesterUnitTests fails to
compile before running a single test. The file already has
"using namespace facebook::react", so the import is the whole fix.1 parent 042833e commit 67d3e3b
1 file changed
Lines changed: 1 addition & 0 deletions
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| 14 | + | |
14 | 15 | | |
15 | 16 | | |
16 | 17 | | |
| |||
0 commit comments