Skip to content

Build conflict with Mixpanel #14

@jiashenwang

Description

@jiashenwang

For IOS, I encountered build conflict problem after I do react-native link react-native-exception-handler ( it works fine without linking ).

This following are the error messages:

duplicate symbol _UncaughtExceptionHandlerAddressesKey in:
   /<project_path>/ios/build/Build/Products/Debug-iphonesimulator/Mixpanel/libMixpanel.a(MixpanelExceptionHandler.o)
   /<project_path>/ios/build/Build/Products/Debug-iphonesimulator/libReactNativeExceptionHandler.a(ReactNativeExceptionHandler.o)
duplicate symbol _UncaughtExceptionHandlerSignalKey in:
   /<project_path>/ios/build/Build/Products/Debug-iphonesimulator/Mixpanel/libMixpanel.a(MixpanelExceptionHandler.o)
   /<project_path>/ios/build/Build/Products/Debug-iphonesimulator/libReactNativeExceptionHandler.a(ReactNativeExceptionHandler.o)
duplicate symbol _UncaughtExceptionHandlerReportAddressCount in:
   /<project_path>/ios/build/Build/Products/Debug-iphonesimulator/Mixpanel/libMixpanel.a(MixpanelExceptionHandler.o)
   /<project_path>/ios/build/Build/Products/Debug-iphonesimulator/libReactNativeExceptionHandler.a(ReactNativeExceptionHandler.o)
duplicate symbol _UncaughtExceptionHandlerSkipAddressCount in:
   /<project_path>/ios/build/Build/Products/Debug-iphonesimulator/Mixpanel/libMixpanel.a(MixpanelExceptionHandler.o)
   /<project_path>/ios/build/Build/Products/Debug-iphonesimulator/libReactNativeExceptionHandler.a(ReactNativeExceptionHandler.o)
duplicate symbol _UncaughtExceptionCount in:
   /<project_path>/ios/build/Build/Products/Debug-iphonesimulator/Mixpanel/libMixpanel.a(MixpanelExceptionHandler.o)
   /<project_path>/ios/build/Build/Products/Debug-iphonesimulator/libReactNativeExceptionHandler.a(ReactNativeExceptionHandler.o)
duplicate symbol _UncaughtExceptionMaximum in:
   /<project_path>/ios/build/Build/Products/Debug-iphonesimulator/Mixpanel/libMixpanel.a(MixpanelExceptionHandler.o)
   /<project_path>/ios/build/Build/Products/Debug-iphonesimulator/libReactNativeExceptionHandler.a(ReactNativeExceptionHandler.o)
duplicate symbol _UncaughtExceptionHandlerSignalExceptionName in:
   /<project_path>/ios/build/Build/Products/Debug-iphonesimulator/Mixpanel/libMixpanel.a(MixpanelExceptionHandler.o)
   /<project_path>/ios/build/Build/Products/Debug-iphonesimulator/libReactNativeExceptionHandler.a(ReactNativeExceptionHandler.o)
ld: 7 duplicate symbols 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