This is not an answer.
I wanted to note that my errors stem from the use of NSTask.
I have created some helper build scripts in swift to automate a new app build.
These are compiled and can be run from within Xcode as well or as useful command lines.
It will spawn an NSTask (Now renamed Process in swift) where I would do something like this
/usr/bin/codesign --remove-signature "/my file....."
If I ran this command in terminal, all works well.
Buy if I ran under my script, using an NSTask I see errors like the harmless [logging-persist] and others
It seems as if the apple tools are not happy running as child processes under my NSTask.
Any advice on how to configure NSTask properly.
Post
Replies
Boosts
Views
Activity
Unfortunately all these tips, July 2021, BigSur 11.4 and the Text refuses to fill its parent's Size.
We could really do pixel perfection in AppKit.
struct ContentView : View {
var message: String
var body: some View {
ScrollView {
VStack {
Text(message)
.font(.subheadline)
.lineLimit(nil)
.background(Color(.sRGB, white: 0.86, opacity: 1))
}.frame(maxWidth: .infinity)
}
.border(Color.red)
}
}