Posts

Post not yet marked as solved
2 Replies
1.5k Views
I am currently receiving the following issue when my app requests access to the mindful minutes store:Error Domain=com.apple.healthkit Code=3 "Failed to look up source with bundle identifier "com.myorg.myapp"" UserInfo={NSLocalizedDescription=Failed to look up source with bundle identifier "com.myorg.myapp"}The app does not crash however the authentication page does not in fact display.This is strange because this was working perfectly in previous versions of my app (since which I have made very few alterations).The following is the code I am using to request the authentication:let typesToShare = Set([ HKObjectType.categoryType(forIdentifier: HKCategoryTypeIdentifier.mindfulSession)! ]) self.healthStore.requestAuthorization(toShare: typesToShare, read: nil) { (_, error) -> Void in if let error = error { print("\(error)") } DispatchQueue.main.async { self.performSegue(withIdentifier: "openWalkthroughThree", sender: self) } }Initially, I thought this was an issue with code signing. However, I have completely refreshed all my certificates and it still is not working.I would greatly appreciate a nudge in the right direction to solve this issue (specifically what the error actually is).
Posted
by kara12321.
Last updated
.
Post not yet marked as solved
0 Replies
497 Views
I am currently testing an INUIAddVoiceShortcutButton (add to Siri button) on an iPhone 6 running iOS 12. From the user's point of view, when the view controller with the add to Siri button is presented, it all seems fine and works perfectly. However, the Xcode debugger comes up multiple times with the following error:2019-06-27 12:07:04.380289+0800 AppName[917:129578] [default] No results found for query: {( <_LSApplicationIsInstalledQuery: 0x281061260> )}The slightly unexplainable part, is the fact that when I run the same app on a different iPhone 8+ (also running iOS 12), this error does not pop up.I have tried using breakpoints to find the root of this issue but to no avail. If anyone could tell me what this error means, or point me in the right direction that would be brilliant.NB: I only assume this is to do with the Siri Shortcuts button as this is what comes up when I search google with the error. If I am wrong please correct me.
Posted
by kara12321.
Last updated
.