From 0511e2e49a51ab32aa6f40df7c6b3dde92b09031 Mon Sep 17 00:00:00 2001 From: iwater Date: Thu, 16 Jan 2025 10:09:03 -0800 Subject: [PATCH] Disable weak event emitter in AttributedString for Apple Silicon Mac running iOS build app (#48583) Summary: https://github.com/facebook/react-native/issues/48225 fixed the same problem on Mac Catalyst build, but this crash also happen on a iOS build app running on Apple Silicon Mac. The weak event emitter in AttributedString attributes is causing a serialization error when typing into a TextInput in a iOS build app running on Apple Silicon Mac. ## Changelog [iOS][Fixed] - Workaround for a iOS build app running on Apple Silicon Mac(in Xcode Destination: "Mac(Designed for iPad)") TextInput crash due to serialization attempt of WeakEventEmitter ## Changelog: