Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot find type 'Process' in scope #584

Open
mustafa3103 opened this issue Apr 6, 2023 · 8 comments
Open

Cannot find type 'Process' in scope #584

mustafa3103 opened this issue Apr 6, 2023 · 8 comments

Comments

@mustafa3103
Copy link

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
Copy link

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

@bertrandprenat
Copy link

bertrandprenat commented Nov 30, 2023

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
Copy link

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
Copy link

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

@orta
Copy link
Member

orta commented May 18, 2024

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

@SensehacK
Copy link

SensehacK commented May 22, 2024

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.

@filipkjamilov
Copy link

Same issue still present, any fix for this ? I am using version 3.18.1

@nathanbeaumont
Copy link

I am seeing this Error still, on Xcode 15.1, Swift 5.9 the merge above didn't seem to help alleviate the issue. I am not able to compile just by adding Danger as a dependency.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

8 participants