Hi,
I have added associated domains support for our desktop app and it works fine on my machine. But when I deploy it on other machines, it is not launching.
It throws ‘The application ““ can’t be opened” message. It works fine when I install provisioning profile on those machines.
Xcode is not allowing me to code sign the app manually as part of build process. Till now we were dong the same for other apps.
Associated domain need a provisioning profile and I have created one distribution profile and code signed it. Now it works fine only on my machine and not working on other machines. It works only on other machines if I install provisioning profile.
What should be the issue? How do I work this macOS app on other machines without installing provisioning profile?
Post
Replies
Boosts
Views
Activity
Hi All, I'm modifying a document and saving those changes to one drive folder. now i want to create a copy of that document into local folder. I want to get it done using AppleScript. I use finder app for creating copy from one folder to another folder if document exists in local folder. tell application "Finder" to duplicate sourcefile to destinationfolder with replacing here the document exists in one-drive folder and i want to create a temporary copy into local folder. Is there anyway to do it via finder app or shell scripts?
Hi,
I have a MacBook M1 chipset machine; clean setup with macOS Big Sur 11.6.7. Whenever an app try to access another app, system prompts an alert box with 'Don't Allow' & 'OK' buttons.
When I click on 'OK' button or 'Don't Allow' button, nothing happens and the dialog remains there forever.
What should be the problem? How do I fix this issue?
Why system is not responding for user consent alert box actions (OK or Don't Allow)?
Thanks
-Maju
Hi,I'm gettng the below error when i try to staple app .Could not validate ticket for <path of app>The staple and validate action failed! Error 65.But i got confirmation mail from Apple saying that "Your Mac software has been notarized. You can now export this software and distribute it directly to users."When i try to staple it, it throws Error 65. What should be the problem and how do i resolve this issue?
Hi,
I'm using the below command to get the processor name
system_profiler SPHardwareDataType | grep 'Processor Name:'
This command works fine on all machines. but in one of the machine, it never returns immediately and hangs for almost 180 seconds and returns.
Why it hangs for 180 seconds and timeout? Even if I specify -timeout: 20 into system_profiler command, it timeout without any results after 20 seconds.
The same command (with -timeout: 20 and without -timeout) works fine on other machines. The issue happens on a particular machine. Even when I run the command manually from terminal app, I see the same behaviour.
What should be the issue?
How do I figure out root cause of this issue?
Is there any other way to get the processor name from the system?
Hi, Is there anyway to notify or callback App from XPC service? XPC service is mentoring the state of an object and when its state is changed, i need tp notify the App. Is it possible? Thanks
Hi,
Is there any API for reading processor name from swift ?
Hi,
How do I communicate between two apps on macOS. For example:- I There are 2 apps - App A and App B. App A wants to wait till App B complete an action.
How do I check whether App B completed an action or not? Which inter process communication is best for implementing it ?
Thanks
Hi,
How do I integrate custom framework into XPC Mach Service and access those functions part of custom framework ?
I have created a XPC Mach service (executable) for providing services to other applications and registered it as launch agent (/Library/LaunchAgents). Service works fine with basic functionalities. I'm able to access services / protocol functions exposed by the Mach Service from another client application and able to retrieve data also from Mach service.
But for certain actions , i need to integrate this XPC Mach service with a custom framework. Integrated in the following way:
Select XPC Mach Service executable in project settings and click on General - Framework & Libraries
Click on + symbol and specify the custom framework from the list and click on add button.
Once it is added into project, open main.swift and import that framework and access the functions inside the framework.
This works fine and compiler is not showing any errors when I build the project.
When i try to access XPC Mach service function, it doesn't return any value. when i check the XPC status using 'launchctl list' command from the terminal, it shows status code as -6 and no process ID is associated for the service. If i remove the custom framework, it works fine.
What should be the issue? how do i resolve it? can i integrate a custom framework into XPC mach service? This is a common framework used by our other apps. Any limitations???
Hi,
I need to download data as a file from blob: URL. My macOS app uses WKWebView control and hosts web page. This web page provides a link to export the contents of the page as a CSV file.
webView(_ webView: WKWebView, decidePolicyFor navigationAction: WKNavigationAction, decisionHandler: @escaping (WKNavigationActionPolicy) -> Void)
The above function returns blob: url. But I don't know how to convert/save blob: URL contents into a file.
Is it possible to download contents using blob: URL? If so how do I download it?
Hi,
Is it possible to hook drag and drop event from Apple Mail.app into wkwebview control?
I have a sample app which hosts wkwebview control on a view controller. This webview can navigate and open any URL. Currently this webview is configured to show one of our internal website. Now when user drag and drop an e-mail from Apple Mail.app into wkwebview, web view should be able to hook that drop event and extract the selected message as .eml file and put into our site.
is it possible to hook that drop event?
Hello All,
I'm trying to add hyperlink inside powerpoint presentation. Here is the code snippet
tell application "Microsoft PowerPoint"
activate
set aPres to active presentation
set newSlides to slides of aPres
set newSlide to item 1 of newSlides
make new picture at newSlide with properties {file name:"/Users/majumadhusudanan/Downloads/insert_hyperlink.ico", height:100, width:100, lock aspect ratio:true}
set sl to current presenter slide
make new hyperlink at end of active presentation with properties {hyperlink address:@"google.com", type:"hyperlink range"}
end tell
But when i run the above script, script editor throws the below error:
"Microsoft PowerPoint got an error: Can’t make class hyperlink."
What should be the problem? How do i fix this issue?
The goal here is to insert hyperlink at cursor point or selected object and link with text should display inside the slide.
Thanks
Hi,
How do I clear recent apps list of Dock bar programmatically? When I uninstall product, i want to clear apps icon from recent apps list.
is there anyway to do it?
I have created a main app and added finder sync extension as the target for main app. When user click on a folder, requestforBadgeIdentifier() gets invoked, I'm able to show initial badge icon during that time. But I need to update the badge later based on some condition (synching process).
Folder contents are synched using another process. Once synching is completed, I want to update the badges from that process.
Can I invoke the below API from another process (not from finder sync extension)?
FIFinderSyncController.default().setBadgeIdentifier("cloud", for: url)
Hi, Is there anyway to select e-mails using AppleScript? I want to select e-mails and run some automation scripts from outlook app. We are able to do this for Apple Mail app. Can we do the same from Outlook app? Any help appreciated!!! Thanks