Open zaiehilmi opened 7 hours ago
Hi there,
React native: 0.76.2 Xcode: 16.1 react-native-capture-protection: 1.9.13
I got this error after I try to build for iOS. after looking into the xcode, from this code got error as the title.
here is the path where you can find the issue node_modules/react-native-capture-protection/ios/CaptureProtection.mm
node_modules/react-native-capture-protection/ios/CaptureProtection.mm
#ifdef RCT_NEW_ARCH_ENABLED - (std::shared_ptr<facebook::react::TurboModule>)getTurboModule: (const facebook::react::ObjCTurboModule::InitParams &)params { return std::make_shared<facebook::react::NativeCaptureProtectionSpecJSI>(params); } #endif
I commented it and after that I can successfully build.
Hi there,
React native: 0.76.2 Xcode: 16.1 react-native-capture-protection: 1.9.13
I got this error after I try to build for iOS. after looking into the xcode, from this code got error as the title.
here is the path where you can find the issue
node_modules/react-native-capture-protection/ios/CaptureProtection.mm
I commented it and after that I can successfully build.