Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

解决react-nativev68 ios debug 报错的问题 #33

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

fencer-yd
Copy link

@fencer-yd fencer-yd commented Jun 15, 2022

产生问题的链接 #33451

image

@fencer-yd
Copy link
Author

fencer-yd commented Jun 15, 2022

如果着急的话,可以先用patch文件 jverification-react-native+2.5.5.patch

diff --git a/node_modules/jverification-react-native/ios/RCTJVerificationModule/RCTJVerificationModule.m b/node_modules/jverification-react-native/ios/RCTJVerificationModule/RCTJVerificationModule.m
index 3fb6b06..04a2bb0 100644
--- a/node_modules/jverification-react-native/ios/RCTJVerificationModule/RCTJVerificationModule.m
+++ b/node_modules/jverification-react-native/ios/RCTJVerificationModule/RCTJVerificationModule.m
@@ -223,7 +223,7 @@ + (BOOL)requiresMainQueueSetup
                     rctView = [[RCTRootView alloc] initWithBridge:self.bridge moduleName:viewParams[i][CUSTOM_VIEW_NAME] initialProperties:nil];
                 }
                 else {
-                    NSURL *jsCodeLocation = [[RCTBundleURLProvider sharedSettings] jsBundleURLForBundleRoot:@"index" fallbackResource:nil];
+                    NSURL *jsCodeLocation = [[RCTBundleURLProvider sharedSettings] jsBundleURLForBundleRoot:@"index"];
                     rctView = [[RCTRootView alloc] initWithBundleURL:jsCodeLocation moduleName:viewParams[i][CUSTOM_VIEW_NAME] initialProperties:nil launchOptions:nil];
                 }
                 NSArray *point = viewParams[i][CUSTOM_VIEW_POINT];

@yanlongqi
Copy link

我也遇到你这个问题了,按照你这个解决了

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants