Posts

Post not yet marked as solved
6 Replies
2.8k Views
I search places with the MKLocalSearchCompleter and refine the results when the tableView cell is selected. When a MKLocalSearchCompletion is selected and MKLocalSearch.Request() is started, I get these Errors (example selects Los Angeles):  According to my research this is a very rare problem?! [SearchAttribution] No matching attribution source found for org.volunteermatch ... (+4 other domains) Error loading attribution info for identifier org.volunteermatch from geod: Error Domain=GEOErrorDomain Code=-8 "No matching attribution source found for org.volunteermatch" UserInfo={NSDebugDescription=No matching attribution source found for org.volunteermatch} ... (+4 other domains) These are the instance variables in a TableViewController: var searchCompleter = MKLocalSearchCompleter() var searchResults = [MKLocalSearchCompletion]() This code is running everytime the search term is changed: searchCompleter.queryFragment = text searchCompleter.resultTypes = .address searchCompleter.region = region In tableView … didSelectRowAt… this code is executed: let selectedItem = searchResults[indexPath.row] let searchRequest = MKLocalSearch.Request() searchRequest.naturalLanguageQuery = selectedItem.title searchRequest.resultTypes = .address let search = MKLocalSearch(request: searchRequest) search.start { (response, error) in guard let coordinate = response?.mapItems[0].placemark.coordinate else { return } // send to mainVC self.delegate?.userSelectedPlace(coordinate: coordinate) }
Posted Last updated
.
Post not yet marked as solved
0 Replies
721 Views
I changed the Locale to "de-DE" (and other than english locales), but nothing is detected.Used this Apple sample code: Recognizing Speech in Live Audio · LinkNothing is detected, after the timeout it returns:[Utility] +[AFAggregator logDictationFailedWithError:] Error Domain=kAFAssistantErrorDomain Code=1 "(null)" "Error while recognition: Error Domain=kAFAssistantErrorDomain Code=1 \"(null)\""Xcode 11.0 beta 5iOS 13.0 beta (17A5565b)
Posted Last updated
.