Post

Replies

Boosts

Views

Activity

AVSpeechSynthesisVoice.speechVoices
It's a little bit unclear to me whether I get a list of available or installed voices on the device. If an app requests a voice which is available but not installed, what happened? Is it upon the app to install the missing voice or is this done by iOS automatically? For some reasons, a male and female gender is not offered for each language. What's the reason for?
3
0
1.7k
May ’21
Xcode 14.2 incredible slow incremental build time
Since Xcode 14.0.1 I have the problem that subsequent builds takes longer and longer to be finished. The problem occurs only if the program is started once a time and then rebuild. From this point subsequent builds via ⌘B increase the total time to build with every additional run. Interestingly the total build time of a C++ project increases exponentially whereas a pure Storyboard Swift-based project seems to be increase linear in time. In my case after 10 recompilations you have to wait more than 1 minute to complete even for small projects with just a dozen files to compile. The only workaround is to close/reopen the project. But it's not a solution. It doesn't matter whether the code base is changing or not, the build time increases in any case. Because this phenomenon is a real showstopper when developing software, I downgrade Xcode to version 13.4.1 (13F100). And all problems gone. The problem I describe above is documented at least on two places, here Stackoverflow and here SWIFT Forum There are one suggestions to circumvent the problem but in my case this seems not to work: Setting SWIFT_USE_INTEGRATED_DRIVER=NO in the target Downgrading to Xcode 13.4.1 seems the best workaround. The IMac M1 operates with the latest Monterey version 12.6.2.
0
1
1.3k
Jan ’23
Cannot pair bluetooth device on macos 10.15 due to encryption reasons
&#9;&#9; I want to connect a bluetooth glucose meter device (Contour One) on macos 10.15 for development reasons. Any read/write operation to the characteristics fails with this message: 020-12-12 12:18:36.461254+0100 bluetooth.test[1587:48116] [CoreBluetooth] WARNING: Unknown error: -536870212 The console app of macos shows the following: standard 12:18:36.349729+0100 bluetoothd Read Device Name: c7532430 standard 12:18:36.393712+0100 bluetoothd *** [handleATTErrorResponse]. fehler 12:18:36.393780+0100 bluetoothd * [handleATTErrorResponse] - Insufficient Encryption. standard 12:18:36.393820+0100 bluetoothd * [handleATTErrorResponse] - Link is not encrypted, perform pairing with MITM disbled. standard 12:18:36.393858+0100 bluetoothd * [startLESecurityManagerPairingSecureConnection] Start secure pairing with mitm: 0, bonding: 1, sc: 1, keypress: 0, ct2: 0 standard 12:18:36.394505+0100 bluetoothd * [startLESecurityManagerPairingSecureConnection] - Master: _localAuthReq: 0x9, localInitiatorKeyDistribution: 0x3, localResponderKeyDistribution: 0x3 standard 12:18:36.394572+0100 bluetoothd * [pairingRequest] Send Pairing Request: auth 0x9 standard 12:18:36.417047+0100 bluetoothd * [l2capChannelData] - Received Pairing Failed. fehler 12:18:36.417088+0100 bluetoothd *[handlePairingFailed] reason = 5. fehler 12:18:36.418854+0100 bluetooth.test WARNING: Unknown error: -536870212 What happened here? Obviously I cannot pair the device by accepting the code provided by the device. But CBCentral connect to the device as you can see here: Bluetooth powered on. Device Contour7802H6798544 found, try to connect... Connected to Contour7802H6798544************************************************** Service: <CBService: 0x102805a70, isPrimary = NO, UUID = Glucose> <CBCharacteristic: 0x102807700, UUID = 2A18, properties = 0x10, value = (null), notifying = NO> ... has notify <CBCharacteristic: 0x1004300a0, UUID = 2A34, properties = 0x10, value = (null), notifying = NO> ... has notify <CBCharacteristic: 0x1004302d0, UUID = 2A51, properties = 0x2, value = (null), notifying = NO> ... has read <CBCharacteristic: 0x100430600, UUID = 2A52, properties = 0x28, value = (null), notifying = NO> ... has write 2020-12-12 19:49:52.921429+0100 bluetooth.test[620:10532] [CoreBluetooth] WARNING: Unknown error: -536870212 Optional(Error Domain=CBErrorDomain Code=0 "Unknown error." UserInfo={NSLocalizedDescription=Unknown error.}) 2020-12-12 19:49:52.977537+0100 bluetooth.test[620:10659] [CoreBluetooth] WARNING: Unknown error: -536870212**************************************************** Error changing notification state:Optional("Unknown error.") CBCharacteristicProperties(rawValue: 16) I write to the 2A52 and it has write permission. But writing to the characteristic fails because macos denies due to missing encryption. I have no idea for this case.
0
0
875
Dec ’20
Develop own volume control for an hearing device
Hi folks,connecting any hearing device to iOS you almost have control to volume and programs of the hearing device via control panel.So in most cases the official app of the hearing device manufacturer is not needed.I assume for volume-program control there must be a general API to be exist, but I haven't found anything all over the developer documentation sites. I looked up Health-Kit., Accessebility-Kit, Bluethooth and so on as well Google&amp;Co.I'm wondering how Apple integrates this stuff...
0
0
392
Mar ’20