I added conditionals for all references to NetworkStatus which is only available for iOS based apps, and not available in mac catalyst (iOS apps on mac). This change is inline with the way opentelemetry-swift also includes this component.
additional issues corrected:
tvos : mach signal handler is not available on tvos, so bsd type is used instead.
Lifecycle instrumentation : only include the lifecycle instrumentation if UIKit is available. This may be extended for AppKit if there is interest.
I added conditionals for all references to
NetworkStatus
which is only available for iOS based apps, and not available in mac catalyst (iOS apps on mac). This change is inline with the way opentelemetry-swift also includes this component.additional issues corrected: tvos :
mach
signal handler is not available on tvos, sobsd
type is used instead. Lifecycle instrumentation : only include the lifecycle instrumentation if UIKit is available. This may be extended for AppKit if there is interest.Fixes #221