私はSinchサービスを初めて使用します。現在、Cocoapodsを介して「SinchRTC」とともに「SinchService」を使用しようとしていますが、Xcodeから次のエラーが表示されます。
アーキテクチャ x86_64 の未定義のシンボル:
"_OBJC_CLASS_$_Sinch"、参照先: SINService.o の objc-class-ref (おそらく: _OBJC_CLASS_$_SinchService)
"_SINApplicationDidReceiveRemoteNotification"、参照元: -[SINService initWithConfig:] SINService.o -[SINService dealloc] SINService.o
"_SINClientDidFailNotification" から参照: -[SINSClientsObserver init] SINSClientsObserver.o -[SINSClientsObserver dealloc] SINSClientsObserver.o
"_SINClientDidStartNotification" から参照: -[SINSClientsObserver init] SINSClientsObserver.o -[SINSClientsObserver dealloc] SINSClientsObserver.o
「_SINClientWillTerminateNotification」、次から参照: -[SINSClientsObserver init] SINSClientsObserver.o -[SINSClientsObserver dealloc] SINSClientsObserver.o
「_SINRemoteNotificationKey」、次から参照: -[SINService onDidReceiveRemoteNotification:] SINService.o
ld: シンボルが見つかりませんアーキテクチャ x86_64 の場合、
clang: エラー: リンカー コマンドが終了コード 1 で失敗しました (-v を使用して呼び出しを確認してください)
Podfile から「SinchService」を削除すると、Xcode によってエラーがスローされません。この問題に関するヘルプをいただければ幸いです。
私のポッドファイル:
platform :ios, '8.4'
source ' https://github.com/CocoaPods/Specs.git '
use_frameworks!
target 'Conversa' do
pod 'ParseUI'
pod 'Parse'
pod 'SinchService'
pod 'SinchRTC'
pod 'YapDatabase/SQLCipher'
pod 'GoogleMaps'
pod 'JSQMessagesViewController'
pod 'Whisper'
pod 'OHQBImagePicker'
pod 'Buglife'
pod 'Branch '
pod 'TTTAttributedLabel'
pod 'JVFloatLabeledTextField'
pod 'MBProgressHUD', '~> 0.9.1'
pod 'Appirater'
pod '
pod 'SSKeychain'
pod 'Mantle', '~> 2.0'
pod 'DGActivityIndicatorView'
end