mirror of
https://github.com/status-im/react-native.git
synced 2025-02-26 16:10:58 +00:00
Fix codesign and enable in Wilde again
Reviewed By: michalgr Differential Revision: D3497518 fbshipit-source-id: 615679fdfa22f9a03535248ebaa80ff9aa2e9e71
This commit is contained in:
parent
aa0efd2e64
commit
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());
|
||||
}
|
||||
}
|
||||
});
|
||||
|
Loading…
x
Reference in New Issue
Block a user