apptekstudios / ASCollectionView

A SwiftUI collection view with support for custom layouts, preloading, and more.
MIT License
1.36k stars 160 forks source link

Installing via SPM 1.6.3 fails to compile #147

Closed lawmicha closed 4 years ago

lawmicha commented 4 years ago

Describe the bug Hi, I'm seeing compiler errors like these:

image

To Reproduce Steps to reproduce the behaviour:

  1. in the xcode project (i'm in a workspace managed by cocoapods)
  2. File -> Swift Packages -> Add
  3. choose the project target (not Pod target)
  4. Enter https://github.com/apptekstudios/ASCollectionView
  5. resolves to 1.6.3

Expected behaviour No compiler errors

Xcode Version:

apptekstudios commented 4 years ago

Hi @lawmicha, I’ll have a look into this later today. First step would be to update XCode as there were some strange compiler bugs in 11.3

apptekstudios commented 4 years ago

Closing this issue as I have confirmed it is related to an Xcode bug that is resolved in the current version 👍 Thank you for reporting it, and I appreciate the PR 😃