saoudrizwan / Disk

Easily persist structs, images, and data on iOS
MIT License
3.1k stars 171 forks source link

Disk is not compatible with Swift 5 and Xcode 10.2 #59

Closed juanjoseluisgarcia closed 5 years ago

juanjoseluisgarcia commented 5 years ago

The project does not compile with Xcode 10.2 and Swift 5.

Implemente the necessary changes to make it compatible with Swift 5

saoudrizwan commented 5 years ago

The project compiles fine for me, can you please specify what the exact errors are you're seeing?

saoudrizwan commented 5 years ago

Try updating to the latest version of Mojave and Xcode. It autosets Disk to Swift 5 and although there's some warnings, it all compiles fine for me. I could update everything to Swift 5, but the way things are right now, it's backwards compatible with Xcode 9, which is the latest version many Hackintosh users can use for the time being (since Apple hasn't allowed the release of Nvidia web drivers yet.)

juanjoseluisgarcia commented 5 years ago

It does compiles for me too now. Thanks.

showjack2 commented 4 years ago

I get errors such as: Disk.save - "No exact matches in call to static method 'save'" Disk.retrieve - "No exact matches in call to static method 'retrieve'"

ilkone commented 4 years ago

I get errors such as: Disk.save - "No exact matches in call to static method 'save'" Disk.retrieve - "No exact matches in call to static method 'retrieve'"

Same here.

Any solutions guys?