Closed tettoffensive closed 6 years ago
I needed to put import Dispatch
in all the places where DispatchQueue
was used in the library Cache
that I included.
FileProtectionType
doesn't appear to be implemented yet (11-28-2017) on ubuntu so I put guards around that for now.
Other errors like coercion such as url as NSURL
and string as NSString
errored also, so I had to find work arounds for those.
It's quite a laborious process to get all the errors solved when your dev env is osx.
I'm not too sure how to make sure I'm compiling with the same version of swift that I am with
swift build
or Xcode as I am on heroku.I'm often getting errors on heroku that I don't get locally.
For example these are errors that I get on heroku, when my code compiles fine locally: