ShellOut
ShellOut copied to clipboard
Cannot find type 'Process' in scope
The Process class is missing
The Process class is missing
Process is part of Foundation, did you forget to do import Foundation?
The Process class is missing
Process is part of Foundation, did you forget to do
import Foundation?
No, i import Foundation.
You need to provide more context and preferably the code that causes this issue or this discussion won't lead anywhere.
I'm able to repro. Brand new package, added ShellOut and it fails to build
Oddly enough, if I try to build in Xcode it fails, but if I run swift build in Terminal it builds just fine. Maybe an Xcode bug? I'm on 14.3 (14E222b).
I have the same problem, Xcode 14.2.
Well, maybe (just maybe) you are trying to use it for iOS and then I'm afraid it's not the case, because there is no Process for iOS
I can reproduce the issue and the cause was because the target in Xcode was "Any iOS devices" for me. Switching to My Mac fixed it.