I have added 2 command line tools in my swiftUI app for macOS, it was working fine locally, but it gives error when i try to make archive of it. I am not sure about the reason, but it was related to sandboxing the command line tools, after this i have tried multiple solutions but i am unable to resolve this issue, how should i handle the helper command line tools
szymczyk wrote:
Yes, exactly that. I have a bunch of advice on how to use the forums effectively in Quinn’s Top Ten DevForums Tips.
As to your main question, my general advice on that topic is in Embedding a command-line tool in a sandboxed app. I suspect you’ve found that already, in which case my first question for you is whether you’re building the tool using Xcode or not. That article outlines two separate paths, one for folks building the tool in Xcode and one for folks building the tool in some other way.
Share and Enjoy
—
Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"