-
Notifications
You must be signed in to change notification settings - Fork 11
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Vexil can't be compiled for visionOS because of conditional imports.
Vexil version: 2.2.2
Swift version: swift-driver version: 1.87.2 Apple Swift version 5.9 (swiftlang-5.9.2.1.6 clang-1500.1.0.1.1)
Environment: Xcode 15.1 beta, macOS Sonoma
β Checklist
- If possible, I've reproduced the issue using the
mainbranch of this package - I've searched for existing GitHub issues
π’ Steps to Reproduce
Compile with Vexil 2.2.2 as a dependency for visionOS (not iOS/iPad on visionOS).
π― Expected behavior
It compiles.
π΅οΈββοΈ Actual behavior
Swift error:
No such module 'Glibc'
This is because of:
#if os(macOS) || os(iOS) || os(tvOS) || os(watchOS)
import Darwin
#elseif os(Windows)
import WinSDK
#else
import Glibc
#endifMetadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working