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

Build error in macOS Catalyst. (Solution provided!) Cannot initialize a parameter of type 'BOOL' (aka 'signed char') #84

Closed
dknamikaze opened this issue Jan 2, 2025 · 1 comment

Comments

@dknamikaze
Copy link
Contributor

Description

I cannot build out of the box for catalyst using the latest version of rn-screens.

ERORR:

Cannot initialize a parameter of type 'BOOL' (aka 'signed char') with an lvalue of type 'BOOL *const' (aka 'signed char *const')

Using react-native 0.73.6.

The error is in RNSimpleToast.m (Line 124):

[CSToastManager setTapToDismissEnabled:options[@"tapToDismissEnabled"]];
CHANGE INTO:

RCT_EXPORT_METHOD(toggleCancelButton : (NSNumber *_Nonnull)reactTag flag : (BOOL)flag)

Steps to reproduce

build for macOS catalyst.

React Native version

0.73.6

Platforms

iOS

JavaScript runtime

Screenshot -
Screenshot 2025-01-02 at 7 40 28 PM

Device

MacOS Sequoia 15.1.1

Device model

No response

Acknowledgements

Yes

@vonovak
Copy link
Owner

vonovak commented Jan 3, 2025

Released, thx for the fix!

@vonovak vonovak closed this as completed Jan 3, 2025
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

2 participants