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

'Reachability' is not a member type of class 'Reachability.Reachability' #395

Open
camelliacafe opened this issue Jul 22, 2023 · 2 comments

Comments

@camelliacafe
Copy link

Hi, everyone,

when using xcframeworks, errors show:

public typealias NetworkReachable = (Reachability.Reachability) -> ()
public typealias NetworkUnreachable = (Reachability.Reachability) -> ()
'Reachability' is not a member type of class 'Reachability.Reachability'

best regards!

@kornerr
Copy link

kornerr commented Nov 10, 2023

@camelliacafe , did you manage to fix the issue?

@kornerr
Copy link

kornerr commented Nov 10, 2023

Btw, I was having the same issue because I created my own SPM's Package.swift for 4.3.1. Turns out, to fix the issue all I had to do is change the module name to something other than Reachability

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

2 participants