mkuczera/react-native-haptic-feedback

Xcode build failed with errors

Closed this issue · 14 comments

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.

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

same error with 0.75.0-rc.7

same error in 0.75.1, expo 51

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

sames issue

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

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

Can you check if #133 fixes the problem?

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

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.

Hey, What patch? @huextrat

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

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

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