From 6a1324e8f631456e125e011aec535557247780dd Mon Sep 17 00:00:00 2001 From: Alexey Lang Date: Fri, 1 Jul 2016 04:41:44 -0700 Subject: [PATCH] Fix codesign and enable in Wilde again Reviewed By: michalgr Differential Revision: D3497518 fbshipit-source-id: 615679fdfa22f9a03535248ebaa80ff9aa2e9e71 --- React/Executors/RCTJSCWrapper.mm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/React/Executors/RCTJSCWrapper.mm b/React/Executors/RCTJSCWrapper.mm index 4da53aeaa..eb7696f09 100644 --- a/React/Executors/RCTJSCWrapper.mm +++ b/React/Executors/RCTJSCWrapper.mm @@ -24,13 +24,13 @@ static void *RCTCustomLibraryHandler(void) dispatch_once(&token, ^{ const char *path = [[[NSBundle mainBundle] pathForResource:@"JavaScriptCore" ofType:nil - inDirectory:@"JavaScriptCore.framework"] UTF8String]; + inDirectory:@"Frameworks/JavaScriptCore.framework"] UTF8String]; if (path) { RCTPerformanceLoggerStart(RCTPLJSCWrapperOpenLibrary); handler = dlopen(path, RTLD_LAZY); RCTPerformanceLoggerEnd(RCTPLJSCWrapperOpenLibrary); if (!handler) { - RCTLogWarn(@"Can't load custome JSC library: %s", dlerror()); + RCTLogWarn(@"Can't load custom JSC library: %s", dlerror()); } } });