We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 774a4c1 commit 16a5130Copy full SHA for 16a5130
swift-sdk/uicomponents/IterableEmbeddedView.swift
@@ -205,7 +205,11 @@ public class IterableEmbeddedView:UIView {
205
#if COCOAPODS
206
nib = UINib(nibName: "IterableEmbeddedView", bundle: Bundle.main)
207
#else
208
- nib = UINib(nibName: "IterableEmbeddedView", bundle: Bundle.module)
+ #if SWIFT_PACKAGE
209
+ nib = UINib(nibName: "IterableEmbeddedView", bundle: Bundle.module)
210
+ #else
211
+ nib = UINib(nibName: "IterableEmbeddedView", bundle: Bundle.main)
212
+ #endif
213
#endif
214
215
let view = nib.instantiate(withOwner: self, options: nil).first as? UIView
0 commit comments