Post

Replies

Boosts

Views

Activity

Reply to How to enable AppleScript between Parent and Child applications within sandbox for Mac App Store?
I should've included how I'm attempting to execute applescript from the Child app: NSDictionary* errorDict; NSAppleScript* scriptObject = [[NSAppleScript alloc] initWithSource: @"tell application id \"com.foo.parent\" to sign_out"]; NSAppleEventDescriptor* returnDescriptor = [scriptObject executeAndReturnError: &errorDict]; Maybe I can only execute compiled applescripts?
Topic: App & System Services SubTopic: Core OS Tags:
May ’22
Reply to How to enable AppleScript between Parent and Child applications within sandbox for Mac App Store?
I tried to post a comment to Quinn's question but the code formatting for comments is ugly. Here is how I'm starting the child app: let process = Process() let url = Bundle.main.bundleURL.path + "/Contents/MacOS/Child.app/Contents/MacOS/Child" process.executableURL = URL(fileURLWithPath:url) process.terminationHandler = { (process) in print("\ndidFinish: \(!process.isRunning)") } do { try process.run() } catch let error as NSError { NSLog("Failed to execute ", error) }
Topic: App & System Services SubTopic: Core OS Tags:
May ’22
Reply to How to enable AppleScript between Parent and Child applications within sandbox for Mac App Store?
I should've included how I'm attempting to execute applescript from the Child app: NSDictionary* errorDict; NSAppleScript* scriptObject = [[NSAppleScript alloc] initWithSource: @"tell application id \"com.foo.parent\" to sign_out"]; NSAppleEventDescriptor* returnDescriptor = [scriptObject executeAndReturnError: &errorDict]; Maybe I can only execute compiled applescripts?
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
May ’22
Reply to How to enable AppleScript between Parent and Child applications within sandbox for Mac App Store?
I tried to post a comment to Quinn's question but the code formatting for comments is ugly. Here is how I'm starting the child app: let process = Process() let url = Bundle.main.bundleURL.path + "/Contents/MacOS/Child.app/Contents/MacOS/Child" process.executableURL = URL(fileURLWithPath:url) process.terminationHandler = { (process) in print("\ndidFinish: \(!process.isRunning)") } do { try process.run() } catch let error as NSError { NSLog("Failed to execute ", error) }
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
May ’22
Reply to How to remove Network Extension in macOS from command line?
I figured it out
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Jun ’22
Reply to How to remove Network Extension in macOS from command line?
I discovered the networksetup tool. Example usage: networksetup -setnetworkserviceenabled "MyTestVPN" off networksetup -removenetworkservice "MyTestVPN" networksetup -listallnetworkservices
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Jun ’22
Reply to Invalid Code Signing Entitlements - com.apple.application-identifier
Did you figure this out? I'm seeing the same thing.
Replies
Boosts
Views
Activity
Jul ’22
Reply to Mac App Store embedded application fails basic networking (loading a public website)
This is programmer error. I failed to include WebKit.framework in the release build. It works now.
Topic: Code Signing SubTopic: Entitlements Tags:
Replies
Boosts
Views
Activity
Jul ’22
Reply to ITMS-90286: Invalid Code Signing Entitlements but the application-identifier is exactly what it should be
Yes, I am signing with --deep. Thanks for the link, I'll do some reading.
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Jul ’22
Reply to How can I create an App Group without a "group." prefix?
This is for the macOS App Store, not iOS
Replies
Boosts
Views
Activity
Jul ’22
Reply to Privacy Policy requiring tvOS Privacy Policy for non tvOS app
Resolved how?
Replies
Boosts
Views
Activity
Feb ’23