peterprokop / SwiftOverlays

SwiftOverlays is a Swift GUI library for displaying various popups and notifications
MIT License
631 stars 83 forks source link

Have this error in xcode 9 in the SwiftOverlays.swift #39

Closed powervette closed 5 years ago

powervette commented 6 years ago

Incorrect argument label in call(have 'withAttributes:', expected 'attributes:')

line 477 private class methods, labelForText

peterprokop commented 6 years ago

@powervette thanks for reporting, will take a look

andrealufino commented 6 years ago

+1 for this, I'm having this problem also

maysamsh commented 6 years ago

I have the same problem

peterprokop commented 6 years ago

@powervette @andrealufino @maysamsh I'm sorry for the delay, this should be fixed now.

maysamsh commented 6 years ago

Now it's a new error:

The following build commands failed:
    CompileSwift normal arm64 ../Carthage/Checkouts/SwiftOverlays/SwiftOverlays/SwiftOverlays.swift
    CompileSwiftSources normal arm64 com.apple.xcode.tools.swift.compiler
(2 failures)
peterprokop commented 6 years ago

@maysamsh can you please try again with github "peterprokop/SwiftOverlays" ~> 4.0.1 in Cartfile?

maysamsh commented 6 years ago

The error is gone, thanks.

powervette commented 6 years ago

Is this not updated in Cocoapods yet? Not sure how to update it manually. I tried copying the new SwiftOverlays.swift file into my project but still get the exact same error.

peterprokop commented 6 years ago

@powervette sorry, just pushed 4.0.1 to pods. Can you please try? Also: use carthage =)

powervette commented 6 years ago

cocoa pods says 4.0.1 installed, but still getting the same error.

peterprokop commented 6 years ago

@powervette I've just tried - works for me without any problems. Have you removed copied SwiftOverlays.swift? Can you also please try cleaning everything?

powervette commented 6 years ago

i uninstalled it, then reinstalled it, cleaned and still get the error. Not sure what is up, maybe I will look into carthage.

Update: I used carthage and its working fine, Thanks.

DSalehi commented 6 years ago

+1 still getting this error using cocoapods with 4.0.1

peterprokop commented 6 years ago

@DSalehi what version of Xcode/cocoapods do you use?

DSalehi commented 6 years ago

@peterprokop Xcode 9 with Cocoapods v1.3.1

outdoorsole commented 6 years ago

Hello -- did this error happen to be updated for CocoaPods?

peterprokop commented 5 years ago

The issue is fixed