klaviyo / klaviyo-react-native-sdk

MIT License
5 stars 5 forks source link

Expo SDK 50 Build Error #108

Closed bendrobinson1998 closed 8 months ago

bendrobinson1998 commented 8 months ago

Description

I am getting this error on build:

  1 | #import "KlaviyoReactNativeSdk.h"
> 2 | #import <klaviyo_react_native_sdk-Swift.h>
    |         ^ 'klaviyo_react_native_sdk-Swift.h' file not found
  3 | 
  4 | @implementation KlaviyoReactNativeSdk
  5 | RCT_EXPORT_MODULE()

Checklist

Expected behavior

No response

Actual behavior

No response

Steps to reproduce

No response

The Klaviyo React Native SDK version information

No response

Environment Description

No response

evan-masseau commented 8 months ago

Hi, while we have not tested against expo explicitly, we've have heard from a few users who saw this error and resolved it by cleaning their build directories, deleting derived data, and running a clean pod install. Based on the information you've provided, this is really all I can guess.

bendrobinson1998 commented 8 months ago

Guys this still isn't fixed, It seems to be IOS only. Can you please reopen this and re address it? Ive been trying all the suggestions and my environment is as recceomnded.

evan-masseau commented 7 months ago

The header import issue was patched in Version 0.2.1.