Search results for

“A Summary of the WWDC25 Group Lab”

11,534 results found

Post

Replies

Boosts

Views

Activity

How to create logical groups inside a context menu.
I want to create logical groups inside my Finder Extension context Menu.http://stackoverflow.com/questions/42537343/how-to-create-logical-groups-inside-a-context-menu-mac-os/42541596?noredirect=1#comment72302097_42541596The discussion on the aforementioned StackOverflow thread suggests that the[NSMenuItem separatorItem]behaves inconsistently for me and another user. While for me it creates a blank space, for the other user it draws a horizontal line between the menu items ( This is what i want to achieve).
1
0
699
Mar ’17
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
322
Nov ’24
Reply to Xcode Build Timing summary not visible
For people that come here looking for an answer... after invoking the build using the Product > Perform Action > Build with Timing Summary, once the build is done, select the build in the Report Navigator (⌘9) and then selecting Editor > Open Timeline. This will open the timing summary along side the build log. Note that as far as I know, the flag ShowBuildOperationDuration is only used for showing the duration of the build in the toolbar; it is not required to be set for the build timing summary.
Mar ’23
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
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
238
Jun ’25
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.2k
Aug ’23
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
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
App stuck in "Waiting for Review" since July 26, 2026 — Lab Escape
Hello, My app submission has been stuck in Waiting for Review since Sunday, July 26, 2026 (over 100 hours) and has not moved to In Review. There are no messages in the App Store Connect Resolution Center or requests for additional info. Here are the details of the submission: App Name: Lab Escape: Zombie Survival Apple ID: 6782424764 Platform: iOS Version: 1.0 (Build 1.0.0 (11)) Date Submitted: Sunday, Jul 26, 2026 at 10:05 AM Submission ID: 6b869be6-aa51-45d0-9b80-ffba4dd5ae8c Current Status: Waiting for Review This is the initial release of the app. All agreements, tax, and banking details are active, and metadata, export compliance, and age ratings are complete. Could someone please check if the submission is proceeding normally or if any action is required on my side? Thank you in advance!
1
0
344
Jul ’26
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.2k
Sep ’21
Reply to WWDC 2019: what to bring
There are three things:1) Sessions. Don't bother going to WWDC for sessions. That would be a waste of $6000. It is better to watch those from home. At least if you are at WWDC, you may be able to get early access to the session videos and can download them really fast at the conference. At home, you might have to wait a couple of days. You will need an iPad for the sessions in case you get bored or you want to write down questions to ask during the labs.2) Labs. This is why you spend the money. For whatever question you want to ask, you need your machine all setup and ready to go to demonstrate whatever you are asking about. The Apple engineers in the labs are super nice. They will tell you exactly what you need to do and, in some cases, even type it in for you. Even if there is some concept you don't quite understand, get a demo setup and ready to ask about. This is your chance to ask questions in person. Don't pass it up. Really, skip the sessions and go to the labs inste
May ’19
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
756
Feb ’24
How to create logical groups inside a context menu.
I want to create logical groups inside my Finder Extension context Menu.http://stackoverflow.com/questions/42537343/how-to-create-logical-groups-inside-a-context-menu-mac-os/42541596?noredirect=1#comment72302097_42541596The discussion on the aforementioned StackOverflow thread suggests that the[NSMenuItem separatorItem]behaves inconsistently for me and another user. While for me it creates a blank space, for the other user it draws a horizontal line between the menu items ( This is what i want to achieve).
Replies
1
Boosts
0
Views
699
Activity
Mar ’17
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
322
Activity
Nov ’24
Reply to Xcode Build Timing summary not visible
For people that come here looking for an answer... after invoking the build using the Product > Perform Action > Build with Timing Summary, once the build is done, select the build in the Report Navigator (⌘9) and then selecting Editor > Open Timeline. This will open the timing summary along side the build log. Note that as far as I know, the flag ShowBuildOperationDuration is only used for showing the duration of the build in the toolbar; it is not required to be set for the build timing summary.
Replies
Boosts
Views
Activity
Mar ’23
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.7k
Activity
Apr ’23
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
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
238
Activity
Jun ’25
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.2k
Activity
Aug ’23
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
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
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
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
App stuck in "Waiting for Review" since July 26, 2026 — Lab Escape
Hello, My app submission has been stuck in Waiting for Review since Sunday, July 26, 2026 (over 100 hours) and has not moved to In Review. There are no messages in the App Store Connect Resolution Center or requests for additional info. Here are the details of the submission: App Name: Lab Escape: Zombie Survival Apple ID: 6782424764 Platform: iOS Version: 1.0 (Build 1.0.0 (11)) Date Submitted: Sunday, Jul 26, 2026 at 10:05 AM Submission ID: 6b869be6-aa51-45d0-9b80-ffba4dd5ae8c Current Status: Waiting for Review This is the initial release of the app. All agreements, tax, and banking details are active, and metadata, export compliance, and age ratings are complete. Could someone please check if the submission is proceeding normally or if any action is required on my side? Thank you in advance!
Replies
1
Boosts
0
Views
344
Activity
Jul ’26
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.2k
Activity
Sep ’21
Reply to WWDC 2019: what to bring
There are three things:1) Sessions. Don't bother going to WWDC for sessions. That would be a waste of $6000. It is better to watch those from home. At least if you are at WWDC, you may be able to get early access to the session videos and can download them really fast at the conference. At home, you might have to wait a couple of days. You will need an iPad for the sessions in case you get bored or you want to write down questions to ask during the labs.2) Labs. This is why you spend the money. For whatever question you want to ask, you need your machine all setup and ready to go to demonstrate whatever you are asking about. The Apple engineers in the labs are super nice. They will tell you exactly what you need to do and, in some cases, even type it in for you. Even if there is some concept you don't quite understand, get a demo setup and ready to ask about. This is your chance to ask questions in person. Don't pass it up. Really, skip the sessions and go to the labs inste
Replies
Boosts
Views
Activity
May ’19
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
756
Activity
Feb ’24