Skip to content
This repository has been archived by the owner on Aug 29, 2024. It is now read-only.

Can not compile in Xcode 11 beta 5 and Swift 5 #41

Closed
funkenstrahlen opened this issue Aug 17, 2019 · 6 comments
Closed

Can not compile in Xcode 11 beta 5 and Swift 5 #41

funkenstrahlen opened this issue Aug 17, 2019 · 6 comments

Comments

@funkenstrahlen
Copy link
Contributor

The compiler complains that this notification key got renamed:

name: UIApplication.willEnterForegroundNotification,

Using Zephyr 3.4.1

@ArtSabintsev
Copy link
Owner

I currently don’t have a branch up for the latest beta. I’ll look into doing it shortly

Sent with GitHawk

@ArtSabintsev
Copy link
Owner

I'm not seeing this error in Xcode11b5. Downloading b6 right now.

Can you send me a sample project that is throwing an error?

@funkenstrahlen
Copy link
Contributor Author

Sorry for not providing more details in the first report of the issue.

When using Zephyr via Cocoapods on Xcode Beta 6 I can compile without any errors now.

The compilation error is still present when using Xephyr via Swift Package Manager. I attached a sample project that shows the error:

ZephyrCompileIssue.zip

@ArtSabintsev
Copy link
Owner

This seems to be a bug in Xcode 11. I've confirmed it by trying to put the existing notification I'm using, and the one that the compiler recommends, and another one, since the compiler recommends the wrong fix.

Thanks for bringing it up to my attention, but this is a bug.

It might actually be worth posting to https://feedbackassistant.apple.com/

@funkenstrahlen
Copy link
Contributor Author

I understand. Thank you for looking into it! 😊

@ArtSabintsev
Copy link
Owner

Thanks for bringing it up!

Sent with GitHawk

Repository owner locked and limited conversation to collaborators Aug 21, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants