Post

Replies

Boosts

Views

Activity

xcrun stapler staple error
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?
15
0
7.4k
Mar ’22
AppleScript - how to copy a file from one drive folder to local folder in hard disk?
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?
4
0
2.1k
Feb ’23
system_profiler hangs and timeout after 180 seconds on macOS Big Sur 11.2.3
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?
1
0
1.5k
Jun ’21
How to fix macOS app to app consent box alert issue?
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
1
0
739
Jul ’22
macOS app with associated domains feature - not launching after deployment on other machines.
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?
0
0
734
Apr ’24
xcrun stapler staple error
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?
Replies
15
Boosts
0
Views
7.4k
Activity
Mar ’22
Notification/callback mechanism
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
Replies
11
Boosts
1
Views
4.9k
Activity
Jun ’21
AppleScript - how to copy a file from one drive folder to local folder in hard disk?
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?
Replies
4
Boosts
0
Views
2.1k
Activity
Feb ’23
system_profiler hangs and timeout after 180 seconds on macOS Big Sur 11.2.3
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?
Replies
1
Boosts
0
Views
1.5k
Activity
Jun ’21
How do I read processor name from swift ?
Hi, Is there any API for reading processor name from swift ?
Replies
3
Boosts
0
Views
1.3k
Activity
Apr ’21
How to fix macOS app to app consent box alert issue?
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
Replies
1
Boosts
0
Views
739
Activity
Jul ’22
macOS app with associated domains feature - not launching after deployment on other machines.
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?
Replies
0
Boosts
0
Views
734
Activity
Apr ’24