Post

Replies

Boosts

Views

Activity

Reply to Run python script from the App Sandbox
Lol, for me it is required, as I am building RegExp testing utility (https://apps.apple.com/us/app/regexp/id1546140065) for various languages. Implementations in languages have slight differences, so the best ways to implement flavors is to use the original languages. Right now I have: Swift/Objc with NSRegularExpression Go (that was easy, considering I can build a CLI and just embed it in the Helpers as CLI tool) JavaScript (with WebKit embedded) For Python/Ruby, etc I don't want to **** the application itself, and want to use shipped with Mac Python runtimes. So back to my question, when I try to launch a process with let task = Process() task.executableURL = "/usr/bin/python3" task.arguments = [[URL(fileURLWithPath: "python.py", relativeTo: Bundle.main.resourceURL).path]] ... I get xcrun: error: cannot be used within an App Sandbox So my original question is, my guess if that is possible to do with App Sandbox, I need to: give some additional capabilities? maybe ask user to point to the Python and have "read-only" access to the file (but that would not give execution permission on the file) I will appreciate any pointers to what to try, what to read.
Dec ’20
Reply to Automatic Reverse Proxy with NETransparentProxyManager (or similar?)
Hey Matt, Thank you for the answer. So in that case I would need both: my own DNS server say for the *.local domains and IP based network extension the way I write it in the example? Is there are a way to inject some DNS information (similar to /etc/hosts) without actually running my private DNS server on the system? And if I would want to run my own DNS server, is it possible not to run it on the port 53?
Jan ’21
Reply to Local SwiftData to CloudKit migration
I feel like you should just step back a step, and go back to the where you just need to change .none to .automatic, don't add a name "synced" because that will change the name/path to the local file, that is why your data is getting lost. When you do that, if you see that app is crashing, look at the logs, and why it is crashing. CloudKit does have some requirements on the data, like most of the fields should be nilable or have default values, references between models should be defined both ways, and there could not any unique constraints. I am sure, if you see a crash, it is because one of those conditions are not met. Which will be straightforward to fix by changing a model a little bit.
Jun ’24
Reply to Passwords app doesn't allow website editing
I really hope Apple will change this behavior for the GA. I have submitted FB13840881 from my side. My primary concerns: There are situations when the website is moving their primary domain for login from domain A to domain B. More like "foo.com" to "login.foo.com", or "login.foo.com" to "auth.foo.com". Being able to actually more granularly specify that will help with the security. Some companies/websites do have multiple entries for the same username and password. Take a look at Disney, there is go.com and disneyplus.com and espn.com that share the same username and password. And there are a LOT of other examples, including various medical insurance companies, banks, etc. We do need ability to add multiple websites and being able to edit the websites.
Jun ’24
Reply to FinanceKit - Getting Error - Fatal error: Process is not entitled
See https://developer.apple.com/documentation/financekit To access someone’s financial data, you must meet the criteria outlined in Get started with FinanceKit, request the FinanceKit managed entitlement, hold an organization-level Apple Developer account, be logged in as Account Holder, and include the NSFinancialDataDescription string in your Info.plist. Apple reviews each application using defined criteria. If your request meets the criteria, Apple adds the entitlement to your developer account by using managed capabilities. To request access, see the FinanceKit managed entitlement request form. For more information about managed entitlements, see Provisioning with capabilities.
Jun ’24
Reply to CloudKit costs.
Also filed FB13885926, as before we actually could see what is free asset storage and free database storage is limited to, now even this information is gone from dashboards. See for example https://www.outcoldman.com/en/archive/2024/03/02/app-store-30-percent-fee-cloudkit-public-database/ - I have screenshots just from 2 months ago, where I could tell how much free Asset and Database storage I could get.
Jun ’24