File tree Expand file tree Collapse file tree
packages/react-native-quick-crypto Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -168,7 +168,11 @@ Pod::Spec.new do |s|
168168 "CLANG_CXX_LANGUAGE_STANDARD" => "c++20" ,
169169 "CLANG_ALLOW_NON_MODULAR_INCLUDES_IN_FRAMEWORK_MODULES" => "YES" ,
170170 # Exclude ARM NEON source when building x86_64 simulator (no NEON support).
171- "EXCLUDED_SOURCE_FILE_NAMES[sdk=iphonesimulator*][arch=x86_64]" => "deps/blake3/c/blake3_neon.c"
171+ "EXCLUDED_SOURCE_FILE_NAMES[sdk=iphonesimulator*][arch=x86_64]" => "deps/blake3/c/blake3_neon.c" ,
172+ # Disable x86 SIMD intrinsics on iOS simulator — the .c implementation files are already
173+ # excluded above, but blake3_dispatch.c still references the symbols unless these macros
174+ # are defined. Mirrors the Android CMakeLists.txt approach (line 18-22).
175+ "GCC_PREPROCESSOR_DEFINITIONS[sdk=iphonesimulator*][arch=x86_64]" => "$(inherited) BLAKE3_NO_AVX512 BLAKE3_NO_AVX2 BLAKE3_NO_SSE41 BLAKE3_NO_SSE2"
172176 }
173177
174178 # Add cpp subdirectories to header search paths
You can’t perform that action at this time.
0 commit comments