Как стакнуть си-шную библиотеку (.а) с флагом « -ObjC »?

В проект подключена библиотека с расширением .а. Когда в секции Other Linker Flags section добавляешь флаг "-ObjC. " проект перестает билдаться с ошибкой .. Добавляю флаг, т.к. использую GoogleMap SDK. Без этой библиотеки тоже не обойтись. Какие варианты могут быть?

duplicate symbol _gIsOpen in:
    /Users/user1/Documents/AvCryptoMobile4iOS/SDK/drivers/Feitian/lib/libiRockey301_ccid_debug.a(EADSessionController.o)
    /Users/user1/Documents/AvCryptoMobile4iOS/SDK/drivers/Feitian/lib/libiRockey301_ccid.a(EADSessionController.o)
duplicate symbol _OBJC_IVAR_$_EADSessionController._session in:
    /Users/user1/Documents/AvCryptoMobile4iOS/SDK/drivers/Feitian/lib/libiRockey301_ccid_debug.a(EADSessionController.o)
    /Users/user1/Documents/AvCryptoMobile4iOS/SDK/drivers/Feitian/lib/libiRockey301_ccid.a(EADSessionController.o)
duplicate symbol _g_nReadbufLen in:
    /Users/user1/Documents/AvCryptoMobile4iOS/SDK/drivers/Feitian/lib/libiRockey301_ccid_debug.a(EADSessionController.o)
    /Users/user1/Documents/AvCryptoMobile4iOS/SDK/drivers/Feitian/lib/libiRockey301_ccid.a(EADSessionController.o)
duplicate symbol _g_nWritebufLen in:
    /Users/user1/Documents/AvCryptoMobile4iOS/SDK/drivers/Feitian/lib/libiRockey301_ccid_debug.a(EADSessionController.o)
    /Users/user1/Documents/AvCryptoMobile4iOS/SDK/drivers/Feitian/lib/libiRockey301_ccid.a(EADSessionController.o)
duplicate symbol _OBJC_IVAR_$_EADSessionController.detegate in:
    /Users/user1/Documents/AvCryptoMobile4iOS/SDK/drivers/Feitian/lib/libiRockey301_ccid_debug.a(EADSessionController.o)
    /Users/user1/Documents/AvCryptoMobile4iOS/SDK/drivers/Feitian/lib/libiRockey301_ccid.a(EADSessionController.o)
duplicate symbol _g_dwTimeOut in:
    /Users/user1/Documents/AvCryptoMobile4iOS/SDK/drivers/Feitian/lib/libiRockey301_ccid_debug.a(EADSessionController.o)
    /Users/user1/Documents/AvCryptoMobile4iOS/SDK/drivers/Feitian/lib/libiRockey301_ccid.a(EADSessionController.o)
duplicate symbol _OBJC_IVAR_$_EADSessionController._theLock in:
    /Users/user1/Documents/AvCryptoMobile4iOS/SDK/drivers/Feitian/lib/libiRockey301_ccid_debug.a(EADSessionController.o)
    /Users/user1/Documents/AvCryptoMobile4iOS/SDK/drivers/Feitian/lib/libiRockey301_ccid.a(EADSessionController.o)
duplicate symbol _OBJC_IVAR_$_EADSessionController._protocolString in:
    /Users/user1/Documents/AvCryptoMobile4iOS/SDK/drivers/Feitian/lib/libiRockey301_ccid_debug.a(EADSessionController.o)
    /Users/user1/Documents/AvCryptoMobile4iOS/SDK/drivers/Feitian/lib/libiRockey301_ccid.a(EADSessionController.o)
duplicate symbol _OBJC_IVAR_$_EADSessionController._accessory in:
    /Users/user1/Documents/AvCryptoMobile4iOS/SDK/drivers/Feitian/lib/libiRockey301_ccid_debug.a(EADSessionController.o)
    /Users/user1/Documents/AvCryptoMobile4iOS/SDK/drivers/Feitian/lib/libiRockey301_ccid.a(EADSessionController.o)
duplicate symbol _gDevType in:
    /Users/user1/Documents/AvCryptoMobile4iOS/SDK/drivers/Feitian/lib/libiRockey301_ccid_debug.a(EADSessionController.o)
    /Users/user1/Documents/AvCryptoMobile4iOS/SDK/drivers/Feitian/lib/libiRockey301_ccid.a(EADSessionController.o)
duplicate symbol _bIsDidEnterBackground in:
    /Users/user1/Documents/AvCryptoMobile4iOS/SDK/drivers/Feitian/lib/libiRockey301_ccid_debug.a(EADSessionController.o)
    /Users/user1/Documents/AvCryptoMobile4iOS/SDK/drivers/Feitian/lib/libiRockey301_ccid.a(EADSessionController.o)
duplicate symbol _OBJC_IVAR_$_EADSessionController._createThread in:
    /Users/user1/Documents/AvCryptoMobile4iOS/SDK/drivers/Feitian/lib/libiRockey301_ccid_debug.a(EADSessionController.o)
    /Users/user1/Documents/AvCryptoMobile4iOS/SDK/drivers/Feitian/lib/libiRockey301_ccid.a(EADSessionController.o)
duplicate symbol _OBJC_CLASS_$_EADSessionController in:
    /Users/user1/Documents/AvCryptoMobile4iOS/SDK/drivers/Feitian/lib/libiRockey301_ccid_debug.a(EADSessionController.o)
    /Users/user1/Documents/AvCryptoMobile4iOS/SDK/drivers/Feitian/lib/libiRockey301_ccid.a(EADSessionController.o)
duplicate symbol _OBJC_METACLASS_$_EADSessionController in:
    /Users/user1/Documents/AvCryptoMobile4iOS/SDK/drivers/Feitian/lib/libiRockey301_ccid_debug.a(EADSessionController.o)
    /Users/user1/Documents/AvCryptoMobile4iOS/SDK/drivers/Feitian/lib/libiRockey301_ccid.a(EADSessionController.o)
duplicate symbol _OBJC_CLASS_$_ReaderInterface in:
    /Users/user1/Documents/AvCryptoMobile4iOS/SDK/drivers/Feitian/lib/libiRockey301_ccid_debug.a(ReaderInterface.o)
    /Users/user1/Documents/AvCryptoMobile4iOS/SDK/drivers/Feitian/lib/libiRockey301_ccid.a(ReaderInterface.o)
duplicate symbol _OBJC_METACLASS_$_ReaderInterface in:
    /Users/user1/Documents/AvCryptoMobile4iOS/SDK/drivers/Feitian/lib/libiRockey301_ccid_debug.a(ReaderInterface.o)
    /Users/user1/Documents/AvCryptoMobile4iOS/SDK/drivers/Feitian/lib/libiRockey301_ccid.a(ReaderInterface.o)
ld: 17 duplicate symbols for architecture armv7
clang: error:
  • Вопрос задан
  • 2407 просмотров
Решения вопроса 1
@maxonflic Автор вопроса
-force_load
$(PROJECT_DIR)/GoogleMaps.framework/GoogleMaps
$(inherited)
Ответ написан
Комментировать
Пригласить эксперта
Ваш ответ на вопрос

Войдите, чтобы написать ответ

Похожие вопросы