pinterest / PINCache

Fast, non-deadlocking parallel object cache for iOS, tvOS and OS X
Apache License 2.0
2.66k stars 361 forks source link

Fixed spm integration on regular Xcode project. #301

Closed 3a4oT closed 3 years ago

3a4oT commented 3 years ago
garrettmoon commented 3 years ago

Thanks for putting this up! I hate to ask, but would you mind updating the CI test to ensure that SPM works when integrating into a project?

3a4oT commented 3 years ago

Removing shared from the scheme doesn't work because of Xcode/Swift versions.

xcodebuild: error: Could not resolve package dependencies:
43
  package at '/Users/runner' is using Swift tools version 5.3.0 but the installed version is 5.2.0
3a4oT commented 3 years ago

Have applied the workaround script which allows us to use Xcode 12. If the concept is acceptable I will do a similar thing for PINRemoteImage.