yoomoney / yookassa-payments-swift

This library allows implementing payment acceptance into mobile apps on iOS and works as an extension to the YooMoney API
https://yookassa.ru/developers
MIT License
41 stars 41 forks source link

Ошибка - missing required architecture i386 in file #70

Closed dimabulash closed 3 years ago

dimabulash commented 4 years ago

При создании схем появляется ошибка, проект не билдится:

ld: warning: ignoring file /Users/UserName/Documents/ProjectName/Frameworks/TMXProfiling.framework/TMXProfiling, missing required architecture i386 in file /Users/UserName/Documents/ProjectName/Frameworks/TMXProfiling.framework/TMXProfiling (4 slices)
Undefined symbols for architecture i386:
"_TMXSessionID", referenced from:
      static YandexCheckoutPayments.ThreatMetrixService.(handleProfilingResult in _494410973FF5E845E89AB1306ACCEB6D)([Swift.AnyHashable : Any]?) -> () in ThreatMetrixService.o
  "_TMXProfileTimeout", referenced from:
      function signature specialization <Arg[0] = Dead> of closure #1 () -> () in static YandexCheckoutPayments.ThreatMetrixService.configure() -> () in ThreatMetrixService.o
  "_TMXFingerprintServer", referenced from:
      function signature specialization <Arg[0] = Dead> of closure #1 () -> () in static YandexCheckoutPayments.ThreatMetrixService.configure() -> () in ThreatMetrixService.o
  "_TMXOrgID", referenced from:
      function signature specialization <Arg[0] = Dead> of closure #1 () -> () in static YandexCheckoutPayments.ThreatMetrixService.configure() -> () in ThreatMetrixService.o
  "_TMXProfileStatus", referenced from:
      static YandexCheckoutPayments.ThreatMetrixService.(handleProfilingResult in _494410973FF5E845E89AB1306ACCEB6D)([Swift.AnyHashable : Any]?) -> () in ThreatMetrixService.o
  "_TMXLocationServices", referenced from:
      function signature specialization <Arg[0] = Dead> of closure #1 () -> () in static YandexCheckoutPayments.ThreatMetrixService.configure() -> () in ThreatMetrixService.o
  "_OBJC_CLASS_$_TMXProfiling", referenced from:
      objc-class-ref in ThreatMetrixService.o
ld: symbol(s) not found for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)
oltv00 commented 3 years ago

@dimabulash привет!

подскажи, актуальна ли проблема ? к сожалению подобное поведение у меня воспроизвести не получилось.

есть более подробные шаги к воспроизведению ?

starxor commented 3 years ago

Необходимо получить обновленные библиотеки TMX