Post

Replies

Boosts

Views

Activity

Reply to In-app purchase fails on Apple Silicon Mac
One user reported to me that he could not restore his purchases on the iOS app running on Mac (in Designed for iPad mode). After investigation, the issue is that even if the appStoreReceiptURL is correctly created, it has some permissions that makes it not readable by the app (nor the Finder). So dataWithContentsOfURL returns nil because the file cannot be accessed. Changing the files permissions manually (using setAttributes of the NSFileManager) for the receipt file seems to be a working workaround.
Topic: App & System Services SubTopic: StoreKit Tags:
May ’26
Reply to minimumScaleFactor for Text in widgets scales the text.
It only seems to appear with texts created with the .timer DateStyle . Bug can be seen with the following widget code. struct WidgetBugEntryView : View { var entry: Provider.Entry var body: some View { VStack { Text("Timer OK:") Text(entry.date, style: .timer) Text("Timer Bug:") Text(entry.date, style: .timer).minimumScaleFactor(0.3) Text("Emoji:") Text(entry.emoji) } } }
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Aug ’24
Reply to Server error on attempting to download sales reports
same problem. app AppSales cannot download sales report anymore. web data.ai cannot cannot download sales report anymore. on https://appstoreconnect.apple.com/trends/reports, the reports cannot be downloaded manually and it displays an error message. clicking on the contact us link from the web site error message leads to a broken page : https://itms6-appstoreconnect.apple.com//WebObjects/iTunesConnect.woa/wa/jumpTo?page=contactUs
Jul ’24
Reply to Library/Caches for app groups: automatically deleted when needed ?
Thank you! Just to be sure, can you confirm that you are talking about the directory for app groups created by appending "Library/Caches" to containerURL(forSecurityApplicationGroupIdentifier:) and not the NSCachesDirectory. I'm asking this, because : I don't see any mention of a "tmp" directory in containerURL(forSecurityApplicationGroupIdentifier:) the link you are referring to seems to talk about the app container and not the app groups container
Topic: App & System Services SubTopic: iCloud Tags:
Jun ’24
Reply to TSI request still unanswered after more than 3 weeks.
I have a couple of app bundles that have been waiting for review for about 10 days. App bundle review should be pretty straightforward, but I suspect this is something very low on their priority list, so I'm afraid the wait is not over. Indeed, they must be very busy with iOS17. If they fix at least one of the iOS17 related bugs I've submitted using the feedback assistant (from which I have no feedback), then they'll be forgiven :)
Sep ’23
Reply to How in interactive widgets in ios 17 to prevent the opening of the application by clicking on the widget?
I have the same problem with quick clicks in my widget: sometimes the app opens when the button is pressed. Strangely, I can't reproduce it with the Emoji Rangers sample code from Apple (you should try if it's the same for you). I don't understand why, as I have tried to display the same content in my app as the Emoji Rangers one, but I still have the problem. I'm speculating here, but maybe the button click is ignored when the timeline provider loads the updated data, but the widget still responds to the clicks to open the app.
Topic: App & System Services SubTopic: Core OS Tags:
Aug ’23
Reply to In-app purchase fails on Apple Silicon Mac
One user reported to me that he could not restore his purchases on the iOS app running on Mac (in Designed for iPad mode). After investigation, the issue is that even if the appStoreReceiptURL is correctly created, it has some permissions that makes it not readable by the app (nor the Finder). So dataWithContentsOfURL returns nil because the file cannot be accessed. Changing the files permissions manually (using setAttributes of the NSFileManager) for the receipt file seems to be a working workaround.
Topic: App & System Services SubTopic: StoreKit Tags:
Replies
Boosts
Views
Activity
May ’26
Reply to minimumScaleFactor for Text in widgets scales the text.
It only seems to appear with texts created with the .timer DateStyle . Bug can be seen with the following widget code. struct WidgetBugEntryView : View { var entry: Provider.Entry var body: some View { VStack { Text("Timer OK:") Text(entry.date, style: .timer) Text("Timer Bug:") Text(entry.date, style: .timer).minimumScaleFactor(0.3) Text("Emoji:") Text(entry.emoji) } } }
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Aug ’24
Reply to Server error on attempting to download sales reports
same problem. app AppSales cannot download sales report anymore. web data.ai cannot cannot download sales report anymore. on https://appstoreconnect.apple.com/trends/reports, the reports cannot be downloaded manually and it displays an error message. clicking on the contact us link from the web site error message leads to a broken page : https://itms6-appstoreconnect.apple.com//WebObjects/iTunesConnect.woa/wa/jumpTo?page=contactUs
Replies
Boosts
Views
Activity
Jul ’24
Reply to Library/Caches for app groups: automatically deleted when needed ?
Thank you! Just to be sure, can you confirm that you are talking about the directory for app groups created by appending "Library/Caches" to containerURL(forSecurityApplicationGroupIdentifier:) and not the NSCachesDirectory. I'm asking this, because : I don't see any mention of a "tmp" directory in containerURL(forSecurityApplicationGroupIdentifier:) the link you are referring to seems to talk about the app container and not the app groups container
Topic: App & System Services SubTopic: iCloud Tags:
Replies
Boosts
Views
Activity
Jun ’24
Reply to TSI request still unanswered after more than 3 weeks.
I have a couple of app bundles that have been waiting for review for about 10 days. App bundle review should be pretty straightforward, but I suspect this is something very low on their priority list, so I'm afraid the wait is not over. Indeed, they must be very busy with iOS17. If they fix at least one of the iOS17 related bugs I've submitted using the feedback assistant (from which I have no feedback), then they'll be forgiven :)
Replies
Boosts
Views
Activity
Sep ’23
Reply to Interactive Widget (iOS 17) reload timeline on interaction
An 'easy' fix for this would be to base your seed (used by getRandom) on the current hour (more precisely, the time when your widget is not being refreshed). That way, if your timeline is refreshed during the period when your displayed data should be the same, then your randomly returned object will always be the same.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Aug ’23
Reply to How in interactive widgets in ios 17 to prevent the opening of the application by clicking on the widget?
I have the same problem with quick clicks in my widget: sometimes the app opens when the button is pressed. Strangely, I can't reproduce it with the Emoji Rangers sample code from Apple (you should try if it's the same for you). I don't understand why, as I have tried to display the same content in my app as the Emoji Rangers one, but I still have the problem. I'm speculating here, but maybe the button click is ignored when the timeline provider loads the updated data, but the widget still responds to the clicks to open the app.
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Aug ’23