walterholohan / react-native-crisp-chat-sdk

React-Native bridge for Crisp Chat iOS and Android SDK's
MIT License
70 stars 26 forks source link

iOS build failed because undeclared identifier 'CrispSDK' #97

Closed oneHamidreza closed 1 year ago

oneHamidreza commented 1 year ago

Hello,

I am trying to use the react-native-crisp-chat-sdk v0.12.0 in a react native project but for building iOS, i am getting this error :

#import <Crisp/Crisp-Swift.h>

[CrispSDK configureWithWebsiteID:@"YOUR_WEBSITE_ID"];
^ use of undeclared identifier 'CrispSDK'

React : 18.0.0 React Native : 0.69.6 Expo : 46.0.17 Xcode : 14.1

Sample project can be access from https://github.com/oneHamidreza/MyCrisp to reproduce error.

@walterholohan

kylegillen commented 1 year ago

Fix, here: https://github.com/walterholohan/react-native-crisp-chat-sdk/issues/67#issuecomment-1126813201