Cannot find 'Process' in scope – iOS/tvOS/watchOS support: remove Process, stop invoking OpenSSL
RobSwish opened this issue · comments
Thanks for opening this issue! The requirements in the readme are wrong (as #7) and should be updated. Unfortunately, the Process API used in signing is macOS-only. It's a future goal of this project to be able to run without using Process at all, so that it can run on iOS, tvOS, and watchOS too.
The reason you are receiving the temporaryDirectory
error is because there is no compatibility information in the Package.swift file, so Xcode doesn't know that the project targets iOS/tvOS 10+, where this API was added. Once uses of Process are eliminated and the Package.swift is updated to indicate non-macOS support, this error should go away.
If you're facing this issue, it is because you are trying to build the library for iOS, tvOS, or watchOS. It is currently only supported on macOS and Linux.