Posts

Post not yet marked as solved
3 Replies
1.1k Views
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?
Posted Last updated
.
Post not yet marked as solved
0 Replies
1.1k Views
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.
Posted Last updated
.
Post not yet marked as solved
1 Replies
325 Views
I noticed after upgrading Xcode up to 14, that when I edit the code the asterisk in the tab beside the name of the file is not shown anymore. So it seems there's no visual response whether a file is edited or not. is this a bug or intention?
Posted Last updated
.
Post not yet marked as solved
0 Replies
729 Views
&#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.
Posted Last updated
.
Post not yet marked as solved
0 Replies
337 Views
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...
Posted Last updated
.
Post not yet marked as solved
3 Replies
702 Views
1. Open project created by prior Xcode version1. Changing editor orientation to "Below"2. File-&gt;New Editor Below... the Editor appears below3. Closing the Editor aboveCrash.Bug exist in Xcode 11.2.0 and 11.2.1:Process: Xcode [2848]Path: /Applications/Xcode.app/Contents/MacOS/XcodeIdentifier: com.apple.dt.XcodeVersion: 11.2.1 (15526.1)Build Info: IDEFrameworks-15526001000000000~2Code Type: X86-64 (Native)Parent Process: ??? [1]Responsible: Xcode [2848]User ID: 502Date/Time: 2019-11-10 10:34:17.280 +0100OS Version: Mac OS X 10.14.6 (18G103)Report Version: 12Anonymous UUID: D37BDC44-B14B-D06F-3A79-594167CDCA94Time Awake Since Boot: 10000 secondsSystem Integrity Protection: enabledCrashed Thread: 0 Dispatch queue: com.apple.main-threadException Type: EXC_CRASH (SIGABRT)Exception Codes: 0x0000000000000000, 0x0000000000000000Exception Note: EXC_CORPSE_NOTIFYApplication Specific Information:Sending removeSplitAction: to IDEEditorSplittingController from &lt;DVTGradientImageButton: 0x7fc79c7b7d90&gt;ProductBuildVersion: 11B53ASSERTION FAILURE in /Library/Caches/com.apple.xbs/Sources/IDEFrameworks/IDEFrameworks-15526.1/IDEKit/Editor/IDEEditorArea.m:607Details: (navigationTargetedEditorContext) should not be nil.Object: &lt;IDEEditorArea: 0x7fc79c6938a0&gt;Method: -_updateNavigationTargetedEditorContextIsValidObservingTokenThread: &lt;NSThread: 0x7fc79841c640&gt;{number = 1, name = main}Hints: 0: Sending removeSplitAction: to IDEEditorSplittingController from &lt;DVTGradientImageButton: 0x7fc79c7b7d90&gt;Backtrace: 0 -[IDEAssertionHandler handleFailureInMethod:object:fileName:lineNumber:assertionSignature:messageFormat:arguments:] (in IDEKit) 1 _DVTAssertionHandler (in DVTFoundation) 2 _DVTAssertionFailureHandler (in DVTFoundation) 3 __76-[IDEEditorArea _updateNavigationTargetedEditorContextIsValidObservingToken]_block_invoke (in IDEKit) 4 -[DVTObservingBlockToken observeValueForKeyPath:ofObject:change:context:] (in DVTFoundation) 5 NSKeyValueNotifyObserver (in Foundation) 6 NSKeyValueWillChange (in Foundation) 7 NSKeyValueWillChangeWithPerThreadPendingNotifications.llvm.7538459074364299148 (in Foundation) 8 DVTInvalidationCoreInvalidate (in DVTFoundation)
Posted Last updated
.
Post marked as solved
4 Replies
3.2k Views
Hello,A navigation controller within a complex storyboard behaves strange after migrate Xcode up to 11.2.The controller has two navigation items on the left (Back) and on the Right (Play).They disapperar in respect of segue from another view controller regarding its kind: Show (push) let the two buttons appear, Present modally over fullscreen (to avoid the new card scheme) let them disappear.But for using the new card scheme, any additional navigation items has no sense anymore. (because you close the card when moving down without touching "Back" as until now.But I do not see the point to change the complete logic of my app. So Present modally over fullscreen to prevent the new behavior seems the only solution.So is there any workaround to make the navigation buttons behaving as prior to ios13?
Posted Last updated
.
Post not yet marked as solved
5 Replies
1.5k Views
I have defined a class named c1 for a prototype cell like follows:defined the code for c1 like this:class c1 : UITableViewCell { public func configure(indexPath: IndexPath) -&gt; Self { let place = places[indexPath.row] self.textLabel?.text = place.name self.detailTextLabel?.text = "\(place.timestamp)" return self } }* don't worry about undefined "places" so farInside the UITableViewController following code:override func tableView(_ tableView: UITableView, cellForRowAt indexPath: IndexPath) -&gt; UITableViewCell { let cell = tableView.dequeueReusableCell(withIdentifier: "Cell1", for: indexPath) // Configure the cell... return cell.configure(indexPath: indexPath); }But this doesn't work because obv. the compiler doesn't know about c1: "Value of type 'UITableViewCell' has no member 'configure'" at line 6.I think: Because the dequeReusableCell() asks for a specified identifier "Cell1" which in turn has to be implemented by the custom class "c1" which is also specified in the storyboard. So the xcode editor has to accept the cells type according the custom class and shouldn't throw a compiler issue regarding the unknown ".configure" method.
Posted Last updated
.