HeroTransitions / Hero

Elegant transition library for iOS & tvOS

Home Page:https://HeroTransitions.github.io/Hero/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

SPM integration causes compiler Issues, preventing the project from building

joshwoods opened this issue · comments

What did you do?

Installed Hero via SPM and then was not able to actually build the project. See screenshot below.

What did you expect to happen?

The project should be able to build, however, there are multiple issues throughout the project when integrating via SPM.

What happened instead?

Screen Shot 2021-02-20 at 4 23 36 PM

General Information

  • Hero Version:
    1.6.0

  • iOS Version(s):
    iOS 14.4

  • Devices/Simulators:
    iPhone 12 Pro Max

  • Reproducible in Examples? (Yes/No):
    Yes

Demo Project

test.zip

SPM is strange with imports. Probably need to add missing import Foundation, import CoreGraphics.

I had added a bunch and it was building with SPM before my merge. I'll check out your sample project, thanks.

@joshwoods Can you point your SPM config to branch feature/704_SPM_Fixes and see if it's fixed please.

I was having the same issue but was able to build with SPM using feature/704_SPM_Fixes