Post

Replies

Boosts

Views

Activity

How to verify plain, non-inApp purchase with AppTransaction
Hi all, I'm trying to switch from the 'exit(173)' method to using AppTransaction for a plain, paid app. My current attempt in swift looks like this: Task { let shared = try await AppTransaction.shared switch (shared) { case .verified(let transaction): print("verified <3") case .unverified(let transaction, let error): print("unverified. :'(") exit(0) } } However running this on my dev machine always ends up in the "verified <3" branch. I am ruinning on macOS 15 and am pretty sure that on older systems with the exit(173) method, I would see a window asking me to log into my app store account... I already created a new sandbox account and tried using an empty ".storekit" file... Am I doing something wrong in my code, or is the purchase coming from somewhere else? I already set the bundle-identifier to a non-existent one, but it still seems to think that there was a purchase. Is there any documentation on how to do normal purchase / receipt validation for paid apps using AppTransaction? I only found in-app related docs :'(
7
0
684
Nov ’24
Huge spikes in units/downloads within a single hour
Hi all, I am wondering if anyone else is seeing this and if there is an explanation, or if this is something one should report to apple... For a while now I have seen huge, increasing spikes in units/downloads of one of my free mac apps that happen within one hour from a single territory. This happens every couple of months and recently I had a spike of exactly 10k downloads in a single hour... This almost looks like some kind of DOS attack or something, but I don't know why someone would do that and it makes me worried that Apple will eventually think I am trying to fake the download stats of my own app or something like that... Other than it worrying me, it is kinda annoying that this spike screws up the whole graph in app store connect and makes the rest of the year look like a flat line. Any ideas on whom to contact or if this is an issue in the first place?
2
0
732
Apr ’24
App regularly getting rejected and then approved after appeal
Hi all, my mac app uses the "com.apple.security.temporary-exception.apple-events" entitlement. Originally the process was that one is allowed to use such an entitlement as long as one filed a bug to request a scripting target that would allow one to move away from it. Now, my app has been approved for years with that entitlement, but every 5th time or so I submit an update, my app gets rejected because I allegedly shouldn't use that entitlement. I then ask for clarification, repeating the statement about why i am using it, and then the app gets silently approved. Is there a better way to handle this? It is super annoying that every couple of updates I get this random delay and have to dispute stuff just to get my update through. The note for the entitlement already describes why I am using it, but it seems that some reviewers just ignore it and then, upon me repeating that note, the app gets approved... I would also be fine getting an official statement that Apple doesn't support my use of the entitlement anymore and I could communicate to my customers that this is why the feature will disappear in the app store version, but since my updates eventually get approved, the issue seems to be with the particular reviewer... Any ideas how to fix this? Thank you.
1
0
580
Jan ’24
Sending Email via AppleScript & Mail.app broken
A while back I tried to send an email from my app by calling an apple script. This worked well for a while, but since Apple Mail version 16.0 my message is always sent as "citation". So, in the style as if my original message was a message I replied to. This means that instead of having a message body saying "Hi you", the message generated by Apple Mail is "> Hi you". Does anyone here have similar issues? I filed a bug report (FB11734014) a year ago but it is still in "Open" and I am starting to wonder if AppleScript is still officially supported/taken serious by Apple?! Is there any other, recommended way of how to easily send an email from one's app? Thanks! The apple script that I use: tell application "Mail" set this_message to make new outgoing message at beginning of every outgoing message set content of this_message to "This is the body of the message" tell this_message make new to recipient at beginning of every to recipient ¬ with properties {address:"test@example.com"} end tell set subject of this_message to "The subject" send this_message end tell The email this generates looks like this: --Apple-Mail=_ADD491E8-EDEC-45CB-9F44-EF266087DB84 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=us-ascii > This is the body of the message --Apple-Mail=_ADD491E8-EDEC-45CB-9F44-EF266087DB84 Content-Transfer-Encoding: 7bit Content-Type: text/html; charset=us-ascii <html><head><meta http-equiv="content-type" content="text/html; charset=us-ascii"></head><body style="overflow-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;"><div class="Apple-Mail-URLShareUserContentTopClass"><br></div><div class="Apple-Mail-URLShareWrapperClass" style="position: relative !important;"><blockquote type="cite" style="border-left-style: none; color: inherit; padding: inherit; margin: inherit;"> This is the body of the message </blockquote></div></body></html> --Apple-Mail=_ADD491E8-EDEC-45CB-9F44-EF266087DB84--
2
2
1.1k
Oct ’23
How long does the review for the Contact Notes Entitlement take?
Hi, about three weeks ago I requested the Contact Notes Field Access Entitlement, so that my macOS app can continue to access notes under Ventura and later. Does anyone know how long it usually takes until the request is processed? It is about three weeks now and I am getting a bit nervous... For the request I filled out the form here: https://developer.apple.com/contact/request/contact-note-field I didn't get any email and only the "Thank you, don't call us, we will call you" style message on the forms website... Is that how it is supposed to work? Is there any way to track the request? Thanks!
1
0
1.1k
Apr ’23