Fix codesign and enable in Wilde again
Reviewed By: michalgr Differential Revision: D3497518 fbshipit-source-id: 615679fdfa22f9a03535248ebaa80ff9aa2e9e71
This commit is contained in:
Родитель
aa0efd2e64
Коммит
6a1324e8f6
|
@ -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());
|
||||
}
|
||||
}
|
||||
});
|
||||
|
|
Загрузка…
Ссылка в новой задаче