Skip to content

symbol(s) not found for architecture x86_64 #1123

@Cyberfolks

Description

@Cyberfolks

react native ^0.59.10.
react: 16.8.3
react-native-fcm 16.2.4

Undefined symbols for architecture x86_64:
"_FIRMessagingConnectionStateChangedNotification", referenced from:
-[RNFIRMessaging init] in libRNFIRMessaging.a(RNFIRMessaging.o)
"_FIRMessagingSendErrorNotification", referenced from:
-[RNFIRMessaging init] in libRNFIRMessaging.a(RNFIRMessaging.o)
"_FIRMessagingSendSuccessNotification", referenced from:
-[RNFIRMessaging init] in libRNFIRMessaging.a(RNFIRMessaging.o)
"OBJC_CLASS$_FIRApp", referenced from:
objc-class-ref in AppDelegate.o
"OBJC_CLASS$_FIRInstanceID", referenced from:
objc-class-ref in libRNFIRMessaging.a(RNFIRMessaging.o)
"OBJC_CLASS$_FIRMessaging", referenced from:
objc-class-ref in libRNFIRMessaging.a(RNFIRMessaging.o)
"OBJC_CLASS$_FIROptions", referenced from:
objc-class-ref in libRNFIRMessaging.a(RNFIRMessaging.o)
"_kFIRInstanceIDScopeFirebaseMessaging", referenced from:
-[RNFIRMessaging getEntityFCMToken:rejecter:] in libRNFIRMessaging.a(RNFIRMessaging.o)
-[RNFIRMessaging deleteEntityFCMToken:rejecter:] in libRNFIRMessaging.a(RNFIRMessaging.o)
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions