From 7936cb84c087d82b7cd603861de76518b1cdafc0 Mon Sep 17 00:00:00 2001 From: Breno Lima Date: Wed, 1 Jun 2016 17:11:08 -0300 Subject: [PATCH] - Fixed image assets copy in cocoapods 1.0.0 --- CTAssetsPickerController.podspec | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/CTAssetsPickerController.podspec b/CTAssetsPickerController.podspec index 32e667af..f4530ea1 100644 --- a/CTAssetsPickerController.podspec +++ b/CTAssetsPickerController.podspec @@ -20,7 +20,8 @@ Pod::Spec.new do |spec| spec.source = { :git => 'https://github.com/chiunam/CTAssetsPickerController.git', :tag => 'v3.3.2-alpha' } spec.public_header_files = 'CTAssetsPickerController/*.h' spec.source_files = 'CTAssetsPickerController/**/*.{h,m}' - spec.resource_bundles = { 'CTAssetsPickerController' => ['CTAssetsPickerController/Resources/CTAssetsPicker.xcassets/*/*.png', 'CTAssetsPickerController/Resources/*.lproj'] } + spec.resource_bundles = { 'CTAssetsPickerController' => ['CTAssetsPickerController/Resources/*.lproj'] } + spec.resources = 'CTAssetsPickerController/Resources/CTAssetsPicker.xcassets' spec.ios.frameworks = 'Photos' spec.requires_arc = true spec.dependency 'PureLayout', '~> 3.0.0'