首页 > 解决方案 > 在“__strong id”类型的对象上找不到属性“桥”

问题描述

我试图在 Xcode 12 上构建,AppleDelegate.m 文件中发生了这个错误:

- (void)appController:(EXUpdatesAppController *)appController didStartWithSuccess:(BOOL)success {
  appController.bridge = [self initializeReactNativeApp];
  EXSplashScreenService *splashScreenService = (EXSplashScreenService *)[UMModuleRegistryProvider getSingletonModuleForClass:[EXSplashScreenService class]];
  [splashScreenService showSplashScreenFor:self.window.rootViewController];
}

它显示错误消息:'预期类型'和'属性'桥'在类型'__strong id'的对象上找不到'

标签: iosreact-native

解决方案


推荐阅读