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

Fix iOS build #57

Closed
TomasKypta opened this issue Apr 30, 2024 · 1 comment
Closed

Fix iOS build #57

TomasKypta opened this issue Apr 30, 2024 · 1 comment

Comments

@TomasKypta
Copy link
Member

When the library is added into a new react-native project (tested on version 0.73 and 0.74) it can't be compiled for iOS.
It results in error:

$PROJECT/node_modules/react-native-malwarelytics/ios/Malwarelytics.swift:25:39 Cannot find type 'RCTInitializing' in scope

RCTInitializing header is not visible for some reason.
Even though it is located in $PROJECT/ios/Pods/Headers/Public/React-Core/React/RCTInitializing.h (like other react native headers).

@TomasKypta
Copy link
Member Author

Problematic RCTInitializing was removed.

Fixed by #58

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

No branches or pull requests

1 participant