danger / swift

⚠️ Stop saying "you forgot to …" in code review
https://danger.systems/swift/
MIT License
1.04k stars 135 forks source link

Cannot find type 'Process' in scope #584

Open mustafa3103 opened 1 year ago

mustafa3103 commented 1 year ago

when we tried to upload your library with SPM, we took this error: "Cannot find type 'Process' in scope". How can we solve that, we tried lots of ways but we could not find anything :)

nurirppan commented 1 year ago

same with me, how solve this error. another version too for me

bertrandprenat commented 7 months ago

Hello,

I'm getting the same error with Xcode 15.0.1 and Danger 3.18.0. It looks like the Process type couldn't be found in ShellExecutor.swift. I've tried previous versions of Danger without success (3.17.0, 3.16.0, and 3.15.0).

Any updates regarding this issue?

Thank you.

dessmith commented 2 months ago

Same issue for me today. Is there any updates on this? I see there was a release last week so perhaps we're integrating danger incorrectly?

SensehacK commented 1 month ago

Same issue for me. 3.18.1, build using both Rosetta and ARM iOS simulator.

orta commented 1 month ago

Yeah, we figured out what this is over on the danger-js repo a bit earlier, https://github.com/danger/danger-js/issues/1448#issuecomment-2111091257 this can be closed when that issue is resolved

SensehacK commented 1 month ago

Yeah, we figured out what this is over on the danger-js repo a bit earlier, danger/danger-js#1448 (comment) this can be closed when that issue is resolved

So should we wait for a new tag for SPM to update or it internally picks up the newer merged commit at danger-js @orta

Edit:

I did reinstalled danger-js and danger-swift using homebrew.

But I use SPM for danger-swift and I still get the same error in DangerShellExecutor/ShellExecutor.swift file.