Skip to content

Conversation

@alexstaravoitau
Copy link

🔹 JIRA Ticket(s) if any

✏️ Description

Fixes Xcode build issues by switching to angled header import in RNIterableAPI.mm.

@dazlious
Copy link

dazlious commented Dec 2, 2025

I like that solution better than having the dynamic linkage pod installed. Can confirm it works for our setup

@lposen
Copy link
Contributor

lposen commented Jan 9, 2026

I like that solution better than having the dynamic linkage pod installed. Can confirm it works for our setup

@dazlious -- you would still need dynamic linkage. This is for header resolution.

};

#import "Iterable_React_Native_SDK-Swift.h"
#import <Iterable_React_Native_SDK/Iterable_React_Native_SDK-Swift.h>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @alexstaravoitau. This could potentially break things depending on a users podfile setup. It would be safer for this to be conditional to account for that.

Untested pseudocode example:

#if __has_include(<Iterable_React_Native_SDK/Iterable_React_Native_SDK-Swift.h>)
  #import <Iterable_React_Native_SDK/Iterable_React_Native_SDK-Swift.h>
#else
  #import "Iterable_React_Native_SDK-Swift.h"
#endif

@dazlious
Copy link

dazlious commented Jan 9, 2026

I like that solution better than having the dynamic linkage pod installed. Can confirm it works for our setup

@dazlious -- you would still need dynamic linkage. This is for header resolution.

Indeed, but I would not need the dynamic cocoapod plugin

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.

3 participants