You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to use XcodeProj for the ios app I'm building. I added it using SPM by adding a package dependency and pointing it to https://github.com/tuist/XcodeProj.git
but in XcodeProj/Extensions/Path+Extras.swift
#if os(macOS)
let systemGlob = Darwin.glob
#else
let systemGlob = Glibc.glob
#endif
I get Cannot find 'Glibc' in scope. Which seems to make sense since I'm compiling for an ios target. I'm sure I'm misunderstanding something very fundamental here either about xcode or XcodeProj. I would have thought this code should be
#if os(Linux)
let systemGlob = Glibc.glob
#else
let systemGlob = Darwin.glob
#endif
is XcodeProj not able to be used for ios projects? Am I just using it incorrectly?
The text was updated successfully, but these errors were encountered:
Context 🕵️♀️
I am trying to use XcodeProj for the ios app I'm building. I added it using SPM by adding a package dependency and pointing it to https://github.com/tuist/XcodeProj.git
but in
XcodeProj/Extensions/Path+Extras.swift
I get
Cannot find 'Glibc' in scope
. Which seems to make sense since I'm compiling for an ios target. I'm sure I'm misunderstanding something very fundamental here either about xcode or XcodeProj. I would have thought this code should beis XcodeProj not able to be used for ios projects? Am I just using it incorrectly?
The text was updated successfully, but these errors were encountered: