singular-labs / react-native-sdk

MIT License
5 stars 6 forks source link

'Singular-React-Native/SingularBridge.h' file not found #90

Closed moatasemyakhni closed 3 weeks ago

moatasemyakhni commented 3 months ago

steps:

this error appears in xcode 'Singular-React-Native/SingularBridge.h' file not found

AppDelegate.mm file content: `

import <Singular-React-Native/SingularBridge.h>

import "AppDelegate.h"

// ... stuff

} `

"react native": "0.71.13" "singular-react-native": "^3.5.1",

yuyongmao commented 2 months ago

use

import

moatasemyakhni commented 2 months ago

Thanks @yuyongmao for your suggestion. It worked normally after I removed from the podfile

use_frameworks! :linkage => :static

I was using it for firebase, but after removing it. I was able to run singular.

Shywim commented 2 months ago

Hello, using #import <Singular_React_Native/SingularBridge.h> works for me without changing anything to use_frameworks (we are also using Firebase)