Skip to content

SystemConfiguration.h not found when building on watchOS simulator #1743

Closed
@dplewis

Description

@dplewis

New Issue Checklist

Issue Description

This error occurs in PFReachability

SystemConfiguration is not available when building for watchOS Simulator. Consider using `#if __has_include(<SystemConfiguration/SystemConfiguration.h>)` to conditionally import this framework.

Steps to reproduce

Add Parse via SPM to the watchOS starter project and build

Solution

Implement WatchConnectivity, rewrite to ping the /health server endpoint or stub out PFReachability for watchOS.
Example: AFNetworking/AFNetworking@d184833

Metadata

Metadata

Assignees

No one assigned

    Labels

    type:bugImpaired feature or lacking behavior that is likely assumed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions