chat-sdk / chat-sdk-ios

Chat SDK iOS - Open Source Mobile Messenger
http://sdk.chat
Other
913 stars 275 forks source link

Can't add Backendless notifications #26

Closed YuryRadchenko closed 7 years ago

YuryRadchenko commented 7 years ago

Project on Swift.

  1. Added the folder Backendless to ChatSDK/ChatSDKModules

  2. My podfile:

source 'https://github.com/CocoaPods/Specs.git'

target 'chattest' do

  pod "ChatSDK", :path => "../"
  pod "ChatSDKModules/Backendless", :path => "../ChatSDKModules"

end
  1. Run pod install
  2. Reopen Xcode

But in *-Bridging-Header.h :

#import <ChatSDK/ChatCore.h>
#import <ChatSDK/ChatUI.h>
#import <ChatSDK/ChatCoreData.h>
#import <ChatSDK/ChatFirebaseAdapter.h>
#import "BTwitterHelper.h"
#import <ChatSDKModules/BBackendlessPushHandler.h> //<------ 'ChatSDKModules/BBackendlessPushHandler.h' file not found

What do I wrong?

bensmiley commented 7 years ago

It's possible that this issue is caused by the move to the use_frameworks flag. According to the latest instructions, you should add the Backendless module by dragging it into your Xcode project.