Fix codesign and enable in Wilde again

Reviewed By: michalgr

Differential Revision: D3497518

fbshipit-source-id: 615679fdfa22f9a03535248ebaa80ff9aa2e9e71
This commit is contained in:
Alexey Lang 2016-07-01 04:41:44 -07:00 коммит произвёл Facebook Github Bot 5
Родитель aa0efd2e64
Коммит 6a1324e8f6
1 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -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());
}
}
});