I have the same issue with iOS Simulator on xcode-16 , but its run perfectly on device. Project/target settings are-
ENABLE_USER_SCRIPT_SANDBOXING to NO
VALID_ARCHS = arm64
EXCLUDED_ARCHS[config=Debug][sdk=iphonesimulator*] = arm64
If I change anything on last 2 , it gives errors