zalando / SwiftMonkey

A framework for doing randomised UI testing of iOS apps
MIT License
1.95k stars 175 forks source link

Update to Swift 5.0 #76

Closed fbernutz closed 4 years ago

fbernutz commented 5 years ago

This adds compatibility for Xcode 10.2 and Swift 5.0 and mainly fixes Xcode warnings.

I tried to run the example project in Xcode 10.2 but it seems like monkey.addDefaultXCTestPrivateActions() is not working in this Xcode Version. Using monkey.addDefaultUIAutomationActions() works fine.

I created an issue for this #75, but this is not related to this pull request because you can reproduce this issue in Xcode 10.2 with both versions Swift 4.2 and Swift 5.0.

wojciechczerski commented 4 years ago

Hey there, and thanks for your support. I think we should wait with updating to Swift 5 until 4.2 is no longer supported by the newest Xcode version. That way SwiftMonkey can be used by more people.

fbernutz commented 4 years ago

Sure, feel free to close this PR, if it's not needed right now 👍

wojciechczerski commented 4 years ago

Closing this PR as the migration to Swift 5 is not yet required.