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

[Xcode 15] Accessing protocol public variables leads to 'fileprivate' protection level error in extensions #851

Open
maximebianchi opened this issue Sep 14, 2023 · 2 comments

Comments

@maximebianchi
Copy link

XCode version: 15_RC
Rswift Version: 6 using pod / 7 using SPM

Subject:
Extension of ImageResource no more compiling with error: 'fileprivate' protection level while struct implements a public protocol.

Capture d’écran 2023-09-14 à 10 21 38

@tomlokhorst
Copy link
Collaborator

This is conflicting with the new ImageResource type generated by Xcode 15.

If you change your code to explicitly refer to Rswift, it could work correctly.

Something like this:

import RswiftResources

extension RswiftResources.ImageResource {
  // …
}

@dev-pac
Copy link

dev-pac commented Sep 15, 2023

Ho, thanks, I didn't know about this new feature of xcode 15

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

3 participants