Skip to content

Fix Swift bridging header import in RNIterableAPI.mm#840

Closed
franco-zalamena-iterable wants to merge 1 commit intoIterable:masterfrom
franco-zalamena-iterable:fix/774-swift-header-not-found
Closed

Fix Swift bridging header import in RNIterableAPI.mm#840
franco-zalamena-iterable wants to merge 1 commit intoIterable:masterfrom
franco-zalamena-iterable:fix/774-swift-header-not-found

Conversation

@franco-zalamena-iterable
Copy link
Copy Markdown

@franco-zalamena-iterable franco-zalamena-iterable commented Apr 7, 2026

Summary

  • Add HEADER_SEARCH_PATHS ($(DERIVED_SOURCES_DIR)) to the podspec's pod_target_xcconfig so the compiler can locate the auto-generated Iterable_React_Native_SDK-Swift.h bridging header
  • The Swift compiler places the generated ObjC interface header in DERIVED_SOURCES_DIR, but without an explicit search path the Clang compiler cannot find it during the ObjC compilation of RNIterableAPI.mm

Test plan

  • iOS build succeeds with version 2.1.0
  • Swift/ObjC interop works correctly

🤖 Generated with Claude Code

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 Iterable#774.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@franco-zalamena-iterable franco-zalamena-iterable deleted the fix/774-swift-header-not-found branch April 8, 2026 14:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant