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?
Selecting any option will automatically load the page
Post
Replies
Boosts
Views
Activity
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 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,
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???
Topic:
App & System Services
SubTopic:
Core OS
Tags:
Inter-process communication
XPC
Service Management
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 any API for reading processor name from swift ?
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 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?