evermeer / EVCloudKitDao

Simplified access to Apple's CloudKit
Other
645 stars 65 forks source link

Fix deprecation warnings #100

Closed MortenGregersen closed 6 years ago

MortenGregersen commented 6 years ago

There seems to be a problem with the travis file, @evermeer

evermeer commented 6 years ago

Awesome! I will also have a look at this PR later today.

evermeer commented 6 years ago

I'm struggling to push this version to cocoapods. I keep getting the following error:

 -> EVCloudKitDao (3.5.1)
    - ERROR | xcodebuild: Returned an unsuccessful exit code. You can use `--verbose` for more information.
    - ERROR | xcodebuild:  EVReflection/Source/EVReflection.swift:1585:81: error: 'range(at:)' has been renamed to 'rangeAt(_:)'
    - NOTE  | xcodebuild:  Foundation.NSTextCheckingResult:28:15: note: 'range(at:)' was introduced in Swift 4

Which is strange because swift version is set to 4 and I am using the range(at:) I will continue with this later today.

evermeer commented 6 years ago

I'm still struggling trying to publish this version. I keep on getting the error 'range(at:)' has been renamed to 'rangeAt(_:)' which is actually not true. Its the other way around. Since it's only used once I will try to avoid using that function. I will try to fix this later this week.

See also: https://github.com/melvitax/DateHelper/issues/72

evermeer commented 6 years ago

🎉 YAY 🚀 EVCloudKitDao (3.5.1) successfully published

Sorry I did not base it on this PR... I had some publishing issues and I ended up publishing the changes from master.