The fun of sandboxed Mac applications.
Over the past weeks, I've been spending a lot of time improving the performance of RocketSim.
While this had a huge impact, it wasn't an easy journey.
I requested a
temporary exception for my App Sandbox Entitlement which resulted in
RocketSim being in review for more than a week.
Gaining access to files outside your app's container requires users to give explicit access through NSOpenPanel. Once access is given, you need to store the URL with security scopes attached. However, how does this work when running executables outside your app binary?
RocketSim was up to 50% slower due to simctl creating xcresult files on failures. While it's a little chef's secret how this was solved in the end, you can guess that I found the solution by reading up on
sandboxing in depth.
Although these are time-consuming challenges, I'm still happy to be in the Mac App Store. Yes, sandboxing isn't easy, but the reachability I gained through the Mac App store has been surprisingly high (350K. impressions in a single month). Lastly: all challenges I faced I've been able to solve even in a sandboxed environment.
Join me this Thursday at the free Mobile DevOps Summit to learn what's new in Swift 5.7.Enjoy this week's SwiftLee Weekly!