Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Carthage update #5

Closed
pangpingfei opened this issue Feb 5, 2017 · 3 comments
Closed

Carthage update #5

pangpingfei opened this issue Feb 5, 2017 · 3 comments

Comments

@pangpingfei
Copy link

之前是0.1.4,用carthage update到0.1.5,很奇怪的,原来用show(duration, nil)的地方,第二个不是可选了,但是源代码里这个方法明明没变化,public func show(duration: TimeInterval, completed: ((_ finished: Bool) -> Void)?),framework中点进去变成了:public func show(duration: TimeInterval, completed: @escaping (Bool) -> Swift.Void)。不知道怎么回事~

@status302
Copy link
Owner

@pangpingfei 你好。
我刚刚使用Carthage测试过了,没什么问题。
image
image

@pangpingfei
Copy link
Author

不知道哪里问题,我在其他项目首次Carthage,然后把framework拷贝覆盖到现有项目,能正常使用了……

@status302
Copy link
Owner

这个应该是Carthage使用的问题吧,在使用update的时候先清除一下之前的Carthage build可能有帮助。不过能正常使用了就是好呀。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants