Я хочу разработать приложение IOS React-Native, которое будет работать с устройством Honeywell SL22, Iphone 6/6s plus подключено к этому устройству и может использоваться для быстрого сканирования штрих-кодов, QR-кодов ... и т.д., Но у меня нет Honeywell SL22 Только эмулятор устройства. Единственный способ заставить приложение работать с этим эмулятором - это связать lib Emulator.a с проектом IOS React Native и запустить приложение Emulator и IOS на Xcode iphone 6 Simulator.

Проблема заключается в том, что когда файлы CaptuvoSDK.h и Emulator.a связаны в проекте IOS, я получаю эту ошибку при компиляции.

    duplicate symbol _OBJC_IVAR_$_MockData.IPaddress_ in:
    /Users/stefanjovic/Documents/workspace/scanner-react-native/ios/Honeywell/Lib/libCaptuvoSDK_Debug.a(MockData.o)
    /Users/stefanjovic/Documents/workspace/scanner-react-native/ios/Honeywell/Lib/libCaptuvoSDK.a(MockData.o)
duplicate symbol _OBJC_IVAR_$_MockData.MsrQueue_ in:
    /Users/stefanjovic/Documents/workspace/scanner-react-native/ios/Honeywell/Lib/libCaptuvoSDK_Debug.a(MockData.o)
    /Users/stefanjovic/Documents/workspace/scanner-react-native/ios/Honeywell/Lib/libCaptuvoSDK.a(MockData.o)
duplicate symbol _OBJC_IVAR_$_MockData.barcodeQueue_ in:
    /Users/stefanjovic/Documents/workspace/scanner-react-native/ios/Honeywell/Lib/libCaptuvoSDK_Debug.a(MockData.o)
    /Users/stefanjovic/Documents/workspace/scanner-react-native/ios/Honeywell/Lib/libCaptuvoSDK.a(MockData.o)
duplicate symbol _OBJC_CLASS_$_EmuDecProcessor in:
    /Users/stefanjovic/Documents/workspace/scanner-react-native/ios/Honeywell/Lib/libCaptuvoSDK_Debug.a(EmuDecProcessor.o)
    /Users/stefanjovic/Documents/workspace/scanner-react-native/ios/Honeywell/Lib/libCaptuvoSDK.a(EmuDecProcessor.o)
duplicate symbol _OBJC_METACLASS_$_EmuDecProcessor in:
    /Users/stefanjovic/Documents/workspace/scanner-react-native/ios/Honeywell/Lib/libCaptuvoSDK_Debug.a(EmuDecProcessor.o)
    /Users/stefanjovic/Documents/workspace/scanner-react-native/ios/Honeywell/Lib/libCaptuvoSDK.a(EmuDecProcessor.o)
duplicate symbol _OBJC_IVAR_$_EmuDecProcessor._mockData in:
    /Users/stefanjovic/Documents/workspace/scanner-react-native/ios/Honeywell/Lib/libCaptuvoSDK_Debug.a(EmuDecProcessor.o)
    /Users/stefanjovic/Documents/workspace/scanner-react-native/ios/Honeywell/Lib/libCaptuvoSDK.a(EmuDecProcessor.o)
duplicate symbol _OBJC_CLASS_$_EmuMsrProcessor in:
    /Users/stefanjovic/Documents/workspace/scanner-react-native/ios/Honeywell/Lib/libCaptuvoSDK_Debug.a(EmuMsrProcessor.o)
    /Users/stefanjovic/Documents/workspace/scanner-react-native/ios/Honeywell/Lib/libCaptuvoSDK.a(EmuMsrProcessor.o)
duplicate symbol _OBJC_METACLASS_$_EmuMsrProcessor in:
    /Users/stefanjovic/Documents/workspace/scanner-react-native/ios/Honeywell/Lib/libCaptuvoSDK_Debug.a(EmuMsrProcessor.o)
    /Users/stefanjovic/Documents/workspace/scanner-react-native/ios/Honeywell/Lib/libCaptuvoSDK.a(EmuMsrProcessor.o)
duplicate symbol _OBJC_IVAR_$_EmuMsrProcessor._mockData in:
    /Users/stefanjovic/Documents/workspace/scanner-react-native/ios/Honeywell/Lib/libCaptuvoSDK_Debug.a(EmuMsrProcessor.o)
    /Users/stefanjovic/Documents/workspace/scanner-react-native/ios/Honeywell/Lib/libCaptuvoSDK.a(EmuMsrProcessor.o)
duplicate symbol _OBJC_CLASS_$_EmuIpinfo in:
    /Users/stefanjovic/Documents/workspace/scanner-react-native/ios/Honeywell/Lib/libCaptuvoSDK_Debug.a(EmuIpinfo.o)
    /Users/stefanjovic/Documents/workspace/scanner-react-native/ios/Honeywell/Lib/libCaptuvoSDK.a(EmuIpinfo.o)
duplicate symbol _OBJC_METACLASS_$_EmuIpinfo in:
    /Users/stefanjovic/Documents/workspace/scanner-react-native/ios/Honeywell/Lib/libCaptuvoSDK_Debug.a(EmuIpinfo.o)
    /Users/stefanjovic/Documents/workspace/scanner-react-native/ios/Honeywell/Lib/libCaptuvoSDK.a(EmuIpinfo.o)
duplicate symbol _OBJC_IVAR_$_EmuIpinfo._mockData in:
    /Users/stefanjovic/Documents/workspace/scanner-react-native/ios/Honeywell/Lib/libCaptuvoSDK_Debug.a(EmuIpinfo.o)
    /Users/stefanjovic/Documents/workspace/scanner-react-native/ios/Honeywell/Lib/libCaptuvoSDK.a(EmuIpinfo.o)
duplicate symbol _OBJC_CLASS_$_CaptuvoUtility in:
    /Users/stefanjovic/Documents/workspace/scanner-react-native/ios/Honeywell/Lib/libCaptuvoSDK_Debug.a(CaptuvoUtility.o)
    /Users/stefanjovic/Documents/workspace/scanner-react-native/ios/Honeywell/Lib/libCaptuvoSDK.a(CaptuvoUtility.o)
duplicate symbol _OBJC_METACLASS_$_CaptuvoUtility in:
    /Users/stefanjovic/Documents/workspace/scanner-react-native/ios/Honeywell/Lib/libCaptuvoSDK_Debug.a(CaptuvoUtility.o)
    /Users/stefanjovic/Documents/workspace/scanner-react-native/ios/Honeywell/Lib/libCaptuvoSDK.a(CaptuvoUtility.o)
ld: 776 duplicate symbols for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

Кто-нибудь знает, как это можно исправить?

0