diff --git a/CHANGELOG.md b/CHANGELOG.md index dc4b789a3..ee0342437 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,8 @@ All notable changes to this project will be documented in this file. This project adheres to [Semantic Versioning](http://semver.org/). ## [Unreleased] +### Fixed +- Fixed a crash showing out-of-the-box embedded messages on CocoaPods. `IterableEmbeddedView.xib` moved out of `Resources/` in 6.5.9, but the podspec only bundled `Resources/`, so the nib was missing from the CocoaPods resource bundle and `loadViewFromNib()` crashed. The podspec now bundles the UI component XIBs too. SPM was not affected. ## [6.7.2] ### Added diff --git a/Iterable-iOS-SDK.podspec b/Iterable-iOS-SDK.podspec index aaa12ce12..a1fd95ac8 100644 --- a/Iterable-iOS-SDK.podspec +++ b/Iterable-iOS-SDK.podspec @@ -26,7 +26,12 @@ Pod::Spec.new do |s| s.swift_version = '5.3' - s.resource_bundles = {'IterableSDKResources' => 'swift-sdk/Resources/**/*.{storyboard,xib,xcassets,xcdatamodeld}' } + s.resource_bundles = { + 'IterableSDKResources' => [ + 'swift-sdk/Resources/**/*.{storyboard,xib,xcassets,xcdatamodeld}', + 'swift-sdk/ui-components/**/*.{storyboard,xib,xcassets,xcdatamodeld}' + ] + } s.header_dir = 'IterableSDK' end