Post

Replies

Boosts

Views

Activity

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 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 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 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 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 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 Xcode15 on Sequoia
What are those compiler issues? There is very little difference between Xcode 15 and Xcode 16. It shouldn't cause that kind of problem. Plus, Apple now requires Xcode 16 and building against the current SDKs for submission to the App Store. So unless you are distributing this project through some other means, then you have no choice. Otherwise, you can always install a VM, or roll back to an earlier OS version.
Jun ’25
Reply to Use Java codebase with multiplatform SwiftUI app
Is there a way to package the Java code to work on iOS and mani macOS without having to complicate the project to the point where it would be easier to rewrite the Java code in Swift and have to work harder to update the app on each platform separately? No, there is not. Perhaps this would be an opportunity to try an AI solution to translate from Java to Swift.
Jun ’25
Reply to Detect and wait until a file has been unzipped to avoid permission errors
I would handle the "permission denied" error by postponing the sync until the unzip has completed, which is the question I'm trying to find an answer to. Unzipping is a good test case, but there are other operations that could trigger the same problem. The end user could act as root and create an unreadable directory, leaving it there forever. Unless this is an operation that you initiated, with a reliable completion mechanism, then there is no way to tell when it completes. Maybe the user runs out of disk space, or the file is corrupted, and it never completes.
Topic: App & System Services SubTopic: Core OS Tags:
May ’25