fix(apple): exclude rapidjson msinttypes shims from rlottie pod (MSVC-only, break clang module build)

This commit is contained in:
klockky
2026-07-13 12:44:37 +03:00
parent 2ff33630f4
commit 89d082df98
+7 -1
View File
@@ -24,7 +24,13 @@ Pod::Spec.new do |s|
'rlottie/src/vector/stb/*.{cpp,h}',
'rlottie/src/binding/c/*.cpp',
]
s.exclude_files = ['rlottie/src/vector/pixman/*.S']
# rapidjson's msinttypes/ are MSVC-only shims (guarded by _MSC_VER in
# rapidjson.h); on Apple clang they must not be compiled — the module build
# would otherwise hit their `#error "Use this header only with MSVC"`.
s.exclude_files = [
'rlottie/src/vector/pixman/*.S',
'rlottie/src/lottie/rapidjson/msinttypes/*.h',
]
s.public_header_files = 'rlottie/inc/*.h'
s.pod_target_xcconfig = {