Skip to content

Swift Package Manager generated Xcode project fails to compile with minimum target compiler  #17

@eytanschulman

Description

@eytanschulman

What did you do?

  • Added ScrollStackController to my project via Swift Package Manager
  • Tried to compile project (Minimum target iOS 14.0)

What did you expect to happen?

Compiles without errors

What happened instead?

Got the following compile error on this line:

Screen Shot 2021-04-01 at 8 41 08 PM

Proposed Solution

Adding a dependency to the Package.swift file, in order to enforce the minimum iOS version, iOS 11.0

platforms: [.iOS(.v11)],

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions