Post

Replies

Boosts

Views

Activity

Comment on Mac App Store application fails to open child app (crashing in sanbox init) - how can I package a secondary app within my master app for MAS?
This extensive writeup is exactly what I needed. I was able to build a test app that worked when bundled inside the main app and distributed via TestFlight. Thank you, Quinn. I have another stumbling block with integrating the real app but will make a separate post since it's a specific error
Topic: App & System Services SubTopic: Core OS Tags:
Jul ’22
Comment on Code signature validation failed fatally
I came here from google trying to resolve a similar issue but I don't have a file called embedded.provisionprofile anywhere in my .app folder. I also don't see it in other apps I've installed from the App Store. Did something change in the last year since this post was made where these aren't distributed any longer? Is there an equivalent way today for me to compare my entitlements against the prov profile?
Topic: App & System Services SubTopic: Core OS Tags:
Jun ’22
Comment on How to enable AppleScript between Parent and Child applications within sandbox for Mac App Store?
Absolutely. The parent app is a persistent app that presents an icon and menu in the toolbar and is doing some tasks in the background. It's responsible for handling user activation and sign out with a server. The child process is a GUI that is started from the toolbar and presents the user with a control panel of sorts. The child app needs to know things that only the Parent app knows. So I'm achieving that right now with a simple AppleScript interface for me to query the parent. It works great. I hate that I might have to build an entire XPC service and framework for the few comms I need to support. My 1 day of just perusing XPC docs seems like it's more for doing one-off tasks than IPC but I haven't spent a lot of time yet. The daily tasks of the job have me busy.
Topic: App & System Services SubTopic: Core OS Tags:
May ’22
Comment on How to enable AppleScript between Parent and Child applications within sandbox for Mac App Store?
I'm no expert but I thought the additions to <key>com.apple.security.scripting-targets</key> explicitly call out applescript targets is what the AppStore requires. As for why am I using AS at all? Well I could revisit it but it works great and this code has been distributed to customers with Developer ID-signed installers. I'm tasked with getting this on the App Store and I'm trying to touch as little code as possible.
Topic: App & System Services SubTopic: Core OS Tags:
May ’22
Comment on How to enable AppleScript between Parent and Child applications within sandbox for Mac App Store?
`         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
Comment on I can't see Developer ID Installer option
You're not alone in this situation, my friend! Having to reach out to the CEO to get him to generate a certificate is b-r-u-t-a-l!
Replies
Boosts
Views
Activity
Jun ’24
Comment on Network Extension installation and multiple users
The link to your feedback issue is dead. Was there resolution?
Replies
Boosts
Views
Activity
Jul ’23
Comment on Is it still not possible to debug Network Extension using iOS Simulator in Xcode 13.2.1?
Quinn - thanks. Just wanted to check...things can change over 4+ years.
Replies
Boosts
Views
Activity
Aug ’22
Comment on Application Loader v3.5 download link
Thank you!
Replies
Boosts
Views
Activity
Jul ’22
Comment on How can I create an App Group without a "group." prefix?
Ah, I see. Perfect, thanks again for your help!
Replies
Boosts
Views
Activity
Jul ’22
Comment on ITMS-90286: Invalid Code Signing Entitlements but the application-identifier is exactly what it should be
Yes, lots to read. For some odd reason I'm hungry for varnished waffles.
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Jul ’22
Comment on How to remove Network Extension in macOS from command line?
Thank you, that actually might explain some oddities I've seen during development/test
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Jul ’22
Comment on Mac App Store application fails to open child app (crashing in sanbox init) - how can I package a secondary app within my master app for MAS?
This extensive writeup is exactly what I needed. I was able to build a test app that worked when bundled inside the main app and distributed via TestFlight. Thank you, Quinn. I have another stumbling block with integrating the real app but will make a separate post since it's a specific error
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Jul ’22
Comment on Code signature validation failed fatally
I came here from google trying to resolve a similar issue but I don't have a file called embedded.provisionprofile anywhere in my .app folder. I also don't see it in other apps I've installed from the App Store. Did something change in the last year since this post was made where these aren't distributed any longer? Is there an equivalent way today for me to compare my entitlements against the prov profile?
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Jun ’22
Comment on How to enable AppleScript between Parent and Child applications within sandbox for Mac App Store?
Absolutely. The parent app is a persistent app that presents an icon and menu in the toolbar and is doing some tasks in the background. It's responsible for handling user activation and sign out with a server. The child process is a GUI that is started from the toolbar and presents the user with a control panel of sorts. The child app needs to know things that only the Parent app knows. So I'm achieving that right now with a simple AppleScript interface for me to query the parent. It works great. I hate that I might have to build an entire XPC service and framework for the few comms I need to support. My 1 day of just perusing XPC docs seems like it's more for doing one-off tasks than IPC but I haven't spent a lot of time yet. The daily tasks of the job have me busy.
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
May ’22
Comment on How to enable AppleScript between Parent and Child applications within sandbox for Mac App Store?
Given the time already spent on this and the only two people who've replied to me both suggesting a design change I will go ahead and start reading about XPC. Thank you for your time.
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
May ’22
Comment on How to enable AppleScript between Parent and Child applications within sandbox for Mac App Store?
I'm no expert but I thought the additions to <key>com.apple.security.scripting-targets</key> explicitly call out applescript targets is what the AppStore requires. As for why am I using AS at all? Well I could revisit it but it works great and this code has been distributed to customers with Developer ID-signed installers. I'm tasked with getting this on the App Store and I'm trying to touch as little code as possible.
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
May ’22
Comment on How to enable AppleScript between Parent and Child applications within sandbox for Mac App Store?
`         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
Comment on Launching contained binaries fails with forbidden-sandbox-reinit when built in Xcode 9.3
Stumbled here and the key is where Quinn says "and only those entitlements".
Topic: Code Signing SubTopic: General Tags:
Replies
Boosts
Views
Activity
May ’22
Comment on Xcode Archiving Mac app in "Other Items" section of Organizer
Wow, man. 6 years later I spent the ENTIRE workday on this and your answer was the fix. Thank you!
Replies
Boosts
Views
Activity
May ’22