Post

Replies

Boosts

Views

Activity

Reply to How can I bundle resources along with my launch agent?
I don't think "SharedSupport" is the appropriate place. The legacy documentation says that this location is for "additional non-critical resources that do not impact the ability of the application to run". Unfortunately, I think the legacy migration documentation is wrong because it explicitly says to use the "Resources" folder for executable code. Don't do that. Here is the current documentation. None of that is really what you're asking about, but I think it leads up to it. Typically, launch agents are single-file executables. I'm not familiar with the taskinfo tool or its output. But what it says makes sense. A Launch Agent would run with a user space UI role. That's how Launch Agents work. That's not the same as a Launch Daemon that runs as root and does not require a login session. When I look at how most other apps handle these things, what you're describing sounds more like a Login Item. A login item would live in "Contents/Library/LoginItems". Of all the apps I have installed that contain items in "Contents/Library", virtually all that contain bundled apps have them as Login Items. So I recommend you treat this thing as a Login Item. (Note that I mean a newer Service Management Login Item, not the really old school Login Items meant for end users). It's only recently that Apple added the ability to bundle Launch Agents and Daemons inside an app bundle. In a modern app, I'm not really sure what the difference between a Login Item and a Launch Agent would be. They seem to perform very similar roles. I guess a Launch Agent would be able to use some of the plist config file tricks that a Login Item would probably have to code manually. I can tell you that I have a couple of apps in development that will contain some background functionality and I plan to use Login Items rather than Launch Agents.
Jun ’25
Reply to How can I bundle resources along with my launch agent?
launchd agents can publish named XPC endpoints. I know enough about that to stay away from it. the system is able to relaunch a launchd agent that crashes. That might be useful. However, there is one important distinction. Can a Launch Agent be used in the Mac App Store? Login Items are explicitly allowed in the "retired" Mac App Store documentation. The current App Review guidelines only mention user consent. Is there a modern replacement for the old "Submitting o the Mac App Store" documentation?
Jun ’25
Reply to Rendering HTML tables on iOS
That's too much of an open-ended question. Just pick one of the 5000 methods to accomplish this. Or perhaps recognize the inherent constraints of the platform and re-think how you display data to be more readable and useful on a small-screen platform.
Topic: Safari & Web SubTopic: General
Jun ’25
Reply to Publish old demo code from Apple on GitHub
When Apple, or anyone else, publishes source code on the internet, it is automatically copyrighted. Sometimes that copyrighted content includes an open source license. If so, then you can then use that code under the terms of that license. In theory, said license could say anything. But they typically conform to one of a number of standard open source licenses. Usually, you can continue to use and re-distribute the source even if the original content is removed. Just make sure to confirm that with the license itself. Apple's licenses are typically very unobtrusive. But licenses from other sources can be very restrictive. Unfortunately, Apple is well-known for deleting documentation, videos, and especially sample code. If they publish anything during this week's WWDC that seems like it might be useful, download and archive it. Never assume that anything Apple publishes will be available forever.
Topic: Community SubTopic: Apple Developers Tags:
Jun ’25
Reply to Solo Developer User Feedback Avenues
I think you misunderstood. This is most definitely not the forum for your users or testers. As an individual developer, it's important to remember that you're not Apple. Nor are you any other company with employees and a user experience budget. If you want people to test your app and give you feedback, you'll have to go looking for them. For many developers, the closest thing to real-world, end-user testing that they ever get is App Review.
Jun ’25
Reply to Clarification Regarding App Denial on Simulator and Its Impact on App Review Process
Please don't use the Comment feature here in the forums. It's very annoying. Don't worry about those kinds of security issues. If your app reaches any level of popularity, then yes, it will absolutely be hacked. But at that point, you should consider the hackers to be an unpaid marketing team. Then, if your app continues to be successful enough so that the hackers are a noticeable detriment to your income, you'll have the resources to improve security and lock it down.
Jun ’25
Reply to Pyro Panda demo from WWDC 25
Sorry, I'm just a regular person. I can't do anything about what Apple does or does not post. But I looked into this a bit more and I can confirm that it isn't a panda at all. It's a fox. This is the Fox 2 sample from WWDC 2017. Later, this sample was used again in WWDC 2021 to demo physical and virtual game controllers. However, the code for those changes seems limited to the "Code" tab.
Jun ’25