Cocoapods分解后生成错误

时间:2019-03-05 03:54:53

标签: ios xcode react-native cocoapods

我遵循以下指南:How to remove CocoaPods from a project?,因为我的podfile给我带来了很多麻烦。现在我收到此错误消息,不知道发生了什么

Undefined symbols for architecture x86_64:
  "_OBJC_CLASS_$_RCTEventEmitter", referenced from:
      _OBJC_CLASS_$_RCTLinkingManager in libRCTLinking.a(RCTLinkingManager.o)
  "_OBJC_METACLASS_$_RCTEventEmitter", referenced from:
      _OBJC_METACLASS_$_RCTLinkingManager in libRCTLinking.a(RCTLinkingManager.o)
  "_RCTRegisterModule", referenced from:
      +[RCTLinkingManager load] in libRCTLinking.a(RCTLinkingManager.o)
  "_RCTErrorUnspecified", referenced from:
      -[RCTLinkingManager openURL:resolve:reject:] in libRCTLinking.a(RCTLinkingManager.o)
  "_RCTRunningInAppExtension", referenced from:
      -[RCTLinkingManager canOpenURL:resolve:reject:] in libRCTLinking.a(RCTLinkingManager.o)
  "_RCTSharedApplication", referenced from:
      -[RCTLinkingManager openURL:resolve:reject:] in libRCTLinking.a(RCTLinkingManager.o)
      -[RCTLinkingManager canOpenURL:resolve:reject:] in libRCTLinking.a(RCTLinkingManager.o)
  "_OBJC_CLASS_$_RCTRootView", referenced from:
      objc-class-ref in AppDelegate.o
ld: symbol(s) not found for architecture x86_64
Undefined symbols for architecture x86_64:
  "_OBJC_CLASS_$_RCTEventEmitter", referenced from:
      _OBJC_CLASS_$_RCTLinkingManager in libRCTLinking.a(RCTLinkingManager.o)
  "_OBJC_METACLASS_$_RCTEventEmitter", referenced from:
      _OBJC_METACLASS_$_RCTLinkingManager in libRCTLinking.a(RCTLinkingManager.o)
  "_RCTRegisterModule", referenced from:
      +[RCTLinkingManager load] in libRCTLinking.a(RCTLinkingManager.o)
  "_RCTErrorUnspecified", referenced from:
      -[RCTLinkingManager openURL:resolve:reject:] in libRCTLinking.a(RCTLinkingManager.o)
  "_RCTRunningInAppExtension", referenced from:
      -[RCTLinkingManager canOpenURL:resolve:reject:] in libRCTLinking.a(RCTLinkingManager.o)
  "_RCTSharedApplication", referenced from:
      -[RCTLinkingManager openURL:resolve:reject:] in libRCTLinking.a(RCTLinkingManager.o)
      -[RCTLinkingManager canOpenURL:resolve:reject:] in libRCTLinking.a(RCTLinkingManager.o)
  "_OBJC_CLASS_$_RCTRootView", referenced from:
      objc-class-ref in AppDelegate.o
ld: symbol(s) not found for architecture x86_64

0 个答案:

没有答案