Post

Replies

Boosts

Views

Activity

SFSpeechRecognizer kLSRErrorDomain 102
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?
3
2
3.1k
Aug ’23
Enterprise Distribution and Developer Mode
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?
9
2
4.0k
Sep ’22
WWDC2022-10041 ID Verification with Wallet outside US
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?
0
0
1.3k
Jul ’22
Trained model with different predictions depending on platform
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?
0
0
798
Oct ’21
Natural Language framework error
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.
0
0
1.1k
Oct ’21
IOS 15, Wallet and office keys
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
0
0
1.4k
Sep ’21
SFSpeechRecognizer kLSRErrorDomain 102
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?
Replies
3
Boosts
2
Views
3.1k
Activity
Aug ’23
Enterprise Distribution and Developer Mode
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?
Replies
9
Boosts
2
Views
4.0k
Activity
Sep ’22
WWDC2022-10041 ID Verification with Wallet outside US
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?
Replies
0
Boosts
0
Views
1.3k
Activity
Jul ’22
Mac CLI Application sign for release
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?
Replies
1
Boosts
0
Views
1.2k
Activity
Nov ’21
Trained model with different predictions depending on platform
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?
Replies
0
Boosts
0
Views
798
Activity
Oct ’21
CreateML Image Classifier training chart is empty
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?
Replies
0
Boosts
0
Views
771
Activity
Oct ’21
Natural Language framework error
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.
Replies
0
Boosts
0
Views
1.1k
Activity
Oct ’21
IOS 15, Wallet and office keys
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
Replies
0
Boosts
0
Views
1.4k
Activity
Sep ’21