Post

Replies

Boosts

Views

Activity

Beware: Missing "App Accessibility" Nutrition Label may prevent your app from showing up on the App Store
Hi, we made a strange discovery that might be helpful to other developers. This week, we released a universal app (Mac/iOS/iPadOS) on the App Store. Normally, when the app is "Ready for Distribution", it takes around 10 to 30 minutes to be available on the App Store using the direct url/link – but not this time. We waited 12 hours and the app was still not available using the direct link to our app. We noticed that in the "Pricing and Availability" section, it showed "175 (Countries) Processing" instead of the usual "175 (Countries) Available". Upon digging through the sections on App Store Connect, we noticed that we forgot to fill out the "App Accessibility" features. Upon filling out the "App Accessibility" features, the app went live a few minutes later and the "Pricing and Availability" section changed to "175 (Countries) Available" the same minute. There was no warning or indication of anything missing on App Store Connect. In case your app is "Ready for Distribution" and is not showing up on the App Store, please remember to check the "App Accessibility" section.
0
0
153
May ’26
Memory „Leak“ when using cpu+gpu
My app allows the user to select different stable diffusion models, and I noticed a very strange issue concerning memory management. When using the StableDiffusionPipeline (https://github.com/apple/ml-stable-diffusion) with cpu+gpu, around 1.5 GB of memory is not properly released after generateImages is called and the pipeline is released. When generating more images with a new StableDiffusionPipeline object, memory is reused and stays stable at around 1.5 GB after inference is complete. Everything, especially MLModels, are released properly. Guessing, MLModel seems to create a persistent cache. Here is the problem: When using a different MLModel afterwards, another 1.5 GB is not released and stays resident. Using a third model, this totales to 4.5 GB of unreleased, persistent memory. At first I thought that would be a bug in the StableDiffusionPipeline – but I was able to reproduce this behaviour in a very minimal objective-c sample without ARC: MLArrayBatchProvider *batchProvider = [[MLArrayBatchProvider alloc] initWithFeatureProviderArray:@[<VALID FEATURE PROVIDER>]]; MLModelConfiguration *config = [[MLModelConfiguration alloc] init]; config.computeUnits = MLComputeUnitsCPUAndGPU; MLModel *model = [[MLModel modelWithContentsOfURL:[NSURL fileURLWithPath:<VALID PATH TO .mlmodelc SD 1.5 FILE>] configuration:config error:&error] retain]; id<MLBatchProvider> returnProvider = [model predictionsFromBatch:batchProvider error:&error]; [model release]; [config release]; [batchProvider release]; After running this minimal code, 1.5 GB of persistent memory is present that is not released during the lifetime of the app. This only happens on macOS 14(.1) Sonoma and on iOS 17(.1), but not on macOS 13 Ventura. On Ventura, everything works as expected and the memory is released when predictionsFromBatch: is done and the model is released. Some observations: This only happens using cpu+gpu, not cpu+ane (since the memory is allocated out of process) and not using cpu-only It does not matter which stable diffusion model is used, I tried custom sd-derived models as well as the apple-provided sd 1.5 models I reproduced the issue on MBP 16" M1 Max with macOS 14.1, iPhone 12 mini with iOS 17.0.3 and iPad Pro M2 with iPadOS 17.1 The memory that "leaks" are mostly huge malloc block of 100-500 MB of size OR IOSurfaces This memory is allocated during predictionsFromBatch, not while loading the model Loading and unloading a model does not leak memory – only when predictionsFromBatch is called, the huge memory chunk is allocated and never freed during the lifetime of the app Does anybody have any clue what is going on? I highly suspect that I am missing something crucial, but my colleagues and me looked everywhere trying to find a method of releasing this leaked/cached memory.
2
0
1.4k
Nov ’23
"Mac" prefix as app name no longer allowed at the Mac App Store?
Hi!I am the lead developer of MacFamlyTree and we received a very strange rejection submitting a bugfix release. It seems we're no longer allowed to use "Mac" as the app name prefix:"Your app uses Mac in the app name in a manner that is not consistent with Apple's trademark guidelines. In regards to the 5.2.5 rejection, your app uses Mac in the app name in a manner that is not consistent with Apple's trademark guidelines. Indicating Mac compatibility in the app name is not necessary for the Mac App Store. It would be appropriate to remove the term “Mac” from the app’s name before resubmitting for review."It is really odd since Apple reviewed and approved an update of MacFamilyTree just 5 days prior to this rejection. Additionally, Apple is currently promoting MacFamilyTree big time on the Mac App Store front page. Looking at the trademark guidelines for the Mac Trademark, we're in full compliance to it.I see numerous apps and companies using the "Mac" prefix at the Mac or iOS App Store. Has anybody made a similar experience recently? Is this just an overzealous app reviewer or some kind of new guideline that is not yet published?
7
0
5.1k
Oct ’22
Beware: Missing "App Accessibility" Nutrition Label may prevent your app from showing up on the App Store
Hi, we made a strange discovery that might be helpful to other developers. This week, we released a universal app (Mac/iOS/iPadOS) on the App Store. Normally, when the app is "Ready for Distribution", it takes around 10 to 30 minutes to be available on the App Store using the direct url/link – but not this time. We waited 12 hours and the app was still not available using the direct link to our app. We noticed that in the "Pricing and Availability" section, it showed "175 (Countries) Processing" instead of the usual "175 (Countries) Available". Upon digging through the sections on App Store Connect, we noticed that we forgot to fill out the "App Accessibility" features. Upon filling out the "App Accessibility" features, the app went live a few minutes later and the "Pricing and Availability" section changed to "175 (Countries) Available" the same minute. There was no warning or indication of anything missing on App Store Connect. In case your app is "Ready for Distribution" and is not showing up on the App Store, please remember to check the "App Accessibility" section.
Replies
0
Boosts
0
Views
153
Activity
May ’26
Memory „Leak“ when using cpu+gpu
My app allows the user to select different stable diffusion models, and I noticed a very strange issue concerning memory management. When using the StableDiffusionPipeline (https://github.com/apple/ml-stable-diffusion) with cpu+gpu, around 1.5 GB of memory is not properly released after generateImages is called and the pipeline is released. When generating more images with a new StableDiffusionPipeline object, memory is reused and stays stable at around 1.5 GB after inference is complete. Everything, especially MLModels, are released properly. Guessing, MLModel seems to create a persistent cache. Here is the problem: When using a different MLModel afterwards, another 1.5 GB is not released and stays resident. Using a third model, this totales to 4.5 GB of unreleased, persistent memory. At first I thought that would be a bug in the StableDiffusionPipeline – but I was able to reproduce this behaviour in a very minimal objective-c sample without ARC: MLArrayBatchProvider *batchProvider = [[MLArrayBatchProvider alloc] initWithFeatureProviderArray:@[<VALID FEATURE PROVIDER>]]; MLModelConfiguration *config = [[MLModelConfiguration alloc] init]; config.computeUnits = MLComputeUnitsCPUAndGPU; MLModel *model = [[MLModel modelWithContentsOfURL:[NSURL fileURLWithPath:<VALID PATH TO .mlmodelc SD 1.5 FILE>] configuration:config error:&error] retain]; id<MLBatchProvider> returnProvider = [model predictionsFromBatch:batchProvider error:&error]; [model release]; [config release]; [batchProvider release]; After running this minimal code, 1.5 GB of persistent memory is present that is not released during the lifetime of the app. This only happens on macOS 14(.1) Sonoma and on iOS 17(.1), but not on macOS 13 Ventura. On Ventura, everything works as expected and the memory is released when predictionsFromBatch: is done and the model is released. Some observations: This only happens using cpu+gpu, not cpu+ane (since the memory is allocated out of process) and not using cpu-only It does not matter which stable diffusion model is used, I tried custom sd-derived models as well as the apple-provided sd 1.5 models I reproduced the issue on MBP 16" M1 Max with macOS 14.1, iPhone 12 mini with iOS 17.0.3 and iPad Pro M2 with iPadOS 17.1 The memory that "leaks" are mostly huge malloc block of 100-500 MB of size OR IOSurfaces This memory is allocated during predictionsFromBatch, not while loading the model Loading and unloading a model does not leak memory – only when predictionsFromBatch is called, the huge memory chunk is allocated and never freed during the lifetime of the app Does anybody have any clue what is going on? I highly suspect that I am missing something crucial, but my colleagues and me looked everywhere trying to find a method of releasing this leaked/cached memory.
Replies
2
Boosts
0
Views
1.4k
Activity
Nov ’23
"Mac" prefix as app name no longer allowed at the Mac App Store?
Hi!I am the lead developer of MacFamlyTree and we received a very strange rejection submitting a bugfix release. It seems we're no longer allowed to use "Mac" as the app name prefix:"Your app uses Mac in the app name in a manner that is not consistent with Apple's trademark guidelines. In regards to the 5.2.5 rejection, your app uses Mac in the app name in a manner that is not consistent with Apple's trademark guidelines. Indicating Mac compatibility in the app name is not necessary for the Mac App Store. It would be appropriate to remove the term “Mac” from the app’s name before resubmitting for review."It is really odd since Apple reviewed and approved an update of MacFamilyTree just 5 days prior to this rejection. Additionally, Apple is currently promoting MacFamilyTree big time on the Mac App Store front page. Looking at the trademark guidelines for the Mac Trademark, we're in full compliance to it.I see numerous apps and companies using the "Mac" prefix at the Mac or iOS App Store. Has anybody made a similar experience recently? Is this just an overzealous app reviewer or some kind of new guideline that is not yet published?
Replies
7
Boosts
0
Views
5.1k
Activity
Oct ’22