Skip to content

Commit 3aecae2

Browse files
Fix Swift bridging header not found by adding HEADER_SEARCH_PATHS
Add HEADER_SEARCH_PATHS to podspec so the compiler can locate the auto-generated Swift bridging header (Iterable_React_Native_SDK-Swift.h) in DERIVED_SOURCES_DIR. Fixes #774. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent e69c305 commit 3aecae2

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

Iterable-React-Native-SDK.podspec

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ Pod::Spec.new do |s|
2525
'CLANG_ENABLE_MODULES' => 'YES',
2626
'SWIFT_VERSION' => '5.3',
2727
'SWIFT_OBJC_INTERFACE_HEADER_NAME' => 'Iterable_React_Native_SDK-Swift.h',
28+
'HEADER_SEARCH_PATHS' => '$(DERIVED_SOURCES_DIR)',
2829
"CLANG_CXX_LANGUAGE_STANDARD" => rct_cxx_language_standard(),
2930
}
3031

0 commit comments

Comments
 (0)