Posts

Post not yet marked as solved
3 Replies
2.1k Views
I have updated to macOS Monterrey and my code for SFSPeechRecognizer just broke. I get this error if I try to configure an offline speech recognizer for macOS Error Domain=kLSRErrorDomain Code=102 "Failed to access assets" UserInfo={NSLocalizedDescription=Failed to access assets, NSUnderlyingError=0x6000003c5710 {Error Domain=kLSRErrorDomain Code=102 "No asset installed for language=es-ES" UserInfo={NSLocalizedDescription=No asset installed for language=es-ES}}} Here is a code snippet from a demo project: private func process(url: URL) throws {     speech = SFSpeechRecognizer.init(locale: Locale(identifier: "es-ES"))     speech.supportsOnDeviceRecognition = true     let request = SFSpeechURLRecognitionRequest(url: url)     request.requiresOnDeviceRecognition = true     request.shouldReportPartialResults = false     speech.recognitionTask(with: request) { result, error in       guard let result = result else {         if let error = error {           print(error)           return         }         return       }       if let error = error {         print(error)         return       }       if result.isFinal {         print(result.bestTranscription.formattedString)       }     }   } I have tried with different languages (es-ES, en-US) and it says the same error each time. Any idea on how to install these assets or how to fix this?
Posted Last updated
.
Post not yet marked as solved
9 Replies
2.8k Views
I have updated my developer device to iOS 16 and tried to download an App we have distributed within the company, signed with an enterprise certificate. According to "Get to know Developer Mode" talk (wwdc2022-110344), Enterprise Distribution is not affected by Developer Mode, For example, deploying your application through TestFlight or using Enterprise in-house distribution does not require Developer Mode Is this a bug in beta 1 or is the intended behavior and the talk is wrong? Has anyone experienced this?
Posted Last updated
.
Post not yet marked as solved
0 Replies
983 Views
I have watched this session and I am very curious about which kind of document descriptors would be available (I assume US driving license is available as of now and only limited to given States) and if this feature is intended to be available outside US. As a developer working on identity related projects, I am quite curious if Apple has plans for this technology outside US after these pilots have been carried out. Is there any additional information on this?
Posted Last updated
.
Post not yet marked as solved
1 Replies
899 Views
I am developing a Mac Command Line Tool with an Apple Enterprise Account. When I try to configure the signing capabilities for the App I can only set the signing certificate to Develop or to run locally. Which kind of certificate should I use to distribute this CLI to another user? Do you need to generate an App ID (Mac) for this kind of distribution?
Posted Last updated
.
Post not yet marked as solved
0 Replies
648 Views
I have trained a model with CreateML. If I test the results with the Preview option that comes with the mlmodel, it shows me some preditions with a given conficence, but if I go through Vision + CoreML to check the predictions, for the same images, the confidence is totally different. Here is an example of the output, console output is from the playground with vision + CoreML and the image footer is from the preview of the model itself. I have sent this model to a colleague that uses Coremltools in Python and the results are also different. Does the prediction affect where you are executing the model on?
Posted Last updated
.
Post not yet marked as solved
0 Replies
597 Views
When trying to train an image classifier with Create ML I hit the train button and after the feature extracting phase, the training tab chart is empty I have tried with different images and even training different models (one of them the typical dog vs cat model) but the result is the same, how can I get this to work?
Posted Last updated
.
Post not yet marked as solved
0 Replies
869 Views
am using Natural Language framework on a Swift Playground XCode version is 13.0 (13A233) and sometimes at random, it stops processing the string and get these two errors: Class _PathPoint is implemented in both /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/UIKitCore.framework/UIKitCore (0x11f3eca78) and /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/TextInputUI.framework/TextInputUI (0x131eb48b0). One of the two will be used. Which one is undefined. objc[15209]: Class _PointQueue is implemented in both /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/UIKitCore.framework/UIKitCore (0x11f3eca50) and /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/TextInputUI.framework/TextInputUI (0x131eb48d8). One of the two will be used. Which one is undefined. It seems that something inside NLTagger is confused about these two classes but I cannot determine what is causing it, as sometimes it works fine and other times it shows these errors and the string is left without fully processing. Has anyone found this issue before and any potential solution? The playground seems to keep going, so it is not an error forwarded to my code, but the NLP process is not affecting all the string when it happens.
Posted Last updated
.
Post not yet marked as solved
0 Replies
1.2k Views
It has been some time since WWDC and first beta and couldn't find any information about iOS 15 new features to integrate office keys into Wallet. Is this feature live in iOS 15.0 or is it coming later this year? We are highly interested in this feature to offer access control features to our customers but it seems there are no information about Wallet improvements mentioned on WWDC 10092
Posted Last updated
.
Post marked as solved
2 Replies
1.8k Views
I have been struggling with debugging on device from two weeks on my office Mac. When I connect any of my devices to the Mac, it does not appear at all on XCode. On some ocassions it is detected by Finder, then prompted to trust the device. After that it either keeps “Loading…” forever or presents a pairing error, but the iphone is never accessed from Finder or Xcode.  Console App outputs this information:  por omisión 15:36:27.666976+0200 kernel 026954.656258 adb@(null): AppleUSBHostUserClient::start: missing entitlement com.apple.appledfr.client por omisión 15:36:28.754513+0200 kernel 026955.743773 adb@(null): AppleUSBHostUserClient::start: missing entitlement com.apple.appledfr.client por omisión 15:36:29.834747+0200 kernel 026956.823984 adb@(null): AppleUSBHostUserClient::start: missing entitlement com.apple.appledfr.client por omisión 15:36:30.918818+0200 kernel 026957.908033 adb@(null): AppleUSBHostUserClient::start: missing entitlement com.apple.appledfr.client por omisión 15:36:31.997785+0200 kernel 026958.986978 adb@(null): AppleUSBHostUserClient::start: missing entitlement com.apple.appledfr.client por omisión 15:36:33.072568+0200 kernel 026960.061738 adb@(null): AppleUSBHostUserClient::start: missing entitlement com.apple.appledfr.client por omisión 15:36:34.154567+0200 kernel 026961.143714 adb@(null): AppleUSBHostUserClient::start: missing entitlement com.apple.appledfr.client por omisión 15:36:35.243197+0200 kernel 026962.232322 adb@(null): AppleUSBHostUserClient::start: missing entitlement com.apple.appledfr.client por omisión 15:36:36.339062+0200 kernel 026963.328165 adb@(null): AppleUSBHostUserClient::start: missing entitlement com.apple.appledfr.client por omisión 15:36:36.611157+0200 usbmuxd _AMDeviceInsecureNotificationCallback (thread 0x700001de2000): AMDeviceStartSession() failed: 0xe8000003 por omisión 15:36:37.418613+0200 kernel 026964.407697 adb@(null): AppleUSBHostUserClient::start: missing entitlement com.apple.appledfr.client por omisión 15:36:56.606856+0200 Safari _connect_to_port (thread 0x700006d8a000): USBMuxConnectByPort failed to connect to the device 00008101-000559493642001E on port 32498: Operation timed out por omisión 15:37:36.947782+0200 kernel 027023.935659 Google Chrome@(null): AppleUSBHostUserClient::openGated: could not open provider USB3.0 Hub. provider already opened for exclusive access by a kernel client por omisión 15:37:37.048259+0200 kernel 027024.036125 AppleUSB20HubPort@14210000: AppleUSBHostPort::enumerateDeviceComplete_block_invoke: enumerated 0x05e3/0610/9226 (USB2.0 Hub) por omisión 15:37:01.623795+0200 Xcode [MT] iPhoneConnect: 📱<DVTiOSDevice (0x7fed3ab95950), iPhone 12 CIRA, iPhone, 14.5 (18E199), 00008101-000559493642001E> -- An error occurred whilst preparing device for development -- Failed to prepare device for development. Domain: com.apple.dtdevicekit Code: 806 Recovery Suggestion: If you are certain that Xcode supports development on this device, try disconnecting and reconnecting the device. User Info: {   AssociatedMobileDeviceFunction = AMDeviceMountImage;   DVTRadarComponentKey = 487927;   NSLocalizedFailure = "This operation can fail if the version of the OS on the device is newer than the version of Xcode that is running."; } -- This device is no longer connected. Domain: com.apple.dt.MobileDeviceErrorDomain Code: -402653052 User Info: {   DVTRadarComponentKey = 261622;   MobileDeviceErrorCode = "(0xE8000084)";   "com.apple.dtdevicekit.stacktrace" = ( 0  DTDeviceKitBase           0x0000000123ed43b8 DTDKCreateNSErrorFromAMDErrorCode + 220 1  DTD por omisión 15:37:01.623970+0200 Xcode [MT] iPhoneConnect: 📱<DVTiOSDevice (0x7fed3ab95950), iPhone 12 CIRA, iPhone, 14.5 (18E199), 00008101-000559493642001E> == Underlying device preparation errors == por omisión 15:37:01.624192+0200 Xcode [MT] iPhoneConnect: 📱<DVTiOSDevice (0x7fed3ab95950), iPhone 12 CIRA, iPhone, 14.5 (18E199), 00008101-000559493642001E> == END: Underlying device preparation errors == The device is an iPhone 12 with iOS 14.5 but I have tried with an iPhone SE 2020 running 14.6 and my personal device, iPhone 11 Pro with 14.6, none of them detected by the computer that fails to connect this device, which is a Macbook Pro 16 inches running Big Sur 11.4 and some company’s MDM, anti virus and policies. IT guys state they did not update any policy for this particular issue or any update beyond OS X 11.4 and apparently there are more Mac affected by this (either not connecting iPhones or not connecting USB peripherals at all). We had one Macbook with features close to mine running Catalina and it seems it is not affected at all. Also I have tried these particular iPhones on my personal Macbook Pro 2017 (same XCode and OS X version) and they just work fine.  I have reinstalled XCode and reinstalled OSX but the problem keeps going. Does it ring any bell to anyone? I am pretty desperate as I cannot debug on device at all! Thank you
Posted Last updated
.
Post not yet marked as solved
2 Replies
1.4k Views
After trying two Apps in the iOS Simulator I've come across a change in the App Icon: Both icons should be with black background, but they are resized to be presented inside a white background with the top right corner folded. What am I missing?
Posted Last updated
.
Post marked as solved
1 Replies
1.1k Views
I've installed an App and the device (iPhone X, iOS 14.0) is not indexing the App (no results on Spotlight or App Library found for thap App). If I delete the App from the main screen and move to the Library, it starts indexing, even if I move the App again to the Apps pages. The App is distributed with the Enterprise program and the App name is only 3 characters in caps. Has anyone found any similar behavior?
Posted Last updated
.