Thanks eskimo! Let me try and get back to you on this solution.
Post
Replies
Boosts
Views
Activity
Is there anyway to perform SSO using AsWebAuthenticationSession API so that it will open the link in default browser?. Suppose my default web browser is configured as Chrome. Can i redirect URL to chrome browser and login using chrome browser
what about macOS?. I want to run this from macOS. Apple documentation says ASWebAuthenticationSession API can be used with default web browser. I want to use this from macOS and not from iOS. Is there anyway to embed Chromium Browser from view? I tried implementing ASWebAuthenticationSession from macOS. But it always open safari as web browser even-though chrome is set as default browser
Hi,The Application launches a Privileged XPC. To running Privileged tasks we use “AuthorizationCreate” AuthorizationCreate(_ rights: UnsafePointer?, _ environment: UnsafePointer?, _ flags: AuthorizationFlags, _ authorization: UnsafeMutablePointer<AuthorizationRef?>?) -> OSStatus which launches a authentication alert where we need to enter user name and password and it returns a AuthorizationRef ,After receiving the “AuthorizationRef “ we pass the same AuthorizationRef to XPC while launching XPC via SMJobless SMJobBless(_ domain: CFString!, _ executableLabel: CFString, _ auth: AuthorizationRef!, _ outError: UnsafeMutablePointer<Unmanaged?>!) -> BoolThe XPC is used to run Privileged tasks. Now I want to run my application on silent mode without any UI, using terminal. Is there any way to skip the authentication alert and get AuthorizationRef without any UI via terminal.The idea here is to uninstall the product silently using shell-script. So our app provides a silent mode which can be invoked from shell script. How do we handle privileged helper installation part? We are running shell-script using admin / sudo mode. Is there anyway to skip privileged mode instalation. prompt when we run the app from shell script? Thanks Majuj
I dont see any method for selecting an e- mail in outlook grid view
Ok. Thanks. I have 2 more questions. When you say central process can notify extensions, are you talking about invoking protocol functions and then protocol implmenentatin will trigger setBadgeIndsetifier().
Can I add XPC target for finder sync extension appex and connect from another app (main app)?
Thanks Quinn.
How do I communicate if central process is written using Python?
Thanks Quinn
eskimo,
Could you please share the status of feedback ID - FB8919870?
We are still getting this error when we invoke AEDeterminePermissionToAutomateTarget() for checking automation permission. It happens randomly not every-time. But once it happens Im able to replicate it on demand.
Automation section on security & privacy shows apps in checked state only. But still API hangs. here is the call stack :
Sampling process 82676 for 3 seconds with 1 millisecond of run time between samples
Sampling completed, processing symbols...
Analysis of sampling iManage Application Integration (pid 82676) every 1 millisecond
Process: iManage Application Integration [82676]
Path: /Applications/iManage/iManage Application Integration.app/Contents/MacOS/iManage Application Integration
Load Address: 0x10deda000
Identifier: com.imanage.workmac2
Version: 10.3.1 (103153)
Code Type: X86-64
Platform: macOS
Parent Process: ??? [1]
Date/Time: 2021-02-11 11:37:42.374 +0530
Launch Time: 2021-02-11 11:35:39.771 +0530
OS Version: macOS 11.2 (20D64)
Report Version: 7
Analysis Tool: /usr/bin/sample
Physical footprint: 10.9M
Physical footprint (peak): 11.1M
Call graph:
2576 Thread1150693 DispatchQueue1: com.apple.main-thread (serial)
2576 start (in libdyld.dylib) + 1 [0x7fff20629621]
2576 main (in iManage Application Integration) + 9 [0x10dee5749]
2576 NSApplicationMain (in AppKit) + 816 [0x7fff22ee996f]
2576 -[NSApplication run] (in AppKit) + 586 [0x7fff22f1568a]
2576 -[NSApplication(NSEvent) nextEventMatchingEventMask:untilDate:inMode:dequeue:] (in AppKit) + 1366 [0x7fff22f23177]
2576 DPSNextEvent (in AppKit) + 2048 [0x7fff22f24e3e]
2576 AEProcessAppleEvent (in HIToolbox) + 54 [0x7fff2899e5a2]
2576 aeProcessAppleEvent (in AE) + 452 [0x7fff264dd260]
2576 ??? (in AE) load address 0x7fff264d8000 + 0xc5f4 [0x7fff264e45f4]
2576 ??? (in AE) load address 0x7fff264d8000 + 0xced9 [0x7fff264e4ed9]
2576 NSAppleEventManagerGenericHandler (in Foundation) + 80 [0x7fff21466ec6]
2576 -[NSAppleEventManager dispatchRawAppleEvent:withRawReply:handlerRefCon:] (in Foundation) + 308 [0x7fff21467056]
2576 -[NSApplication(NSAppleEventHandling) handleCoreEvent:withReplyEvent:] (in AppKit) + 665 [0x7fff22f2a6c7]
2576 -[NSApplication(NSAppleEventHandling) handleAEOpenEvent:] (in AppKit) + 541 [0x7fff22f2aa72]
2576 -[NSApplication sendFinishLaunchingNotification] (in AppKit) + 208 [0x7fff22f2d87b]
2576 -[NSApplication postDidFinishNotification] (in AppKit) + 305 [0x7fff22f2db2d]
2576 -[NSNotificationCenter postNotificationName:object:userInfo:] (in Foundation) + 59 [0x7fff2143****]
2576 CFXNotificationPost (in CoreFoundation) + 723 [0x7fff206ccbde]
2576 CFXRegistrationPost (in CoreFoundation) + 454 [0x7fff2079780f]
2576 _CFXRegistrationPostblockinvoke (in CoreFoundation) + 49 [0x7fff2079789b]
2576 CFNOTIFICATIONCENTERISCALLINGOUTTOANOBSERVER (in CoreFoundation) + 12 [0x7fff206fbfec]
2576 @objc AppDelegate.applicationDidFinishLaunching(:) (in iManage Application Integration) + 109 [0x10df2ef5d]
2576 AppDelegate.applicationDidFinishLaunching(:) (in iManage Application Integration) + 3594 [0x10df2dfea]
2576 Common.checkAuthforApp(processName:) (in iManage Application Integration) + 479 [0x10df3ccaf]
2576 Common.getAuthStatus(bundle:) (in iManage Application Integration) + 615 [0x10df3d5c7]
2576 AEDeterminePermissionToAutomateTarget (in AE) + 1356 [0x7fff26517921]
2576 dispatchsemaphorewaitslow (in libdispatch.dylib) + 98 [0x7fff2046412e]
2576 dispatchsema4wait (in libdispatch.dylib) + 16 [0x7fff20463c5c]
2576 semaphorewaittrap (in libsystemkernel.dylib) + 10 [0x7fff205d9eba]
Total number in stack (recursive counted multiple, when >=5):
Sort by top of stack, same collapsed (when >= 5):
semaphorewaittrap (in libsystemkernel.dylib) 2576
Binary Images:
0x10deda000 - 0x10df69fff +com.imanage.workmac2 (10.3.1 - 103153) <855D845E-86F8-330D-ADB7-BC8015C15642> /Applications/iManage/iManage Application Integration.app/Contents/MacOS/iManage Application Integration
0x10e1b4000 - 0x10e407fff +com.iManage.CoreServices (10.3.1 - 103101) <1EB5CC78-81A0-31CD-8C38-E51BF91B521E> /Applications/iManage/iManage Application Integration.app/Contents/Frameworks/iManageCoreServices.framework/Versions/A/iManageCoreServices
0x10fb4a000 - 0x10fb56047 libobjc-trampolines.dylib (818.2) <29187EF9-2BD6-3ABF-8088-DE708721B612> /usr/lib/libobjc-trampolines.dylib
Not going to deploy via App Store. We will code sign and install it. Yes. same team owns both apps. we want to com
I need to communicate based on some state - true or false, not frequently. so messages are just state only
IPC per user only and not global to the system. In case if App A is not running it should launch and make it run.
how do i accomplish it?
CPU. Currently I'm using system_profiler for fetching the processor name. This is Hanging on some machines. I'm looking for an alternative method for the same.
Anyone know how to disable "Prevent Cross-Site Tracking" for wkwebview????
Anyone know how to disable "Prevent Cross-Site Tracking" for wkwebview????