mkuczera / react-native-haptic-feedback

React-Native Haptic Feedback for iOS with Android similar behaviour.
MIT License
855 stars 103 forks source link

Build Process Error "Undefined symbol: _AudioServicesPlaySystemSound" #118

Open babzcraig opened 9 months ago

babzcraig commented 9 months ago

After upgrading to v2.2.0 we are getting the following error during the build process.

Screenshot 2023-11-06 at 2 37 30 PM

We've tried manually setting up iOS based on the docs but when we attempt to add RNReactNativeHapticFeedback.xcodeproj to the Libraries and move to the next step, it does not show up when we attempt to 'Link Binary To Libraries'. libRNReactNativeHapticFeedback.a is not listed as one of the libraries available.

We can also confirm that attempting to click on RNReactNativeHapticFeedback.xcodeproj in the Library dropdown yields a 'The file could not be opened.' popup.

Screenshot 2023-11-06 at 3 01 11 PM Screenshot 2023-11-06 at 2 55 41 PM

This error also goes away if we manually link the Audiotoolbox.framework to the package. Any help would be appreciated.

bbfnovikows commented 9 months ago

same

JimTeva commented 8 months ago

Same error on xcode 15.0.1, RN 0.72.6, react-native-haptic-feedback 2.2.0/2.1.0. And Same problem when manually setting up on IOS.

kyoung-jnn commented 4 months ago

Same, Only iOS settings can fix this error.

스크린샷 2024-03-28 오후 4 02 06 스크린샷 2024-03-28 오후 4 01 53