ringcentral / engage-digital-messaging-ios

Engage Digital Messaging IOS SDK
Other
10 stars 6 forks source link

Linking fails on build for Simulator #30

Closed kei-sidorov closed 6 years ago

kei-sidorov commented 6 years ago

After update to v.1.8.0 linking fails with message:

ld: warning: ignoring file projectpath/Pods/Dimelo-iOS/Dimelo.framework/Dimelo
Undefined symbols for architecture x86_64:
  "_OBJC_CLASS_$_Dimelo", referenced from:
      l_protocol_conformances in Dimelo+ContactChatServiceProtocol.o
      objc-class-ref in DimeloChatService.o
      objc-class-ref in ContactChatViewController.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
waelba commented 6 years ago

Hello @kei-sidorov,

It's a Cocoapods bug, remove your pods, clean derived data then replace this on .podfile. pod 'Dimelo-iOS', :git => 'https://github.com/dimelo/Dimelo-iOS'

kei-sidorov commented 6 years ago

Hello! It doesn't helps. In Podfile: pod 'Dimelo-iOS', :git => 'https://github.com/dimelo/Dimelo-iOS.git', :commit => '9519db9' And I tried to clean Derived data folder before open this issue. Tried clean again -- still not compile.

waelba commented 6 years ago

Hello! Can you test only with pod 'Dimelo-iOS', :git => 'https://github.com/dimelo/Dimelo-iOS.git' ?

waelba commented 6 years ago

Hello @kei-sidorov!, You still have the problem ?

sdc-78 commented 6 years ago

Hello! I have the same problem. It seems you did not include binaries for x86_64 architecture. It seems to be the same problem as https://github.com/dimelo/Dimelo-iOS/issues/13.

DrissTM commented 6 years ago

Hi @sdc-78,

Which installation method are you trying to use ? CocoaPods or Framework ?

sdc-78 commented 6 years ago

Hi,

I use CocoaPods.

DrissTM commented 6 years ago

Can you provide with these informations:

waelba commented 6 years ago

Hi @sdc-78, Can you test this: