Posts

Post marked as solved
3 Replies
1.2k Views
Hello, On Xcode 12 I'm getting a bunch of redefinition/duplicate definition errors when compiling my .intentdefinition file. The relevant code is not even my code. It's auto-generated. I don't eve understand why it's saying it's duplicated. Looks fine to me. Code compiles fine on previous versions of Xcode. Any ideas on how to get around this? Compiler error - https://developer.apple.com/forums/content/attachment/18cffd22-d061-4738-9883-42badd1fddb5
Posted Last updated
.
Post not yet marked as solved
0 Replies
187 Views
User VoiceOver a user can press VO-U to show the Window Spots menu to quickly navigate to another section of the window. Whatever the default process of choosing these window spots is using, it's not doing a good job in my app. I'd like to influence what is displayed here, be it which spots appear and their names. I've found 0 documentation on this. Can anyone shed some light on this?
Posted Last updated
.
Post not yet marked as solved
0 Replies
368 Views
I see the ASCredentialIdentityStore class is also available on macOS Big Sur. But it doesn't seem to be used anywhere. Identities stored here on iOS appear on QuickType bar, on macOS I was kind of expecting them to appear has suggestions on the context menu for Password AutoFill. Is this planned for inclusion on Big Sur, or should I just ignore this API?
Posted Last updated
.
Post not yet marked as solved
1 Replies
972 Views
Hello,I had Siri Shortcuts working with Local Authenticaton on iOS 12. Meaning I could run my shortcut from Siri, use Touch ID/Face ID via Local Authenticaton and get the response back all within the Siri UI.While updating my intents to iOS 13 it seems I always get a "User interaction is required." error from LocalAuthentication wether I use Siri or the Shortcuts app.Running my old app (before updating the intent definition to iOS 13) will prompt for Touch ID or Face ID but exit the Siri UI immediately. This stackoverflow reports the same thing: https://stackoverflow.com/questions/58139274/touchid-authentication-inside-siri-intent-extensionSo my question is, does iOS 13 no longer allow the use of biometric authentication via LocalAuthentication on your Intents extension?Regards,Paulo
Posted Last updated
.
Post marked as solved
1 Replies
513 Views
Hello I have a project that works fine on Xcode 10, however on Xcode 11 it still compiles just fine but when editing auto complete doens't work and I see various errors related to undefined symbols. These symbols are imported via a Prefix Header.My question is, how do I tell Xcode code assitance features to also consider that .pch file?
Posted Last updated
.
Post marked as solved
5 Replies
1.7k Views
Hello,I'm facing a particularly weird issue where I'm trying to share access to a keychain item for two of my apps. More precisely my app includes a helper app that creates a keychain item it wants to share with the main app.I've boiled it down to the call to SecTrustedApplicationCreateFromPath(appPath, &trustedAppRef);If my app (and helper app) are running from the DerivedData folder (when I'm running in Xcode) this call will return errSecCoreFoundationUnknown (-4960) but If I move the app to be inside "/Applications/" everything works correctly. If I move the app to "/User/<username>/Applications/" it fails again with errSecCoreFoundationUnknown...I tried creating another executable to test this with just the following code:int main(int argc, const char * argv[]) { @autoreleasepool { // insert code here... NSURL *appURL = [NSURL fileURLWithPath:@"/Users/dev/Applications/Secrets.app"]; SecTrustedApplicationRef trustedAppRef = NULL; char pathBuffer[MAXPATHLEN]; char *finalPath = NULL; if( CFURLGetFileSystemRepresentation((__bridge CFURLRef)appURL, TRUE, (UInt8 *)pathBuffer, sizeof(pathBuffer)) ){ finalPath = pathBuffer; } OSStatus status = SecTrustedApplicationCreateFromPath(finalPath, &trustedAppRef); NSLog(@"%d", status); } return 0; }And it works irrespective of where the app is located...So why is it that my helper app cannot create a SecTrustedApplicationRef when passed a path outside of "/Applications/"?Thanks,Paulo
Posted Last updated
.
Post not yet marked as solved
1 Replies
1.7k Views
We can use ibtool to generate the strings for a .xib or a .storyboard.Is there a similar tool included in xcode to generate the strings from a .intentdefinition file?
Posted Last updated
.
Post not yet marked as solved
3 Replies
1.2k Views
Hello,According to Session 228 of WWDC 2017 "Making Great SiriKit Experiences" I should be able to authenticate a user with Touch ID from within a Siri Extension.I've been battling this for a while, but when I call -[LAContext evaluatePolicy:localizedReason:reply:] from withing the handle method I always get the same error on the callback:"Error Domain=com.apple.LocalAuthentication Code=-1004 "User interaction is required." UserInfo={NSLocalizedDescription=User interaction is required.}"I'm pretty much doing the same thing presented in that session… What am I missing?
Posted Last updated
.
Post not yet marked as solved
1 Replies
635 Views
,Hello,I have an app on the App Store which makes use of a Safari App Extension and asks the user the enable it at first run.The problem is that we're getting lots of reports that when our app opens the Safari Extensions pane via showPreferencesForExtension the extension isn't listed.So far for all reports, a restart to Safari as fixed this issue. Is there a way we can force Safari to update its list of extensions?Would calling the Launch Servies API LSRegisterURL and passing our app file URL help?Having this problem on the first run of our app makes for a lousy user experience.Thanks,Paulo
Posted Last updated
.
Post not yet marked as solved
0 Replies
353 Views
Hello,I've noticed that, for example, clicking a mail notification while I am browsing in Safari in full-screen mode will show that mail message as a full-screen tile.I have a utility app that could make use of this behaviour but have failed to find an API to do this. Succintly, I want to display a window as a fullscreen tile in the same space as the currently active full-screen window.Example:1. I'm browsing in Safari in full-screen2. I type a shortcut to invoke my app3. My app shows as a full-screen tile along side Safari(similarly to what clicking a mail notitificaton does)Thanks
Posted Last updated
.