Post

Replies

Boosts

Views

Activity

Comment on In iOS 18 beta, the SoundAnalysis framework reports an error when the iPhone is locked
It seems to work now with iOS 18.2 (22C152). I was able to let it run on a locked iPhone 16 for 14 hours with no issues. Setting computeUnits = .cpuOnly does not seem to make any difference. After DTS told me to file this as a bug, and then not hearing anything back ever I don't have a lot of confidence that this is going to work on 18.4 which comes out in April. Sure would be nice to know Apple's position on this before releasing a commercial product that's going to explode in the future.
2w
Comment on In iOS 18 beta, the SoundAnalysis framework reports an error when the iPhone is locked
We've had that enabled forever to allow audio to be obtained when the phone is locked which works just fine. Our problem is starting with iOS 18 SNAudioStreamAnalyzer fails with "CoreML prediction failed due to Insufficient Permission (to submit GPU work from background)". What should work is: let configuration = MLModelConfiguration() configuration.computeUnits = .cpuOnly But it doesn't. We made a DTS ticket. They asked us to do a bug report using Feedback Assistant. Have not heard back.
Dec ’24
Comment on Urgent Issue with SoundAnalysis in iOS 18 - Critical Background Permissions Error
Nothing yet. I sent an clearly un-ambiguous example to the feedback thing but have not heard back at all. Using CreateML I built a model and used the code above - configuration.computeUnits = .cpuOnly - and it still gacked running when the iPhone was locked. I really wish Apple would spend a little more time working with developers and a little less time making emojis that make a select few of the population feel good about themselves. I miss Steve so much. He actually cared about developers.
Nov ’24
Comment on Apple Watch Missing Developer Mode Option
As of watchOS 18.1 this works. Unpair the watch in Xcode. Unplug the iPhone from the USB cable. The watch asks if you trust this computer. When you plug the cable back in the entry for the watch should be in the devices list after a few seconds. Then Privacy & Settings->Developer mode shows up on the watch. Restart everything eleven times like you are developing for Windows. I wonder if the developers at Apple have to go through this much grief to get a watch connected?
Nov ’24