Search results for

“A Summary of the WWDC26 Group Lab”

10,964 results found

Post

Replies

Boosts

Views

Activity

Apple Pay - errors in AuthorizationViewController, Questions on payment Summary
If I only have one product item in Apple Pay, how would I detect a total? My app is a donation platform, so I don't need to actually ship anything, but would like contact info. I have a number of errors that I have tried to figure out to debug to no avail. Any help is appreciated.Also I keep getting this error (this was the same as the sample code given from WWDC).This is in my BuyTicketViewController.swift file. if PKPaymentAuthorizationViewController.canMakePaymentsUsingNetworks(BuyTicketViewController.paymentNetworks) { let button = PKPaymentButton(type: .Buy, style,: .Black) button.addTarget(self, action: applePayButtonPressed, forControlEvents: .TouchUpInside) button.center = applePayView.center button.autoresizingMask = [.FlexibleLeftMargin, .FlexibleRightMarin] applePayView.addSubview(button) } }The error says 'expected declaration.'The sample says to use else (for traditional checkout). When I put that it, it breaks the rest of my code and I get lots of errors.line 8 - eror on MerchantIDline 9 - error
0
0
1.2k
Sep ’15
One introductory offer on two subscription groups.
Hi everyone! I have two subscription groups (Small Package, Large Package) each with two subscriptions (Monthly, Annual). I want to offer two months free to each new user (i.e. a user that never had ANY Subscription). Do you know if/how can I do that? Options considered up to now that are not working: duplicate each subscription (i.e. monthly, monthly_freetier, annual, annual_freetier). However, even if in my application I display either only the freetier or only the other ones, the user sees all 4 in the apple store Set up an Introductory offer on every subscription (works as desired within the same group, but not across different groups) Do you have any suggestion? PS. I am using revenuecat to retrieve the user purchase history.
0
0
314
Nov ’24
Widget Configuration Search with group headers...
I am working on a widget that allows the user to specify a list of items. Each item is an AppEntity and has an id, a type and a name. In the DisplayRepresentation I have and icon / image for each type. So when I tap on the specified items option a list of user specified items comes up with the option to search, select, deselect items. This works nicely. I sort them suggested entities by type then name so the list is predictable. How would like to be able to have a group / type header for each type of item. However, I don't know how to do that with the AppEntities. Help would be appreciated. I noticed that HomeKit takes a different approach. They have a list of items at the bottom labeled Choose Scene Or Accessory. You can move the items up / down in the list, you can delete, and add items. When you tap Add an item in the list it goes to a search screen where the items are grouped by the room and have the individual items beneath them. I don't like that you have to select one item at a time b
1
0
155
Jun ’25
AppleScript App entitlement when access-group identifier="*"
I am developing a Mac app that makes use of App Scripting. The is Sandboxed and thus needs the proper entitlements in order to get permissions to send AppleScript events to other apps. I have gotten this working properly for apps (like Mail and spotify) which specify access-group identifiers like this:<access-group identifier=com.apple.mail.compose access=rw/> <access-group identifier=com.spotify.playback/>However, a few other of the Apple made apps (like Xcode) specify their identifiers like this:<access-group identifier=*/>I have tried to configure my entitlement file like this:<key>com.apple.security.scripting-targets</key> <dict> <key>com.apple.dt.Xcode</key> <array> <string>*</string> </array> </dict>, but when doing this it does not work and I get this error message in the console:AppleEvents/sandbox: Returning errAEPrivilegeError/-10004 and denying dispatch of event xcod/buld from process '
1
0
1.4k
Mar ’17
Find the name of a CNContact's group (CNGroupName)
So I only recently uncovered the Contacts Framework through this video: https://youtu.be/sHKir2ZMk5Q. As such I'm not yet accustomed to the API. Basically my main problem is that I can't seem to find a way to access the name of the group a CNContact is in. The only support I can find is in Apple's own documentation, which isn't very helpful. if someone could point me in the right direction towards how to print the group name, I would be very grateful. My code is below, Cheers // ModelData.swift // B-Day import Foundation import Contacts import SwiftUI struct Contact: Identifiable { let id = UUID() let category: String let firstName: String let lastName: String let birthday: DateComponents? } func fetchAllContacts() async -> [Contact] { var contacts = [Contact]() let store = CNContactStore() let keys = [CNContactGivenNameKey, CNContactFamilyNameKey, CNContactBirthdayKey, CNContactIdentifierKey, CNGroupNameKey] as [CNKeyDescriptor] let fetchRequest = CNContactFetchRequest (keysToFetch: keys
1
0
1.1k
Aug ’23
If I delete the App Group Does it affects live uses?
I recently changed my developer account from account A to account B. I have successfully transferred my applications. With transfer of applications my app group was not migrated. Question - Can I deleted the app group from account A and recreate it in account B with the exact same identifier. If means does it affects the live users. Which means does the live user can able to use our application without any data loss(Logout)
1
0
1.1k
Sep ’21
iOS subscription: First purchase never triggers server notifications for a new Subscription Group
Hello, I’m experiencing a strange issue with a newly created Subscription Group in my iOS app. For all my existing subscription groups, everything works perfectly — initial purchase, renewals, cancellations, all notifications arrive normally. But for this one newly created group, the first purchase never triggers any server notification from App Store Server Notifications (ASSN). ⸻ 📘 Problem Summary • I created a new Subscription Group in App Store Connect. • The products are all Approved and Published for over a week. • Users can successfully purchase the subscription in production. • The purchase is shown as Purchased in the App Store purchase UI. • The receipt can be fetched locally on device. • But my server receives no notifications, including: • DID_RENEW • DID_CHANGE_RENEWAL_STATUS • SUBSCRIBED • ONE_TIME_CHARGE • CONSUMPTION_REQUEST • etc. The old subscription groups still send notifications normally, so the notification URL and server infrastruct
0
0
127
Dec ’25
Reply to Error while starting a playground: UNCAUGHT EXCEPTION (NSInvalidArgumentException)
The thing is that my xcode won't even open the code. What I do is: I am in Finder with all these student materials. I open the playground Student Resources/2 - Introduction to UIKit/6 - Loops/lab/Lab - Loops.playground. I can see on the top left that Xcode opens Xcode immediately closes and I am back in Finder Within 30 seconds or so I am getting given error So I don't even have a chance to do anything with the code since Xcode closes immediately. Do you think that another version of Xcode would help?
Sep ’20
Reply to How often can people leave ratings on the App Store?
I'm pretty sure it's forever (unless deleted), but you have the option of resetting - https://developer.apple.com/app-store/ratings-and-reviews/ the summary rating: Individual ratings inform your app’s summary rating, which is displayed on your product page and in search results. This summary rating is specific to each territory on the App Store and you can reset it when you release a new version of your app. However, we recommend using this feature sparingly; while resetting the summary rating can ensure that it reflects the most current version of your app — useful if an update addresses users’ previous concerns — having few ratings may discourage potential users from downloading your app. The summary rating is the 5 stars shown next to your app's title on the App Store. 2. People can only leave reviews once (It's tied to your Apple ID). To delete reviews, you can flag inappropriate ones for Apple to remove. Users can also delete their own reviews.
Jun ’20
Get all Products for in a subscription group
If I use SubscriptionStoreView.init(groupID), it seems to be able to look up all the Products that have that subscription group ID. But I don't see any public method for doing that myself. Am I missing something, or is SubscriptionStoreView using a private method to do this lookup? I know that historically it has always been necessary to know the product IDs of all the products you want to sell; you have never been able to ask Store Kit to give you a list. SubscriptionStoreView doesn't seem to have this limitation, which is a bit surprising.
0
0
740
Feb ’24
Apple Pay - errors in AuthorizationViewController, Questions on payment Summary
If I only have one product item in Apple Pay, how would I detect a total? My app is a donation platform, so I don't need to actually ship anything, but would like contact info. I have a number of errors that I have tried to figure out to debug to no avail. Any help is appreciated.Also I keep getting this error (this was the same as the sample code given from WWDC).This is in my BuyTicketViewController.swift file. if PKPaymentAuthorizationViewController.canMakePaymentsUsingNetworks(BuyTicketViewController.paymentNetworks) { let button = PKPaymentButton(type: .Buy, style,: .Black) button.addTarget(self, action: applePayButtonPressed, forControlEvents: .TouchUpInside) button.center = applePayView.center button.autoresizingMask = [.FlexibleLeftMargin, .FlexibleRightMarin] applePayView.addSubview(button) } }The error says 'expected declaration.'The sample says to use else (for traditional checkout). When I put that it, it breaks the rest of my code and I get lots of errors.line 8 - eror on MerchantIDline 9 - error
Replies
0
Boosts
0
Views
1.2k
Activity
Sep ’15
Reply to Provisioning Profile Failed Qualification Doesn't Match Entitlements
I solved it. I'll post a summary tomorrow.
Replies
Boosts
Views
Activity
Oct ’24
One introductory offer on two subscription groups.
Hi everyone! I have two subscription groups (Small Package, Large Package) each with two subscriptions (Monthly, Annual). I want to offer two months free to each new user (i.e. a user that never had ANY Subscription). Do you know if/how can I do that? Options considered up to now that are not working: duplicate each subscription (i.e. monthly, monthly_freetier, annual, annual_freetier). However, even if in my application I display either only the freetier or only the other ones, the user sees all 4 in the apple store Set up an Introductory offer on every subscription (works as desired within the same group, but not across different groups) Do you have any suggestion? PS. I am using revenuecat to retrieve the user purchase history.
Replies
0
Boosts
0
Views
314
Activity
Nov ’24
Group Activities for non-paid developer account?
Is it not possible to test Group Activities without a paid developer account? I don't see Group Activities in Signing & Capabilities in Xcode. I'm looking to try adding support for my app but unable to try this myself and just seeing if I need a paid developer account to do so?
Replies
2
Boosts
0
Views
1.6k
Activity
Apr ’23
Widget Configuration Search with group headers...
I am working on a widget that allows the user to specify a list of items. Each item is an AppEntity and has an id, a type and a name. In the DisplayRepresentation I have and icon / image for each type. So when I tap on the specified items option a list of user specified items comes up with the option to search, select, deselect items. This works nicely. I sort them suggested entities by type then name so the list is predictable. How would like to be able to have a group / type header for each type of item. However, I don't know how to do that with the AppEntities. Help would be appreciated. I noticed that HomeKit takes a different approach. They have a list of items at the bottom labeled Choose Scene Or Accessory. You can move the items up / down in the list, you can delete, and add items. When you tap Add an item in the list it goes to a search screen where the items are grouped by the room and have the individual items beneath them. I don't like that you have to select one item at a time b
Replies
1
Boosts
0
Views
155
Activity
Jun ’25
AppleScript App entitlement when access-group identifier="*"
I am developing a Mac app that makes use of App Scripting. The is Sandboxed and thus needs the proper entitlements in order to get permissions to send AppleScript events to other apps. I have gotten this working properly for apps (like Mail and spotify) which specify access-group identifiers like this:<access-group identifier=com.apple.mail.compose access=rw/> <access-group identifier=com.spotify.playback/>However, a few other of the Apple made apps (like Xcode) specify their identifiers like this:<access-group identifier=*/>I have tried to configure my entitlement file like this:<key>com.apple.security.scripting-targets</key> <dict> <key>com.apple.dt.Xcode</key> <array> <string>*</string> </array> </dict>, but when doing this it does not work and I get this error message in the console:AppleEvents/sandbox: Returning errAEPrivilegeError/-10004 and denying dispatch of event xcod/buld from process '
Replies
1
Boosts
0
Views
1.4k
Activity
Mar ’17
Find the name of a CNContact's group (CNGroupName)
So I only recently uncovered the Contacts Framework through this video: https://youtu.be/sHKir2ZMk5Q. As such I'm not yet accustomed to the API. Basically my main problem is that I can't seem to find a way to access the name of the group a CNContact is in. The only support I can find is in Apple's own documentation, which isn't very helpful. if someone could point me in the right direction towards how to print the group name, I would be very grateful. My code is below, Cheers // ModelData.swift // B-Day import Foundation import Contacts import SwiftUI struct Contact: Identifiable { let id = UUID() let category: String let firstName: String let lastName: String let birthday: DateComponents? } func fetchAllContacts() async -> [Contact] { var contacts = [Contact]() let store = CNContactStore() let keys = [CNContactGivenNameKey, CNContactFamilyNameKey, CNContactBirthdayKey, CNContactIdentifierKey, CNGroupNameKey] as [CNKeyDescriptor] let fetchRequest = CNContactFetchRequest (keysToFetch: keys
Replies
1
Boosts
0
Views
1.1k
Activity
Aug ’23
If I delete the App Group Does it affects live uses?
I recently changed my developer account from account A to account B. I have successfully transferred my applications. With transfer of applications my app group was not migrated. Question - Can I deleted the app group from account A and recreate it in account B with the exact same identifier. If means does it affects the live users. Which means does the live user can able to use our application without any data loss(Logout)
Replies
1
Boosts
0
Views
1.1k
Activity
Sep ’21
Reply to SwiftUI - integrating with SceneKit
This is awesome! : ) No lab for SceneKit This year? How can I get more examples, on how to interact SwiftUI with SceneKit? Like for example touching and change texture of a model?
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Jun ’20
iOS subscription: First purchase never triggers server notifications for a new Subscription Group
Hello, I’m experiencing a strange issue with a newly created Subscription Group in my iOS app. For all my existing subscription groups, everything works perfectly — initial purchase, renewals, cancellations, all notifications arrive normally. But for this one newly created group, the first purchase never triggers any server notification from App Store Server Notifications (ASSN). ⸻ 📘 Problem Summary • I created a new Subscription Group in App Store Connect. • The products are all Approved and Published for over a week. • Users can successfully purchase the subscription in production. • The purchase is shown as Purchased in the App Store purchase UI. • The receipt can be fetched locally on device. • But my server receives no notifications, including: • DID_RENEW • DID_CHANGE_RENEWAL_STATUS • SUBSCRIBED • ONE_TIME_CHARGE • CONSUMPTION_REQUEST • etc. The old subscription groups still send notifications normally, so the notification URL and server infrastruct
Replies
0
Boosts
0
Views
127
Activity
Dec ’25
Reply to Error while starting a playground: UNCAUGHT EXCEPTION (NSInvalidArgumentException)
The thing is that my xcode won't even open the code. What I do is: I am in Finder with all these student materials. I open the playground Student Resources/2 - Introduction to UIKit/6 - Loops/lab/Lab - Loops.playground. I can see on the top left that Xcode opens Xcode immediately closes and I am back in Finder Within 30 seconds or so I am getting given error So I don't even have a chance to do anything with the code since Xcode closes immediately. Do you think that another version of Xcode would help?
Replies
Boosts
Views
Activity
Sep ’20
Reply to timer triggers with recurrence on business days
From what I heard in the HomeKit labs at WWDC, you should file an ehnancement request for this. There's no public API to do that (yet?). Please do, the more duplicates the better.
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
Jun ’16
Reply to How often can people leave ratings on the App Store?
I'm pretty sure it's forever (unless deleted), but you have the option of resetting - https://developer.apple.com/app-store/ratings-and-reviews/ the summary rating: Individual ratings inform your app’s summary rating, which is displayed on your product page and in search results. This summary rating is specific to each territory on the App Store and you can reset it when you release a new version of your app. However, we recommend using this feature sparingly; while resetting the summary rating can ensure that it reflects the most current version of your app — useful if an update addresses users’ previous concerns — having few ratings may discourage potential users from downloading your app. The summary rating is the 5 stars shown next to your app's title on the App Store. 2. People can only leave reviews once (It's tied to your Apple ID). To delete reviews, you can flag inappropriate ones for Apple to remove. Users can also delete their own reviews.
Replies
Boosts
Views
Activity
Jun ’20
Setting Up Shared Data App Group
I was wondering what the best way of setting up an App Group with a subset of my data for display on the watch.My App was originally written with Core Data. Kelly
Replies
0
Boosts
0
Views
240
Activity
Jun ’15
Get all Products for in a subscription group
If I use SubscriptionStoreView.init(groupID), it seems to be able to look up all the Products that have that subscription group ID. But I don't see any public method for doing that myself. Am I missing something, or is SubscriptionStoreView using a private method to do this lookup? I know that historically it has always been necessary to know the product IDs of all the products you want to sell; you have never been able to ask Store Kit to give you a list. SubscriptionStoreView doesn't seem to have this limitation, which is a bit surprising.
Replies
0
Boosts
0
Views
740
Activity
Feb ’24