After migrating my existing React Native project from Xcode 10.3 to Xcode 11.5 on a new computer, I encountered an issue when trying to run it on iOS. Despite changing the settings to match the recommendations for Xcode, the problem persists.
When running the command react-native run-ios --device
, I encountered the following error:
-[NSTaggedPointerString countByEnumeratingWithState:objects:count:]: unrecognized selector sent to instance 0xa29d44a23e70bdc1
Upon checking the logs, I found the following information:
(log details here)
The project worked fine on the previous machine with Xcode 10.3 and SDK 12.4, but now building the project on the new machine with Xcode 13.5 and SDK 13.5 is causing this issue.
I also checked the Podfile.lock for dependencies:
(Podfile.lock dependencies here)
Additionally, here is the output of react-native info
:
(react-native project and environment info here)