Post

Replies

Boosts

Views

Activity

Offer code redemption fails with "This promotional offer is not available" for non-consumable IAP
I'm trying to distribute one-time use offer codes for a non-consumable IAP, but every redemption attempt fails at the App Store with the error: Unable to Purchase This promotional offer is not available. My setup: the app is in Ready for Distribution state, the IAP is Non-Consumable and Approved, and the offer is a Free one-time use offer available in all 175 territories. I generated a batch of 500 production codes which are active and were created more than 24 hours ago. I've already ruled out the usual suspects: the app is installed from the public App Store (not TestFlight), the test Apple IDs have never purchased this IAP before, the storefront is included in the offer's territories, and the IAP works correctly when purchased at regular price. The error reproduces across multiple users, devices, and Apple IDs, and each failing code is still unredeemed. Has anyone successfully shipped non-consumable offer codes since the October 2025 rollout? Thanks!
4
1
137
1w
Drag Drop on macOS 13: Delay after dropping item
I'm working on an app supporting drag and dropping items from one to another collection. I begun developing under monterey using a dedicated DropDelegate with custom UTType. I just continued developing, now under ventura, and noticed that just after I drop an element, the element just stays there for about half a second and just gets non-transparent and suddenly disappears. I tried using the new draggable-modifier usign the Transferable Protocol, but this has the same problem. My question: Is this behaviour a new intended change? If yes, is there a way to change the disappear behaviour (like shrinking, moving to a specified place, transforming)? Best
1
0
782
Nov ’22
How to add HKQuantity to HKWorkout with WorkoutBuilder
At the moment I am working on a running app for the iPhone. One issue that I have is, that I am building the HKWorkout using the HKWorkoutBuilder according to Apples Documentation - https://developer.apple.com/documentation/healthkit/hkworkoutbuilder. But I am not able to associate the totalDistance with the workout – mentioned here in the Documentation - https://developer.apple.com/documentation/healthkit/workouts_and_activity_rings/adding_samples_to_a_workout. totalDistance is nil when I try to read it from the workout – no surprise. I think I miss something here. Thanks in advance.
3
0
1.4k
Sep ’22
Bad Resize Preformance macOS because of Stacks?
Hey, On my current project I have a vertical Scroll View with around 12 Items consisting of nested VStack and HStacks. I noticed that the performance of resizing the window is really bad, maybe because of rerendering of the nested Stacks. With one Element the performance is good but with more elements it drops really fast. I fixed the size of some Stacks and that helped a bit, but the performance is still really bad. Edit: It seems that this is a problem of a multiple forms inside the scrollView which gets resized by window resizing... SwiftUI seems to handle resize of a form / the inputs really bad. Is there a better practice of nested stacks or anything I can do? Best
1
0
608
Sep ’22
Offer code redemption fails with "This promotional offer is not available" for non-consumable IAP
I'm trying to distribute one-time use offer codes for a non-consumable IAP, but every redemption attempt fails at the App Store with the error: Unable to Purchase This promotional offer is not available. My setup: the app is in Ready for Distribution state, the IAP is Non-Consumable and Approved, and the offer is a Free one-time use offer available in all 175 territories. I generated a batch of 500 production codes which are active and were created more than 24 hours ago. I've already ruled out the usual suspects: the app is installed from the public App Store (not TestFlight), the test Apple IDs have never purchased this IAP before, the storefront is included in the offer's territories, and the IAP works correctly when purchased at regular price. The error reproduces across multiple users, devices, and Apple IDs, and each failing code is still unredeemed. Has anyone successfully shipped non-consumable offer codes since the October 2025 rollout? Thanks!
Replies
4
Boosts
1
Views
137
Activity
1w
Drag Drop on macOS 13: Delay after dropping item
I'm working on an app supporting drag and dropping items from one to another collection. I begun developing under monterey using a dedicated DropDelegate with custom UTType. I just continued developing, now under ventura, and noticed that just after I drop an element, the element just stays there for about half a second and just gets non-transparent and suddenly disappears. I tried using the new draggable-modifier usign the Transferable Protocol, but this has the same problem. My question: Is this behaviour a new intended change? If yes, is there a way to change the disappear behaviour (like shrinking, moving to a specified place, transforming)? Best
Replies
1
Boosts
0
Views
782
Activity
Nov ’22
implementing form behaviour in custom inputs
Hey there. I’m trying add a custom build input (like TextField) to a Form, archiving the same behaviour like native SwiftUI fields: All labels are aligned to the right. Is there such way to archive that with a HStack { Text("label") InputView() } ?
Replies
2
Boosts
0
Views
751
Activity
Oct ’22
How to add HKQuantity to HKWorkout with WorkoutBuilder
At the moment I am working on a running app for the iPhone. One issue that I have is, that I am building the HKWorkout using the HKWorkoutBuilder according to Apples Documentation - https://developer.apple.com/documentation/healthkit/hkworkoutbuilder. But I am not able to associate the totalDistance with the workout – mentioned here in the Documentation - https://developer.apple.com/documentation/healthkit/workouts_and_activity_rings/adding_samples_to_a_workout. totalDistance is nil when I try to read it from the workout – no surprise. I think I miss something here. Thanks in advance.
Replies
3
Boosts
0
Views
1.4k
Activity
Sep ’22
Bad Resize Preformance macOS because of Stacks?
Hey, On my current project I have a vertical Scroll View with around 12 Items consisting of nested VStack and HStacks. I noticed that the performance of resizing the window is really bad, maybe because of rerendering of the nested Stacks. With one Element the performance is good but with more elements it drops really fast. I fixed the size of some Stacks and that helped a bit, but the performance is still really bad. Edit: It seems that this is a problem of a multiple forms inside the scrollView which gets resized by window resizing... SwiftUI seems to handle resize of a form / the inputs really bad. Is there a better practice of nested stacks or anything I can do? Best
Replies
1
Boosts
0
Views
608
Activity
Sep ’22