Neither a google search, nor a search of the Apple forums give me a clue as to how to locate or fix the following message I get from Xcode.
CLIENT: Failure to determine if this machine is in the process of shutting down, err=1/Operation not permitted
This error message came from attempting to build and execute an iOS App which ran just fine the last time I built it. Now, that was actually a little over two years ago. This is an iOS app, which I've run successfully for more than a year on macOS, and that, "My Mac (Designed for iPad)", is what my build target for this run was.
Any ideas? Anyone?
If this is a "known condition", just why doesn't a friendly internet search or a search of the Apple forums NOT tell me what it means, or what causes the message.
Of course, I've upgraded the OS a few times, and updated Xcode as well, but have just not had any time to monkey around with my pet code project. Now that I've gotten some time, and I want to see what's new since March of '23, I finally remember where I stashed my code repository and decided to take it for a spin.
Sure, I expect(ed) to see Xcode tell me that the version of Swift has been updated, and maybe some code constructs need to be fixed. But, NO, the code compiles fine.
The first build attempt told me that I needed to update my provisioning profiles, and sign-in and agree to the updated developer agreements, which I did.
Not so unhelpful was the code window in the debugger:
libswiftCore.dylib`swift_willThrow:
-> 0x1aeb7b2a0 <+0>: pacibsp
0x1aeb7b2a4 <+4>: str x19, [sp, #-0x20]!
0x1aeb7b2a8 <+8>: stp x29, x30, [sp, #0x10]
0x1aeb7b2ac <+12>: add x29, sp, #0x10
0x1aeb7b2b0 <+16>: adrp x8, 365651
0x1aeb7b2b4 <+20>: add x8, x8, #0x88 ; _swift_willThrow
0x1aeb7b2b8 <+24>: ldapr x8, [x8]
0x1aeb7b2bc <+28>: cbnz x8, 0x1aeb7b2cc ; <+44>
0x1aeb7b2c0 <+32>: ldp x29, x30, [sp, #0x10]
0x1aeb7b2c4 <+36>: ldr x19, [sp], #0x20
0x1aeb7b2c8 <+40>: retab
0x1aeb7b2cc <+44>: mov x0, x21
0x1aeb7b2d0 <+48>: mov x19, x21
0x1aeb7b2d4 <+52>: blraaz x8
0x1aeb7b2d8 <+56>: mov x21, x19
0x1aeb7b2dc <+60>: b 0x1aeb7b2c0 ; <+32>
Still not much to go on.
I decide to see if it was a macOS vs. iOS issue, so did a clean build folder and tried running on an iPad simulator, "iPad (10th generation)".
Now, I have a blank white screen on my simulator and not much to go on in the code window.
import SwiftUI
@main
struct JottoApp: App { Thread1: Breakpoint 1.1
var body: some Scene {
WindowGroup {
ContentView()
}
}
init() {
UITableView.appearance().backgroundColor = UIColor.clear
}
}
Any and all help with this error message will be appreciated.
Topic:
Developer Tools & Services
SubTopic:
Xcode