Thank you for responding Quinn! For reference for other who are encountering the same problem, or for myself many months from now when I encounter it again and forget how I fixed it, I am writing this reply. The problem was with the file node_nodules/react-native/ReactCommon/jsc/JSCRuntime.cpp. This little chunk of code starts at line 361:
JSCRuntime::JSCRuntime(JSGlobalContextRef ctx)
: ctx_(JSGlobalContextRetain(ctx)),
ctxInvalid_(false)
#ifndef NDEBUG
,
objectCounter_(0),
stringCounter_(0)
#endif
{
#ifndef NDEBUG
#ifdef _JSC_HAS_INSPECTABLE
/* Causes dyld symbol not found error
if (__builtin_available(macOS 13.3, iOS 16.4, tvOS 16.4, *)) {
JSGlobalContextSetInspectable(ctx_, true);
*/
#endif
#endif
}
By commenting out the portion that uses JSGlobalContextSetInspectable, I was able to make the dyld[935]: Symbol not found: (_JSGlobalContextSetInspectable) error stop occurring.