Hero: swift 4 pod install error

Created on 13 Oct 2017  ·  6Comments  ·  Source: HeroTransitions/Hero

Declarations in extensions cannot override yet
cc

reopen if needed

Most helpful comment

Temporarily, you need to change/specify the framework to Swift 3.2

screen shot 2017-10-16 at 12 12 46 am

All 6 comments

在 2017年10月13日,下午2:49,liwei5544 notifications@github.com 写道:

Declarations in extensions cannot override yet
https://user-images.githubusercontent.com/25995237/31533601-b2e973c6-afb8-11e7-96c6-3b2e82eb8974.png

You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub https://github.com/lkzhao/Hero/issues/292, or mute the thread https://github.com/notifications/unsubscribe-auth/AOzuWxwRjFR9isahlIX9StXBtk3RQ21Zks5srwgGgaJpZM4P4C6l.

确认你的Hero是最新版本?因为Swift 4 的官方文档中有说明:

或者让你的项目支持swift 3 .

the same

Temporarily, you need to change/specify the framework to Swift 3.2

screen shot 2017-10-16 at 12 12 46 am

@alvincrisuy thanks, changing to Swift 3.2 works a treat :)

应该是对swift4不支持的那么好造成的,调整成用swift3.2编译先救急等作者完美支持

Is there a way to force the swift version in the Podfile?
Because my project can't run on the CI because of the wrong swift version

Was this page helpful?
0 / 5 - 0 ratings