Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Xcode build failed with errors #132

Closed
RoyRao2333 opened this issue Aug 9, 2024 · 14 comments
Closed

Xcode build failed with errors #132

RoyRao2333 opened this issue Aug 9, 2024 · 14 comments

Comments

@RoyRao2333
Copy link

react-native-haptic-feedback@2.3.1 and react-native@0.74.2 with Xcode 15.4

After pod install, I got these errors when build using Xcode:

image

If I follow Manual Setup Guide - iOS, I got:

image

I tried to delete DerivedData and reinstall pods, but no luck.

@ben-upaged
Copy link

I get the same error: "'React/RCTBridgeModule.h' file not found".

Also using the same Xcode 15.4, react-native-haptic-feedback 2.3.1, and react-native 0.74.2

@llr101
Copy link

llr101 commented Aug 13, 2024

same error with 0.75.0-rc.7

@avoc-ado
Copy link

same error in 0.75.1, expo 51

@bogrees
Copy link

bogrees commented Aug 23, 2024

same error with 0.75.2, any idea how to fix this?

@ajiehatajie
Copy link

sames issue

@bogrees
Copy link

bogrees commented Aug 28, 2024

A little more info on this, the build error occurs with the New Architecture enabled in iOS.. set that to 0, and it will build, not ideal tho.

ENV['RCT_NEW_ARCH_ENABLED'] = '1' in the Podfile --> causes build error

@huextrat
Copy link
Contributor

huextrat commented Sep 2, 2024

New arch on RN 0.75.2 is also on failure when building iOS

@WoLewicki
Copy link
Contributor

Can you check if #133 fixes the problem?

@huextrat
Copy link
Contributor

huextrat commented Sep 2, 2024

@WoLewicki I've just tried a patch and it seems to work (at least iOS is building now)

@sambarneyrailspire
Copy link

A little more info on this, the build error occurs with the New Architecture enabled in iOS.. set that to 0, and it will build, not ideal tho.

ENV['RCT_NEW_ARCH_ENABLED'] = '1' in the Podfile --> causes build error

this solution === if the tires on your truck aren't working because their the wrong size, just don't drive the truck.

@akindoju
Copy link

Hey, What patch? @huextrat

@huextrat
Copy link
Contributor

huextrat commented Sep 11, 2024

@akindoju I made my patch from #133 which is now merged so it'll be fixed on next version cc @mkuczera

@losh11
Copy link

losh11 commented Sep 15, 2024

Would really appreciate if we could get a new release soon :)

@mkuczera
Copy link
Owner

Released as v2.3.2 . Sorry, didn´t have time before

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests