Swift 包依赖项错误 - shell out

Swift Package dependencies error- shell out

提问人:PAVUNRAJ P 提问时间:2/10/2023 最后编辑:burnsiPAVUNRAJ P 更新时间:5/11/2023 访问量:77

问:

进程函数显示错误

The process function show error

我安装了更新的 shell 更新包,但我在范围内遇到了找不到类型“进程”。错误

iOS 版 Swift Objective-C iPhone

评论


答:

0赞 Vadim Belyaev 2/10/2023 #1

Process和 shell 在 iOS 中不受支持,这些是 macOS API。

评论

0赞 Sishu 3/17/2023
Process是框架的一部分,在 iOS 中受支持Foundation
0赞 Vadim Belyaev 3/17/2023
截至 2023 年 3 月,Process 类文档表示它仅在 macOS 和 Mac Catalyst 中可用。