Post

Replies

Boosts

Views

Activity

Reply to DMCC compliance: cancel a subscription from App Store Connect
Here's the legislation: https://www.legislation.gov.uk/ukpga/2024/13/contents In particular: https://www.legislation.gov.uk/ukpga/2024/13/part/4/chapter/2 The right to cancel by contacting the trader, rather than by contacting Apple, is indeed problematic. Even if Apple does implement something in App Store Connect that we can use to cancel a subscription, we have to send an "end of contract notice" within 24 hours or 3 working days. That makes taking a holiday risky! I expect that Apple probably will do something to comply, probably at the last minute.
Jul ’24
Reply to App store preview images other than screenshots
The relevant app review rules are: "2.3.3 Screenshots should show the app in use, and not merely the title art, login page, or splash screen. They may also include text and image overlays (e.g. to demonstrate input mechanisms, such as an animated touch point or Apple Pencil) and show extended functionality on device, such as Touch Bar." and "2.3.7 ... Metadata such as app names, subtitles, screenshots, and previews should not include prices, terms, or descriptions that are not specific to the metadata type." Did the rejection mention one or other of those? I have normally used plain screenshots. Sometimes I have attempted to add explanatory text but that has often been rejected based on 2.3.7; I wouldn't try to do that again.
Jul ’24
Reply to Any way to get arbitrary TIFF tags from a file?
Note that this forum would not let me mark up links above. Wow, it also wouldn't let me include the integers for the tile offsets and byte counts in the dump above, saying there was inappropriate language in the post. I had to bisect it and update it multiple times to track down the specific language, as it would not say what it didn't like. Apparently it doesn't like strings of integers Apparently strings of digits look like phone numbers and are rejected. I believe this is how they stop p r o s t i t u t e s from advertising on the forum. As you can see, Apple have more important things to work on than GeoTIFF!
Topic: Media Technologies SubTopic: General Tags:
Jul ’24
Reply to What is the recommended way to count files recursively in a specific folder
Yes I believe you need to recursively descend through the directory tree. So you need to read each directory, determine which of the directory entries are sub-directories, and visit those. This boils down to readdir and stat. I am aware of one possible optimisation, if you want to squeeze the last bit of performance. In order to determine whether a directory entry is a sub-directory, rather than a regular file, in general you need to stat it. But, when you stated the parent directory you got st_nlink, which tells you the number of hard links to that directory. Each directory's .. entry counts as a hard link to its parent directory, and its . entry is a hard link to itself. So if st_nlink is 4, then the directory can have at most 3 subdirectories. So you can enumerate the directory contents, checking if each entry is a subdirectory, until you have found 3. At that point you can stop stating everything - the remaining entries must be non-directories. This is classic UNIX stuff that has worked since forever. It's not impossible that new Apple filesystems have alternative APIs that make this more efficient. Maybe someone else will comment. I don't know where the bottleneck is - is it the disk access speed? - is it the number of kernel calls? Things you need to consider if you want a robust implementation: Hard links Symlinks Hard or symbolic links that introduce cycles Other special directory entries Mount points Whether to include . and .. and other dotfiles in your count Unreadable (and unexecutable) directories Personally, I'd do something like this: auto count_files(std::filesystem::path p) { int n_files = 0; for (auto& entry: std::filesystem::recursive_directory_iterator(p)) { if (is_regular_file(entry)) ++n_files; } return n_files; }
Topic: App & System Services SubTopic: Core OS Tags:
Jul ’24
Reply to Discrepancies for payment Period 9 (June 2-29) August 1st payment
Did you have a spike of “institutional” or similarly unusual downloads at some point during the month?
Replies
Boosts
Views
Activity
Aug ’24
Reply to App Removal and Account Termination
Is this really how the App Store works - you can lose your time and money without a clear understanding of the problem ? Based on the many posts here like yours, Yes.
Replies
Boosts
Views
Activity
Jul ’24
Reply to Block subscription purchases for Testflight releases - Allowed for App Review?
I fear that your users' existing "real" subscriptions will not be seen in the TestFlight version, but I could be wrong about that. You don't need to worry about app review.
Replies
Boosts
Views
Activity
Jul ’24
Reply to How is an iOS app on the App Store able to detect other apps?!?!
The client then told us to download SpyBuster (on the App Store) which somehow is collecting a list of Bundle IDs or names of all installed apps somehow. That clearly shouldn't have passed App Review, and perfectly demonstrates how amazingly useless App Review is.
Topic: Privacy & Security SubTopic: General Tags:
Replies
Boosts
Views
Activity
Jul ’24
Reply to Does SubscriptionStoreView .storeButton(for:.policies) work?
Thanks for the reply. I think you need to specify a destination view as well… I didn't need to do that; I just needed to add the URLs.
Topic: App & System Services SubTopic: StoreKit Tags:
Replies
Boosts
Views
Activity
Jul ’24
Reply to Search Ads website "download CSV" now downloads a XLSX
They have now fixed this. In case anyone else ever finds bugs in the Search Ads website, don't bother filing bug reports in Feedback Assistant. Contact them using the "contact us" button at the bottom of each Search Ads web page.
Replies
Boosts
Views
Activity
Jul ’24
Reply to DMCC compliance: cancel a subscription from App Store Connect
Here's the legislation: https://www.legislation.gov.uk/ukpga/2024/13/contents In particular: https://www.legislation.gov.uk/ukpga/2024/13/part/4/chapter/2 The right to cancel by contacting the trader, rather than by contacting Apple, is indeed problematic. Even if Apple does implement something in App Store Connect that we can use to cancel a subscription, we have to send an "end of contract notice" within 24 hours or 3 working days. That makes taking a holiday risky! I expect that Apple probably will do something to comply, probably at the last minute.
Replies
Boosts
Views
Activity
Jul ’24
Reply to The customer requested a pen-test for this app, and they reported some issues related to buffer overflow and weak randomness functions
They have wasted their money on this so-called pen-test. Suggestion: find out how much they paid, and you charge them twice that much to write your own report explaining how your use of malloc(), random() etc. is actually safe.
Topic: Privacy & Security SubTopic: General Tags:
Replies
Boosts
Views
Activity
Jul ’24
Reply to App store preview images other than screenshots
The relevant app review rules are: "2.3.3 Screenshots should show the app in use, and not merely the title art, login page, or splash screen. They may also include text and image overlays (e.g. to demonstrate input mechanisms, such as an animated touch point or Apple Pencil) and show extended functionality on device, such as Touch Bar." and "2.3.7 ... Metadata such as app names, subtitles, screenshots, and previews should not include prices, terms, or descriptions that are not specific to the metadata type." Did the rejection mention one or other of those? I have normally used plain screenshots. Sometimes I have attempted to add explanatory text but that has often been rejected based on 2.3.7; I wouldn't try to do that again.
Replies
Boosts
Views
Activity
Jul ’24
Reply to App preapproval?
No.
Replies
Boosts
Views
Activity
Jul ’24
Reply to Any way to get arbitrary TIFF tags from a file?
You might think that, but you‘d be wrong I might think that, because I've done it.
Topic: Media Technologies SubTopic: General Tags:
Replies
Boosts
Views
Activity
Jul ’24
Reply to Any way to get arbitrary TIFF tags from a file?
Note that this forum would not let me mark up links above. Wow, it also wouldn't let me include the integers for the tile offsets and byte counts in the dump above, saying there was inappropriate language in the post. I had to bisect it and update it multiple times to track down the specific language, as it would not say what it didn't like. Apparently it doesn't like strings of integers Apparently strings of digits look like phone numbers and are rejected. I believe this is how they stop p r o s t i t u t e s from advertising on the forum. As you can see, Apple have more important things to work on than GeoTIFF!
Topic: Media Technologies SubTopic: General Tags:
Replies
Boosts
Views
Activity
Jul ’24
Reply to Any way to get arbitrary TIFF tags from a file?
It seems that there’s still no way to get all TIFF tags from a TIFF image, is that right? It’s easy enough to do this yourself using libtiff and/or libgeotiff. You don’t need this to be in Apple’s image decoding APIs.
Topic: Media Technologies SubTopic: General Tags:
Replies
Boosts
Views
Activity
Jul ’24
Reply to What is the recommended way to count files recursively in a specific folder
Yes I believe you need to recursively descend through the directory tree. So you need to read each directory, determine which of the directory entries are sub-directories, and visit those. This boils down to readdir and stat. I am aware of one possible optimisation, if you want to squeeze the last bit of performance. In order to determine whether a directory entry is a sub-directory, rather than a regular file, in general you need to stat it. But, when you stated the parent directory you got st_nlink, which tells you the number of hard links to that directory. Each directory's .. entry counts as a hard link to its parent directory, and its . entry is a hard link to itself. So if st_nlink is 4, then the directory can have at most 3 subdirectories. So you can enumerate the directory contents, checking if each entry is a subdirectory, until you have found 3. At that point you can stop stating everything - the remaining entries must be non-directories. This is classic UNIX stuff that has worked since forever. It's not impossible that new Apple filesystems have alternative APIs that make this more efficient. Maybe someone else will comment. I don't know where the bottleneck is - is it the disk access speed? - is it the number of kernel calls? Things you need to consider if you want a robust implementation: Hard links Symlinks Hard or symbolic links that introduce cycles Other special directory entries Mount points Whether to include . and .. and other dotfiles in your count Unreadable (and unexecutable) directories Personally, I'd do something like this: auto count_files(std::filesystem::path p) { int n_files = 0; for (auto& entry: std::filesystem::recursive_directory_iterator(p)) { if (is_regular_file(entry)) ++n_files; } return n_files; }
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Jul ’24
Reply to App Stuck in `Ready For Distribution`
I have an app that is stuck in Ready For Distribution "Ready for Distribution" is apple-speak for "Live On The App Store, Customers Can Buy It Right Now". That's the state shown for all my released apps right now. There isn't a "Distribute" button. (Have I misunderstood your question?)
Replies
Boosts
Views
Activity
Jul ’24