Zip icon indicating copy to clipboard operation
Zip copied to clipboard

Cannot convert value of type '[FileAttributeKey : Date]' to expected argument type '[String : Any]?'

Open YayongLi opened this issue 6 years ago • 6 comments

YayongLi avatar May 09 '18 03:05 YayongLi

Having the same problem.

felipelmota avatar May 16 '18 21:05 felipelmota

Having the same problem

samson-sham avatar May 23 '18 04:05 samson-sham

@AtelasLeo this should be fixed in this PR: https://github.com/marmelroy/Zip/pull/140 You can try it out using a fork for now: pod 'Zip', :git => 'https://github.com/Workshed/Zip.git'

Workshed avatar May 23 '18 10:05 Workshed

This is a Swift Version problem. If your project's Swift Language Version is Swift 3.3, pod 'Zip','~> 0.8' may work pod 'Zip','~> 0.8'

jancywen avatar Jun 04 '18 02:06 jancywen

This worked for me:

  1. Go to the Pods project in your workspace
  2. Select ZIP from Targets
  3. Go to Build Settings, change Swift Language Version to Swift 4.1

tommyle avatar Aug 07 '18 15:08 tommyle

@AtelasLeo this should be fixed in this PR: #140 You can try it out using a fork for now: pod 'Zip', :git => 'https://github.com/Workshed/Zip.git'

Work for me, thanks!

AEiosApp avatar Feb 14 '19 17:02 AEiosApp