You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When building an application for iOS with new architecture enabled, with a non-release build, compilation fails with:
❌ app/node_modules/react-native-reanimated/apple/REAModule.mm:179:9: no visible @interface for 'REAModule' declares the selector 'setReaSurfacePresenter'
[self setReaSurfacePresenter];
This is due to #5901 removing the conditional #ifndef NDEBUG around the invocation of setReaSurfacePresenter, however the definition of this api is still wrapped in a conditional#ifndef NDEBUG block.
Reapplying the conditional to the invocation resolves the problem however I am unsure of expected behaviour here.
Steps to reproduce
Attempt to build a NON-RELEASE app for iOS using new architecture.
Snack or a link to a repository
NONE
Reanimated version
3.9.0-rc.1
React Native version
0.74.0-rc.9
Platforms
iOS
JavaScript runtime
Hermes
Workflow
React Native
Architecture
Fabric (New Architecture)
Build type
Debug app & dev bundle
Device
None
Device model
No response
Acknowledgements
Yes
The text was updated successfully, but these errors were encountered:
timbocole
changed the title
react-native-reanimated 3.9.0-rc.1 fails to build on iOS with new architecture enabled in non Release build
react-native-reanimated 3.9.0-rc.1 fails to build on iOS with new architecture enabled in Release build
Apr 22, 2024
Thanks for the fix - I can see now that I totally inverted the report though as was actually using a Release config without realising and got thrown by the double negative in the code 😂
## Summary
This PR fixes production build for iOS. In
#5901 I
called `setReaSurfacePresenter` method but this one was defined only on
debug build.
Fixes#5912
## Test plan
Run production build for iOS
## Summary
This PR fixes production build for iOS. In
#5901 I
called `setReaSurfacePresenter` method but this one was defined only on
debug build.
Fixes#5912
## Test plan
Run production build for iOS
Description
When building an application for iOS with new architecture enabled, with a non-release build, compilation fails with:
This is due to #5901 removing the conditional
#ifndef NDEBUG
around the invocation ofsetReaSurfacePresenter
, however the definition of this api is still wrapped in a conditional#ifndef NDEBUG
block.Reapplying the conditional to the invocation resolves the problem however I am unsure of expected behaviour here.
Steps to reproduce
Attempt to build a NON-RELEASE app for iOS using new architecture.
Snack or a link to a repository
NONE
Reanimated version
3.9.0-rc.1
React Native version
0.74.0-rc.9
Platforms
iOS
JavaScript runtime
Hermes
Workflow
React Native
Architecture
Fabric (New Architecture)
Build type
Debug app & dev bundle
Device
None
Device model
No response
Acknowledgements
Yes
The text was updated successfully, but these errors were encountered: