After a while when i ran the xcode project again without making any changes , application worked fine , agent was getting registered/running , i was getting logs for agent in console.app. Tried it multiple time and it was working whole day.
But today again ran application from xcode , i started getting same error .
Registering Agent. Status: 3
Failed to register agent: Error Domain=SMAppServiceErrorDomain Code=1 "Operation not permitted" UserInfo={NSLocalizedFailureReason=Operation not permitted}
What possibly could be the reason for such behavior?
Topic:
App & System Services
SubTopic:
Processes & Concurrency
Tags: