diff --git a/Example/Podfile.lock b/Example/Podfile.lock index ce41dc78..1d35deec 100644 --- a/Example/Podfile.lock +++ b/Example/Podfile.lock @@ -9,7 +9,7 @@ EXTERNAL SOURCES: :path: ../MessageKit.podspec SPEC CHECKSUMS: - MessageKit: 75db0dd0426cfa1af4d4ff19e696dff9b27bae29 + MessageKit: 99cd6b337d94b5e31a417614137939406e60d8ec PODFILE CHECKSUM: 9ac65b8dedf0e1b63fea245b089b6645c4e66309 diff --git a/MessageKit.podspec b/MessageKit.podspec index 52b41910..95ad0022 100644 --- a/MessageKit.podspec +++ b/MessageKit.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |s| s.name = 'MessageKit' - s.version = '0.7.3' + s.version = '0.7.4' s.license = { :type => "MIT", :file => "LICENSE.md" } s.summary = 'An elegant messages UI library for iOS.' @@ -16,7 +16,7 @@ Pod::Spec.new do |s| } s.ios.deployment_target = '9.0' - s.ios.resource_bundle = { 'MessageKitAssets' => 'Assets/MessageKitAssets.bundle/Images/*.png' } + s.ios.resource_bundle = { 'MessageKitAssets' => 'Assets/MessageKitAssets.bundle/Images' } s.requires_arc = true end diff --git a/Sources/MessageStyle.swift b/Sources/MessageStyle.swift index 873b4811..64f6fdc4 100644 --- a/Sources/MessageStyle.swift +++ b/Sources/MessageStyle.swift @@ -111,7 +111,7 @@ public enum MessageStyle { private var imagePath: String? { guard let imageName = imageName else { return nil } let assetBundle = Bundle.messageKitAssetBundle() - return assetBundle.path(forResource: imageName, ofType: "png") + return assetBundle.path(forResource: imageName, ofType: "png", inDirectory: "Images") } private func stretch(_ image: UIImage) -> UIImage {