xzzz9097 / SpotifyKit

Swift client for Spotify Web API
MIT License
90 stars 17 forks source link

Podfile integration issues #6

Open appsird opened 5 years ago

appsird commented 5 years ago

Hi,

Thanks for the nice framework. A couple issues:

I create a fresh single view project using the latest Xcode, compiled for iOS12. I then integrated into this project using:

pod 'SpotifyKit'

I receive a compilation error, and the framework appears in red within the project. This is using the master branch 0.0.6

I instead grabbed the source and placed in the project (in lieu of pod file integration) and receive two warnings in iOS12.

'unarchiveObject(with:)' was deprecated in iOS 12.0: Use +unarchivedObjectOfClass:fromData:error: instead

These occur on lines 35 and 55 in file Keychain.swift

Would appreciate if you could guid me on proper Pod integration, and whether I am pointing to the proper version. As I noticed you have a Swift4 branch, though your comments in the main branch allude to swift4 integration.

Thanks again.