Reachability.swift icon indicating copy to clipboard operation
Reachability.swift copied to clipboard

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

Open camelliacafe opened this issue 2 years ago • 2 comments
trafficstars

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!

camelliacafe avatar Jul 22 '23 12:07 camelliacafe

@camelliacafe , did you manage to fix the issue?

kornerr avatar Nov 10 '23 05:11 kornerr

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

kornerr avatar Nov 10 '23 06:11 kornerr