Post

Replies

Boosts

Views

Activity

Reply to Command Line Utility vs. Core Bluetooth Permissions
FWIW, the culprit is the missing inherited permissions. When running the tool from iTerm (which is what I'm using as terminal emulator), it inherits the permissions from it. Granting Bluetooth permissions to iTerm fixes my problem. Now: Is it possible that my command line program can detect this lack of (inherited) permission, thus preventing the crash and rather showing an instruction alert instead?
Topic: App & System Services SubTopic: Core OS Tags:
Mar ’21
Reply to Using App-Prefs:root=
Did you find a method in the meantime? I don't care about app-store-safe or not, but it's pretty annoying that this is no longer possible, in particular, because iOS15 seems to have broken the auto-connect to known Bluetooth devices for everything but audio devices.
Jan ’22
Reply to XCode 13.3 crash
Xcode 13.3 is very flakey here. Crashes on almost every 2nd start of a build: Thread 0 Crashed:: Dispatch queue: com.apple.main-thread 0 libsystem_kernel.dylib 0x1908999b8 __pthread_kill + 8 1 libsystem_pthread.dylib 0x1908cceb0 pthread_kill + 288 2 libsystem_c.dylib 0x19080a314 abort + 164 3 libswiftCore.dylib 0x19dc86830 swift::fatalError(unsigned int, char const*, ...) + 60 4 libswiftCore.dylib 0x19dc86988 swift::swift_abortRetainUnowned(void const*) + 36 5 libswiftCore.dylib 0x19dcc9598 swift_unknownObjectUnownedLoadStrong + 76 6 IDESwiftPackageCore 0x2c088fc54 specialized IDESwiftPackageBuildable.prebuildOperations(forBuildCommand:parameters:logRecorder:) + 100 7 IDESwiftPackageCore 0x2c0885e40 @objc IDESwiftPackageBuildable.prebuildOperations(forBuildCommand:parameters:logRecorder:) + 88 8 IDEFoundation 0x101367548 -[IDEBuildOperation start] + 4300 9 Foundation 0x19188c914 __NSThreadPerformPerform + 212
Mar ’22
Reply to Force NSURLSession only over cellular network
I'd like to know whether anything has changed regarding the original poster's situation. While using NSURLSession on a cellular network only may not be a preferred option in iOS, in my case it's a necessity. I'm using an off-the-shelf WiFi-to-Automotive-Ethernet adapter to connect to a car's diagnostic services. The adapter hands out an 192.168.x.y address via DHCP. Unfortunately iOS does not recognize that there is no internet connectivity over this adapter, hence all my URLRequests fail immediately. Coming back to the Network preflight check… how would I use that in practice? E.g., it's good that I can detect the outgoing route, but what can I do if that's not the route I want to use? Is there anything else I can do to fix this issue?
Jun ’22